Package org.docx4j.wml
Class CTBorder
java.lang.Object
org.docx4j.wml.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="val" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_Border" />
<attribute name="color" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_HexColor" />
<attribute name="themeColor" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ThemeColor" />
<attribute name="themeTint" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_UcharHexNumber" />
<attribute name="themeShade" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_UcharHexNumber" />
<attribute name="sz" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_EighthPointMeasure" />
<attribute name="space" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PointMeasure" />
<attribute name="shadow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="frame" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringcolorprotected java.lang.Booleanframeprotected java.lang.Booleanshadowprotected java.math.BigIntegerspaceprotected java.math.BigIntegerszprotected STThemeColorthemeColorprotected java.lang.StringthemeShadeprotected java.lang.StringthemeTintprotected STBorderval -
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.StringgetColor()Gets the value of the color property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.math.BigIntegergetSpace()Gets the value of the space property.java.math.BigIntegergetSz()Gets the value of the sz property.STThemeColorgetThemeColor()Gets the value of the themeColor property.java.lang.StringgetThemeShade()Gets the value of the themeShade property.java.lang.StringgetThemeTint()Gets the value of the themeTint property.STBordergetVal()Gets the value of the val property.booleanisFrame()Gets the value of the frame property.booleanisShadow()Gets the value of the shadow property.voidsetColor(java.lang.String value)Sets the value of the color property.voidsetFrame(java.lang.Boolean value)Sets the value of the frame property.voidsetParent(java.lang.Object parent)voidsetShadow(java.lang.Boolean value)Sets the value of the shadow property.voidsetSpace(java.math.BigInteger value)Sets the value of the space property.voidsetSz(java.math.BigInteger value)Sets the value of the sz property.voidsetThemeColor(STThemeColor value)Sets the value of the themeColor property.voidsetThemeShade(java.lang.String value)Sets the value of the themeShade property.voidsetThemeTint(java.lang.String value)Sets the value of the themeTint property.voidsetVal(STBorder value)Sets the value of the val property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
val
-
color
protected java.lang.String color -
themeColor
-
themeTint
protected java.lang.String themeTint -
themeShade
protected java.lang.String themeShade -
sz
protected java.math.BigInteger sz -
space
protected java.math.BigInteger space -
shadow
protected java.lang.Boolean shadow -
frame
protected java.lang.Boolean frame
-
-
Constructor Details
-
CTBorder
public CTBorder()
-
-
Method Details
-
getVal
Gets the value of the val property.- Returns:
- possible object is
STBorder
-
setVal
Sets the value of the val property.- Parameters:
value- allowed object isSTBorder
-
getColor
public java.lang.String getColor()Gets the value of the color property.- Returns:
- possible object is
String
-
setColor
public void setColor(java.lang.String value)Sets the value of the color property.- Parameters:
value- allowed object isString
-
getThemeColor
Gets the value of the themeColor property.- Returns:
- possible object is
STThemeColor
-
setThemeColor
Sets the value of the themeColor property.- Parameters:
value- allowed object isSTThemeColor
-
getThemeTint
public java.lang.String getThemeTint()Gets the value of the themeTint property.- Returns:
- possible object is
String
-
setThemeTint
public void setThemeTint(java.lang.String value)Sets the value of the themeTint property.- Parameters:
value- allowed object isString
-
getThemeShade
public java.lang.String getThemeShade()Gets the value of the themeShade property.- Returns:
- possible object is
String
-
setThemeShade
public void setThemeShade(java.lang.String value)Sets the value of the themeShade property.- Parameters:
value- allowed object isString
-
getSz
public java.math.BigInteger getSz()Gets the value of the sz property.- Returns:
- possible object is
BigInteger
-
setSz
public void setSz(java.math.BigInteger value)Sets the value of the sz property.- Parameters:
value- allowed object isBigInteger
-
getSpace
public java.math.BigInteger getSpace()Gets the value of the space property.- Returns:
- possible object is
BigInteger
-
setSpace
public void setSpace(java.math.BigInteger value)Sets the value of the space property.- Parameters:
value- allowed object isBigInteger
-
isShadow
public boolean isShadow()Gets the value of the shadow property.- Returns:
- possible object is
Boolean
-
setShadow
public void setShadow(java.lang.Boolean value)Sets the value of the shadow property.- Parameters:
value- allowed object isBoolean
-
isFrame
public boolean isFrame()Gets the value of the frame property.- Returns:
- possible object is
Boolean
-
setFrame
public void setFrame(java.lang.Boolean value)Sets the value of the frame property.- Parameters:
value- allowed object isBoolean
-
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.
-