Class CTDocType

java.lang.Object
org.docx4j.wml.CTDocType
All Implemented Interfaces:
Child

public class CTDocType extends Object implements Child

Java class for CT_DocType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_DocType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="val" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DocType" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTDocType

      public CTDocType()
  • Method Details

    • getVal

      public STDocType getVal()
      Gets the value of the val property.
      Returns:
      possible object is STDocType
    • setVal

      public void setVal(STDocType value)
      Sets the value of the val property.
      Parameters:
      value - allowed object is STDocType
    • getParent

      public 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(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.