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>
 
  • Field Details

  • Constructor Details

    • CTSdtDocPart

      public CTSdtDocPart()
  • Method Details

    • getDocPartGallery

      public CTSdtDocPart.DocPartGallery getDocPartGallery()
      Gets the value of the docPartGallery property.
      Returns:
      possible object is CTSdtDocPart.DocPartGallery
    • setDocPartGallery

      public void setDocPartGallery​(CTSdtDocPart.DocPartGallery value)
      Sets the value of the docPartGallery property.
      Parameters:
      value - allowed object is CTSdtDocPart.DocPartGallery
    • getDocPartCategory

      public CTSdtDocPart.DocPartCategory getDocPartCategory()
      Gets the value of the docPartCategory property.
      Returns:
      possible object is CTSdtDocPart.DocPartCategory
    • setDocPartCategory

      public void setDocPartCategory​(CTSdtDocPart.DocPartCategory value)
      Sets the value of the docPartCategory property.
      Parameters:
      value - allowed object is CTSdtDocPart.DocPartCategory
    • getDocPartUnique

      public BooleanDefaultTrue getDocPartUnique()
      Gets the value of the docPartUnique property.
      Returns:
      possible object is BooleanDefaultTrue
    • setDocPartUnique

      public void setDocPartUnique​(BooleanDefaultTrue value)
      Sets the value of the docPartUnique property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.