Class Numbering.Num

java.lang.Object
org.docx4j.wml.Numbering.Num
All Implemented Interfaces:
Child
Enclosing class:
Numbering

public static class Numbering.Num
extends java.lang.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="abstractNumId">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="lvlOverride" maxOccurs="9" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="startOverride" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attribute name="val" use="required">
                             <simpleType>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                               </restriction>
                             </simpleType>
                           </attribute>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="lvl" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Lvl" minOccurs="0"/>
                 </sequence>
                 <attribute name="ilvl" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="numId" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Numbering.Num.AbstractNumId
    Java class for anonymous complex type.
    static class  Numbering.Num.LvlOverride
    Java class for anonymous complex type.
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected Numbering.Num.AbstractNumId abstractNumId  
    protected java.util.List<Numbering.Num.LvlOverride> lvlOverride  
    protected java.math.BigInteger numId  
  • Constructor Summary

    Constructors
    Constructor Description
    Num()  
  • Method Summary

    Modifier and Type Method Description
    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.
    Numbering.Num.AbstractNumId getAbstractNumId()
    Gets the value of the abstractNumId property.
    java.util.List<Numbering.Num.LvlOverride> getLvlOverride()
    Gets the value of the lvlOverride property.
    java.math.BigInteger getNumId()
    Gets the value of the numId property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    void setAbstractNumId​(Numbering.Num.AbstractNumId value)
    Sets the value of the abstractNumId property.
    void setNumId​(java.math.BigInteger value)
    Sets the value of the numId property.
    void setParent​(java.lang.Object parent)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Num

      public Num()
  • Method Details

    • getAbstractNumId

      public Numbering.Num.AbstractNumId getAbstractNumId()
      Gets the value of the abstractNumId property.
      Returns:
      possible object is Numbering.Num.AbstractNumId
    • setAbstractNumId

      public void setAbstractNumId​(Numbering.Num.AbstractNumId value)
      Sets the value of the abstractNumId property.
      Parameters:
      value - allowed object is Numbering.Num.AbstractNumId
    • getLvlOverride

      public java.util.List<Numbering.Num.LvlOverride> getLvlOverride()
      Gets the value of the lvlOverride property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the lvlOverride property.

      For example, to add a new item, do as follows:

          getLvlOverride().add(newItem);
       

      Objects of the following type(s) are allowed in the list Numbering.Num.LvlOverride

    • getNumId

      public java.math.BigInteger getNumId()
      Gets the value of the numId property.
      Returns:
      possible object is BigInteger
    • setNumId

      public void setNumId​(java.math.BigInteger value)
      Sets the value of the numId property.
      Parameters:
      value - allowed object is BigInteger
    • 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.