Package org.docx4j.wml
Class CTSdtDocPart
java.lang.Object
org.docx4j.wml.CTSdtDocPart
- All Implemented Interfaces:
Child
public class CTSdtDocPart extends java.lang.Object implements Child
Java class for CT_SdtDocPart complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_SdtDocPart">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="docPartGallery" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="docPartCategory" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="docPartUnique" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCTSdtDocPart.DocPartCategoryJava class for anonymous complex type.static classCTSdtDocPart.DocPartGalleryJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected CTSdtDocPart.DocPartCategorydocPartCategoryprotected CTSdtDocPart.DocPartGallerydocPartGalleryprotected BooleanDefaultTruedocPartUnique -
Constructor Summary
Constructors Constructor Description CTSdtDocPart() -
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.CTSdtDocPart.DocPartCategorygetDocPartCategory()Gets the value of the docPartCategory property.CTSdtDocPart.DocPartGallerygetDocPartGallery()Gets the value of the docPartGallery property.BooleanDefaultTruegetDocPartUnique()Gets the value of the docPartUnique property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.voidsetDocPartCategory(CTSdtDocPart.DocPartCategory value)Sets the value of the docPartCategory property.voidsetDocPartGallery(CTSdtDocPart.DocPartGallery value)Sets the value of the docPartGallery property.voidsetDocPartUnique(BooleanDefaultTrue value)Sets the value of the docPartUnique property.voidsetParent(java.lang.Object parent)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
docPartGallery
-
docPartCategory
-
docPartUnique
-
-
Constructor Details
-
CTSdtDocPart
public CTSdtDocPart()
-
-
Method Details
-
getDocPartGallery
Gets the value of the docPartGallery property.- Returns:
- possible object is
CTSdtDocPart.DocPartGallery
-
setDocPartGallery
Sets the value of the docPartGallery property.- Parameters:
value- allowed object isCTSdtDocPart.DocPartGallery
-
getDocPartCategory
Gets the value of the docPartCategory property.- Returns:
- possible object is
CTSdtDocPart.DocPartCategory
-
setDocPartCategory
Sets the value of the docPartCategory property.- Parameters:
value- allowed object isCTSdtDocPart.DocPartCategory
-
getDocPartUnique
Gets the value of the docPartUnique property.- Returns:
- possible object is
BooleanDefaultTrue
-
setDocPartUnique
Sets the value of the docPartUnique property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
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(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.
-