Package org.docx4j.wml
Class CTSdtDocPart
java.lang.Object
org.docx4j.wml.CTSdtDocPart
- All Implemented Interfaces:
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 ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CTSdtDocPart.DocPartCategoryprotected CTSdtDocPart.DocPartGalleryprotected BooleanDefaultTrue -
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 docPartCategory property.Gets the value of the docPartGallery property.Gets the value of the docPartUnique property.Gets the parent object in the object tree representing the unmarshalled xml document.voidSets the value of the docPartCategory property.voidSets the value of the docPartGallery property.voidSets the value of the docPartUnique property.void
-
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
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.
-