Class SdtContentBlock
- All Implemented Interfaces:
ContentAccessor,Child
Java class for CT_SdtContentBlock complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_SdtContentBlock">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_ContentBlockContent" maxOccurs="unbounded" minOccurs="0"/>
</restriction>
</complexContent>
</complexType>
or altChunk (added for 3.0.1)-
Field Summary
Fields -
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 parent object in the object tree representing the unmarshalled xml document.voidreplaceElement(Object current, List insertions) void
-
Field Details
-
-
Constructor Details
-
SdtContentBlock
public SdtContentBlock()
-
-
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<CTMoveBookmark>JAXBElement<CTPerm>RunInsPJAXBElement<RunTrackChange>JAXBElement<CTMarkup>ProofErrCommentRangeEndJAXBElement<CTTrackChange>RunDelJAXBElement<RunTrackChange>JAXBElement<CTCustomXmlBlock>SdtBlockJAXBElement<CTOMathPara>JAXBElement<CTMoveBookmark>JAXBElement<CTTrackChange>JAXBElement<CTTrackChange>JAXBElement<Tbl>JAXBElement<CTMoveFromRangeEnd>JAXBElement<CTBookmark>JAXBElement<CTMarkup>JAXBElement<CTMoveToRangeEnd>CommentRangeStartJAXBElement<CTMarkup>JAXBElement<CTMarkup>JAXBElement<RangePermissionStart>JAXBElement<CTOMath>JAXBElement<CTTrackChange>JAXBElement<CTMarkupRange>JAXBElement<CTAltChunk>// since 3.0.1- Specified by:
getContentin interfaceContentAccessor- Specified by:
getContentin classSdtContent- Since:
- 2.7
-
getEGContentBlockContent
Deprecated. -
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-
replaceElement
-