public static class Comments.Comment extends CTTrackChange
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>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Object> |
content |
protected java.lang.String |
initials |
author, date| Constructor and Description |
|---|
Comment() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.util.List<java.lang.Object> |
getContent()
Gets the value of the content property.
|
java.util.List<java.lang.Object> |
getEGBlockLevelElts()
Deprecated.
|
java.lang.String |
getInitials()
Gets the value of the initials property.
|
void |
setInitials(java.lang.String value)
Sets the value of the initials property.
|
getAuthor, getDate, setAuthor, setDateprotected java.util.List<java.lang.Object> content
protected java.lang.String initials
public java.util.List<java.lang.Object> getContent()
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 set method 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>
RunIns
P
JAXBElement<CTPerm>
JAXBElement<CTMoveBookmark>
JAXBElement<RunTrackChange>
ProofErr
JAXBElement<CTTrackChange>
JAXBElement<CTMoveFromRangeEnd>
CommentRangeEnd
JAXBElement<CTTrackChange>
JAXBElement<CTMarkup>
RunDel
JAXBElement<CTMoveToRangeEnd>
SdtBlock
JAXBElement<CTOMathPara>
JAXBElement<CTMoveBookmark>
JAXBElement<RangePermissionStart>
CommentRangeStart
JAXBElement<CTBookmark>
JAXBElement<CTOMath>
JAXBElement<CTCustomXmlBlock>
JAXBElement<Tbl>
JAXBElement<CTMarkup>
JAXBElement<RunTrackChange>
JAXBElement<CTMarkup>
JAXBElement<CTAltChunk>
public java.util.List<java.lang.Object> getEGBlockLevelElts()
public java.lang.String getInitials()
Stringpublic void setInitials(java.lang.String value)
value - allowed object is
Stringpublic void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
afterUnmarshal in class CTTrackChangeparent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007–2025. All rights reserved.