Package org.docx4j.wml
Class Numbering.Num
java.lang.Object
org.docx4j.wml.Numbering.Num
- All Implemented Interfaces:
Child
- Enclosing class:
- Numbering
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 ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Numbering.Num.AbstractNumIdprotected List<Numbering.Num.LvlOverride>protected BigInteger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the abstractNumId property.Gets the value of the lvlOverride property.getNumId()Gets the value of the numId property.Gets the parent object in the object tree representing the unmarshalled xml document.voidSets the value of the abstractNumId property.voidsetNumId(BigInteger value) Sets the value of the numId property.void
-
Field Details
-
abstractNumId
-
lvlOverride
-
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 Jakarta XML Binding 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
Gets the value of the numId property.- Returns:
- possible object is
BigInteger
-
setNumId
Sets the value of the numId property.- Parameters:
value- allowed object isBigInteger
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-