Package org.docx4j.wml
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 classNumbering.Num.AbstractNumIdJava class for anonymous complex type.static classNumbering.Num.LvlOverrideJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected Numbering.Num.AbstractNumIdabstractNumIdprotected java.util.List<Numbering.Num.LvlOverride>lvlOverrideprotected java.math.BigIntegernumId -
Constructor Summary
Constructors Constructor Description Num() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Numbering.Num.AbstractNumIdgetAbstractNumId()Gets the value of the abstractNumId property.java.util.List<Numbering.Num.LvlOverride>getLvlOverride()Gets the value of the lvlOverride property.java.math.BigIntegergetNumId()Gets the value of the numId property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.voidsetAbstractNumId(Numbering.Num.AbstractNumId value)Sets the value of the abstractNumId property.voidsetNumId(java.math.BigInteger value)Sets the value of the numId property.voidsetParent(java.lang.Object parent)
-
Field Details
-
abstractNumId
-
lvlOverride
-
numId
protected java.math.BigInteger numId
-
-
Constructor Details
-
Num
public Num()
-
-
Method Details
-
getAbstractNumId
Gets the value of the abstractNumId property.- Returns:
- possible object is
Numbering.Num.AbstractNumId
-
setAbstractNumId
Sets the value of the abstractNumId property.- Parameters:
value- allowed object isNumbering.Num.AbstractNumId
-
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
setmethod 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 isBigInteger
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(javax.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.
-