Package org.docx4j.wml
Class SdtRun
java.lang.Object
org.docx4j.wml.SdtRun
- All Implemented Interfaces:
SdtElement,Child
public class SdtRun extends java.lang.Object implements SdtElement, Child
Java class for CT_SdtRun complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_SdtRun">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="sdtPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SdtPr" minOccurs="0"/>
<element name="sdtEndPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SdtEndPr" minOccurs="0"/>
<element name="sdtContent" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_SdtContentRun" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTSdtContentRunsdtContentprotected CTSdtEndPrsdtEndPrprotected SdtPrsdtPr -
Constructor Summary
Constructors Constructor Description SdtRun() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.SdtContentgetSdtContent()Gets the value of the sdtContent property.CTSdtEndPrgetSdtEndPr()Gets the value of the sdtEndPr property.SdtPrgetSdtPr()Gets the value of the sdtPr property.voidsetParent(java.lang.Object parent)voidsetSdtContent(SdtContent value)Sets the value of the sdtContent property.voidsetSdtEndPr(CTSdtEndPr value)Sets the value of the sdtEndPr property.voidsetSdtPr(SdtPr value)Sets the value of the sdtPr property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
sdtPr
-
sdtEndPr
-
sdtContent
-
-
Constructor Details
-
SdtRun
public SdtRun()
-
-
Method Details
-
getSdtPr
Gets the value of the sdtPr property.- Specified by:
getSdtPrin interfaceSdtElement- Returns:
- possible object is
SdtPr
-
setSdtPr
Sets the value of the sdtPr property.- Specified by:
setSdtPrin interfaceSdtElement- Parameters:
value- allowed object isSdtPr
-
getSdtEndPr
Gets the value of the sdtEndPr property.- Specified by:
getSdtEndPrin interfaceSdtElement- Returns:
- possible object is
CTSdtEndPr
-
setSdtEndPr
Sets the value of the sdtEndPr property.- Specified by:
setSdtEndPrin interfaceSdtElement- Parameters:
value- allowed object isCTSdtEndPr
-
getSdtContent
Gets the value of the sdtContent property.- Specified by:
getSdtContentin interfaceSdtElement- Returns:
- possible object is
CTSdtContentRun
-
setSdtContent
Sets the value of the sdtContent property.- Specified by:
setSdtContentin interfaceSdtElement- Parameters:
value- allowed object isCTSdtContentRun
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document.- Specified by:
getParentin interfaceChild- Specified by:
getParentin interfaceSdtElement- Returns:
- The parent object.
-
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.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.
-