Class DocDefaults

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

public class DocDefaults extends Object implements Child

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="rPrDefault" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="rPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_RPr" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="pPrDefault" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="pPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_PPr" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • DocDefaults

      public DocDefaults()
  • Method Details

    • getRPrDefault

      public DocDefaults.RPrDefault getRPrDefault()
      Gets the value of the rPrDefault property.
      Returns:
      possible object is DocDefaults.RPrDefault
    • setRPrDefault

      public void setRPrDefault(DocDefaults.RPrDefault value)
      Sets the value of the rPrDefault property.
      Parameters:
      value - allowed object is DocDefaults.RPrDefault
    • getPPrDefault

      public DocDefaults.PPrDefault getPPrDefault()
      Gets the value of the pPrDefault property.
      Returns:
      possible object is DocDefaults.PPrDefault
    • setPPrDefault

      public void setPPrDefault(DocDefaults.PPrDefault value)
      Sets the value of the pPrDefault property.
      Parameters:
      value - allowed object is DocDefaults.PPrDefault
    • 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.