Class Comments.Comment
- All Implemented Interfaces:
Child
- Enclosing class:
- Comments
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TrackChange">
<sequence>
<group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_BlockLevelElts" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="initials" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsFields inherited from class org.docx4j.wml.CTTrackChange
author, date -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the content property.Deprecated.Gets the value of the initials property.voidsetInitials(String value) Sets the value of the initials property.Methods inherited from class org.docx4j.wml.CTTrackChange
getAuthor, getDate, setAuthor, setDate
-
Field Details
-
-
initials
-
-
Constructor Details
-
Comment
public Comment()
-
-
Method Details
-
getContent
Gets the value of the content property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the content property.For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<CTMarkupRange>JAXBElement<CTMarkup>JAXBElement<CTTrackChange>JAXBElement<CTTrackChange>RunInsPJAXBElement<CTPerm>JAXBElement<CTMoveBookmark>JAXBElement<RunTrackChange>ProofErrJAXBElement<CTTrackChange>JAXBElement<CTMoveFromRangeEnd>CommentRangeEndJAXBElement<CTTrackChange>JAXBElement<CTMarkup>RunDelJAXBElement<CTMoveToRangeEnd>SdtBlockJAXBElement<CTOMathPara>JAXBElement<CTMoveBookmark>JAXBElement<RangePermissionStart>CommentRangeStartJAXBElement<CTBookmark>JAXBElement<CTOMath>JAXBElement<CTCustomXmlBlock>JAXBElement<Tbl>JAXBElement<CTMarkup>JAXBElement<RunTrackChange>JAXBElement<CTMarkup>JAXBElement<CTAltChunk> -
getEGBlockLevelElts
Deprecated. -
getInitials
Gets the value of the initials property.- Returns:
- possible object is
String
-
setInitials
Sets the value of the initials property.- Parameters:
value- allowed object isString
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Overrides:
afterUnmarshalin classCTTrackChange- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-