Package org.docx4j.wml
Class Numbering.AbstractNum
java.lang.Object
org.docx4j.wml.Numbering.AbstractNum
- All Implemented Interfaces:
Child
- Enclosing class:
- Numbering
public static class Numbering.AbstractNum 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="nsid" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_LongHexNumber" minOccurs="0"/>
<element name="multiLevelType" 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}string">
<enumeration value="singleLevel"/>
<enumeration value="multilevel"/>
<enumeration value="hybridMultilevel"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
<element name="tmpl" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_LongHexNumber" minOccurs="0"/>
<element name="name" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="styleLink" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="numStyleLink" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="lvl" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Lvl" maxOccurs="9" minOccurs="0"/>
</sequence>
<attribute name="abstractNumId" 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.AbstractNum.MultiLevelTypeJava class for anonymous complex type.static classNumbering.AbstractNum.NameJava class for anonymous complex type.static classNumbering.AbstractNum.NumStyleLinkJava class for anonymous complex type.static classNumbering.AbstractNum.StyleLinkJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected java.math.BigIntegerabstractNumIdprotected java.util.List<Lvl>lvlprotected Numbering.AbstractNum.MultiLevelTypemultiLevelTypeprotected Numbering.AbstractNum.Namenameprotected CTLongHexNumbernsidprotected Numbering.AbstractNum.NumStyleLinknumStyleLinkprotected Numbering.AbstractNum.StyleLinkstyleLinkprotected CTLongHexNumbertmpl -
Constructor Summary
Constructors Constructor Description AbstractNum() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.math.BigIntegergetAbstractNumId()Gets the value of the abstractNumId property.java.util.List<Lvl>getLvl()Gets the value of the lvl property.Numbering.AbstractNum.MultiLevelTypegetMultiLevelType()Gets the value of the multiLevelType property.Numbering.AbstractNum.NamegetName()Gets the value of the name property.CTLongHexNumbergetNsid()Gets the value of the nsid property.Numbering.AbstractNum.NumStyleLinkgetNumStyleLink()Gets the value of the numStyleLink property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.Numbering.AbstractNum.StyleLinkgetStyleLink()Gets the value of the styleLink property.CTLongHexNumbergetTmpl()Gets the value of the tmpl property.voidsetAbstractNumId(java.math.BigInteger value)Sets the value of the abstractNumId property.voidsetMultiLevelType(Numbering.AbstractNum.MultiLevelType value)Sets the value of the multiLevelType property.voidsetName(Numbering.AbstractNum.Name value)Sets the value of the name property.voidsetNsid(CTLongHexNumber value)Sets the value of the nsid property.voidsetNumStyleLink(Numbering.AbstractNum.NumStyleLink value)Sets the value of the numStyleLink property.voidsetParent(java.lang.Object parent)voidsetStyleLink(Numbering.AbstractNum.StyleLink value)Sets the value of the styleLink property.voidsetTmpl(CTLongHexNumber value)Sets the value of the tmpl property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
nsid
-
multiLevelType
-
tmpl
-
name
-
styleLink
-
numStyleLink
-
lvl
-
abstractNumId
protected java.math.BigInteger abstractNumId
-
-
Constructor Details
-
AbstractNum
public AbstractNum()
-
-
Method Details
-
getNsid
Gets the value of the nsid property.- Returns:
- possible object is
CTLongHexNumber
-
setNsid
Sets the value of the nsid property.- Parameters:
value- allowed object isCTLongHexNumber
-
getMultiLevelType
Gets the value of the multiLevelType property.- Returns:
- possible object is
Numbering.AbstractNum.MultiLevelType
-
setMultiLevelType
Sets the value of the multiLevelType property.- Parameters:
value- allowed object isNumbering.AbstractNum.MultiLevelType
-
getTmpl
Gets the value of the tmpl property.- Returns:
- possible object is
CTLongHexNumber
-
setTmpl
Sets the value of the tmpl property.- Parameters:
value- allowed object isCTLongHexNumber
-
getName
Gets the value of the name property.- Returns:
- possible object is
Numbering.AbstractNum.Name
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isNumbering.AbstractNum.Name
-
getStyleLink
Gets the value of the styleLink property.- Returns:
- possible object is
Numbering.AbstractNum.StyleLink
-
setStyleLink
Sets the value of the styleLink property.- Parameters:
value- allowed object isNumbering.AbstractNum.StyleLink
-
getNumStyleLink
Gets the value of the numStyleLink property.- Returns:
- possible object is
Numbering.AbstractNum.NumStyleLink
-
setNumStyleLink
Sets the value of the numStyleLink property.- Parameters:
value- allowed object isNumbering.AbstractNum.NumStyleLink
-
getLvl
Gets the value of the lvl 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 lvl property.For example, to add a new item, do as follows:
getLvl().add(newItem);Objects of the following type(s) are allowed in the list
Lvl -
getAbstractNumId
public java.math.BigInteger getAbstractNumId()Gets the value of the abstractNumId property.- Returns:
- possible object is
BigInteger
-
setAbstractNumId
public void setAbstractNumId(java.math.BigInteger value)Sets the value of the abstractNumId 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(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.
-