Package org.pptx4j.pml
Class CTComment
java.lang.Object
org.pptx4j.pml.CTComment
- All Implemented Interfaces:
Child
public class CTComment extends java.lang.Object implements Child
Java class for CT_Comment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Comment">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="pos" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Point2D"/>
<element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_ExtensionListModify" minOccurs="0"/>
</sequence>
<attribute name="authorId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="dt" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
<attribute name="idx" use="required" type="{http://schemas.openxmlformats.org/presentationml/2006/main}ST_Index" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CTComment() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.longgetAuthorId()Gets the value of the authorId property.javax.xml.datatype.XMLGregorianCalendargetDt()Gets the value of the dt property.CTExtensionListModifygetExtLst()Gets the value of the extLst property.longgetIdx()Gets the value of the idx property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTPoint2DgetPos()Gets the value of the pos property.java.lang.StringgetText()Gets the value of the text property.voidsetAuthorId(long value)Sets the value of the authorId property.voidsetDt(javax.xml.datatype.XMLGregorianCalendar value)Sets the value of the dt property.voidsetExtLst(CTExtensionListModify value)Sets the value of the extLst property.voidsetIdx(long value)Sets the value of the idx property.voidsetParent(java.lang.Object parent)voidsetPos(CTPoint2D value)Sets the value of the pos property.voidsetText(java.lang.String value)Sets the value of the text property.
-
Field Details
-
Constructor Details
-
CTComment
public CTComment()
-
-
Method Details
-
getPos
Gets the value of the pos property.- Returns:
- possible object is
CTPoint2D
-
setPos
Sets the value of the pos property.- Parameters:
value- allowed object isCTPoint2D
-
getText
public java.lang.String getText()Gets the value of the text property.- Returns:
- possible object is
String
-
setText
public void setText(java.lang.String value)Sets the value of the text property.- Parameters:
value- allowed object isString
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTExtensionListModify
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTExtensionListModify
-
getAuthorId
public long getAuthorId()Gets the value of the authorId property. -
setAuthorId
public void setAuthorId(long value)Sets the value of the authorId property. -
getDt
public javax.xml.datatype.XMLGregorianCalendar getDt()Gets the value of the dt property.- Returns:
- possible object is
XMLGregorianCalendar
-
setDt
public void setDt(javax.xml.datatype.XMLGregorianCalendar value)Sets the value of the dt property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getIdx
public long getIdx()Gets the value of the idx property. -
setIdx
public void setIdx(long value)Sets the value of the idx property. -
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-