Package org.docx4j.wml
Class Numbering.AbstractNum
java.lang.Object
org.docx4j.wml.Numbering.AbstractNum
- 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="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 ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigIntegerprotected Numbering.AbstractNum.MultiLevelTypeprotected Numbering.AbstractNum.Nameprotected CTLongHexNumberprotected Numbering.AbstractNum.NumStyleLinkprotected Numbering.AbstractNum.StyleLinkprotected CTLongHexNumber -
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.getLvl()Gets the value of the lvl property.Gets the value of the multiLevelType property.getName()Gets the value of the name property.getNsid()Gets the value of the nsid property.Gets the value of the numStyleLink property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the styleLink property.getTmpl()Gets the value of the tmpl property.voidsetAbstractNumId(BigInteger value) Sets the value of the abstractNumId property.voidSets the value of the multiLevelType property.voidSets the value of the name property.voidsetNsid(CTLongHexNumber value) Sets the value of the nsid property.voidSets the value of the numStyleLink property.voidvoidSets the value of the styleLink property.voidsetTmpl(CTLongHexNumber value) Sets the value of the tmpl property.
-
Field Details
-
nsid
-
multiLevelType
-
tmpl
-
name
-
styleLink
-
numStyleLink
-
lvl
-
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
Gets the value of the abstractNumId property.- Returns:
- possible object is
BigInteger
-
setAbstractNumId
Sets the value of the abstractNumId 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.
-