Class CTBorder
java.lang.Object
org.docx4j.vml.wordprocessingDrawing.CTBorder
- All Implemented Interfaces:
Child
public class CTBorder extends java.lang.Object implements Child
Java class for CT_Border complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Border">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="type" type="{urn:schemas-microsoft-com:office:word}ST_BorderType" />
<attribute name="width" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
<attribute name="shadow" type="{urn:schemas-microsoft-com:office:word}ST_BorderShadow" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected STBorderShadowshadowprotected STBorderTypetypeprotected java.math.BigIntegerwidth -
Constructor Summary
Constructors Constructor Description CTBorder() -
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.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.STBorderShadowgetShadow()Gets the value of the shadow property.STBorderTypegetType()Gets the value of the type property.java.math.BigIntegergetWidth()Gets the value of the width property.voidsetParent(java.lang.Object parent)voidsetShadow(STBorderShadow value)Sets the value of the shadow property.voidsetType(STBorderType value)Sets the value of the type property.voidsetWidth(java.math.BigInteger value)Sets the value of the width property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
type
-
width
protected java.math.BigInteger width -
shadow
-
-
Constructor Details
-
CTBorder
public CTBorder()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
STBorderType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isSTBorderType
-
getWidth
public java.math.BigInteger getWidth()Gets the value of the width property.- Returns:
- possible object is
BigInteger
-
setWidth
public void setWidth(java.math.BigInteger value)Sets the value of the width property.- Parameters:
value- allowed object isBigInteger
-
getShadow
Gets the value of the shadow property.- Returns:
- possible object is
STBorderShadow
-
setShadow
Sets the value of the shadow property.- Parameters:
value- allowed object isSTBorderShadow
-
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.
-