Package org.docx4j.wml
Class CTCaption
java.lang.Object
org.docx4j.wml.CTCaption
- All Implemented Interfaces:
Child
public class CTCaption extends java.lang.Object implements Child
Java class for CT_Caption complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Caption">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
<attribute name="pos" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_CaptionPos" />
<attribute name="chapNum" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="heading" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
<attribute name="noLabel" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="numFmt" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}NumberFormat" />
<attribute name="sep" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ChapterSep" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.BooleanchapNumprotected java.math.BigIntegerheadingprotected java.lang.Stringnameprotected java.lang.BooleannoLabelprotected NumberFormatnumFmtprotected STCaptionPosposprotected STChapterSepsep -
Constructor Summary
Constructors Constructor Description CTCaption() -
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.BigIntegergetHeading()Gets the value of the heading property.java.lang.StringgetName()Gets the value of the name property.NumberFormatgetNumFmt()Gets the value of the numFmt property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.STCaptionPosgetPos()Gets the value of the pos property.STChapterSepgetSep()Gets the value of the sep property.booleanisChapNum()Gets the value of the chapNum property.booleanisNoLabel()Gets the value of the noLabel property.voidsetChapNum(java.lang.Boolean value)Sets the value of the chapNum property.voidsetHeading(java.math.BigInteger value)Sets the value of the heading property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetNoLabel(java.lang.Boolean value)Sets the value of the noLabel property.voidsetNumFmt(NumberFormat value)Sets the value of the numFmt property.voidsetParent(java.lang.Object parent)voidsetPos(STCaptionPos value)Sets the value of the pos property.voidsetSep(STChapterSep value)Sets the value of the sep property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
name
protected java.lang.String name -
pos
-
chapNum
protected java.lang.Boolean chapNum -
heading
protected java.math.BigInteger heading -
noLabel
protected java.lang.Boolean noLabel -
numFmt
-
sep
-
-
Constructor Details
-
CTCaption
public CTCaption()
-
-
Method Details
-
getName
public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-
getPos
Gets the value of the pos property.- Returns:
- possible object is
STCaptionPos
-
setPos
Sets the value of the pos property.- Parameters:
value- allowed object isSTCaptionPos
-
isChapNum
public boolean isChapNum()Gets the value of the chapNum property.- Returns:
- possible object is
Boolean
-
setChapNum
public void setChapNum(java.lang.Boolean value)Sets the value of the chapNum property.- Parameters:
value- allowed object isBoolean
-
getHeading
public java.math.BigInteger getHeading()Gets the value of the heading property.- Returns:
- possible object is
BigInteger
-
setHeading
public void setHeading(java.math.BigInteger value)Sets the value of the heading property.- Parameters:
value- allowed object isBigInteger
-
isNoLabel
public boolean isNoLabel()Gets the value of the noLabel property.- Returns:
- possible object is
Boolean
-
setNoLabel
public void setNoLabel(java.lang.Boolean value)Sets the value of the noLabel property.- Parameters:
value- allowed object isBoolean
-
getNumFmt
Gets the value of the numFmt property.- Returns:
- possible object is
NumberFormat
-
setNumFmt
Sets the value of the numFmt property.- Parameters:
value- allowed object isNumberFormat
-
getSep
Gets the value of the sep property.- Returns:
- possible object is
STChapterSep
-
setSep
Sets the value of the sep property.- Parameters:
value- allowed object isSTChapterSep
-
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.
-