Package org.docx4j.wml
Class CTCaption
java.lang.Object
org.docx4j.wml.CTCaption
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected BigIntegerprotected Stringprotected Booleanprotected NumberFormatprotected STCaptionPosprotected STChapterSep -
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 heading property.getName()Gets the value of the name property.Gets the value of the numFmt property.Gets the parent object in the object tree representing the unmarshalled xml document.getPos()Gets the value of the pos property.getSep()Gets the value of the sep property.booleanGets the value of the chapNum property.booleanGets the value of the noLabel property.voidsetChapNum(Boolean value) Sets the value of the chapNum property.voidsetHeading(BigInteger value) Sets the value of the heading property.voidSets the value of the name property.voidsetNoLabel(Boolean value) Sets the value of the noLabel property.voidsetNumFmt(NumberFormat value) Sets the value of the numFmt property.voidvoidsetPos(STCaptionPos value) Sets the value of the pos property.voidsetSep(STChapterSep value) Sets the value of the sep property.
-
Field Details
-
name
-
pos
-
chapNum
-
heading
-
noLabel
-
numFmt
-
sep
-
-
Constructor Details
-
CTCaption
public CTCaption()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
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
Sets the value of the chapNum property.- Parameters:
value- allowed object isBoolean
-
getHeading
Gets the value of the heading property.- Returns:
- possible object is
BigInteger
-
setHeading
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
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
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.
-