Package org.docx4j.wml
Class CTShd
java.lang.Object
org.docx4j.wml.CTShd
- All Implemented Interfaces:
Child
public class CTShd extends java.lang.Object implements Child
Java class for CT_Shd complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Shd">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="val" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_Shd" />
<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="fill" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_HexColor" />
<attribute name="themeFill" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ThemeColor" />
<attribute name="themeFillTint" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_UcharHexNumber" />
<attribute name="themeFillShade" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_UcharHexNumber" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringcolorprotected java.lang.Stringfillprotected STThemeColorthemeColorprotected STThemeColorthemeFillprotected java.lang.StringthemeFillShadeprotected java.lang.StringthemeFillTintprotected java.lang.StringthemeShadeprotected java.lang.StringthemeTintprotected STShdval -
Constructor Summary
Constructors Constructor Description CTShd() -
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.StringgetFill()Gets the value of the fill property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.STThemeColorgetThemeColor()Gets the value of the themeColor property.STThemeColorgetThemeFill()Gets the value of the themeFill property.java.lang.StringgetThemeFillShade()Gets the value of the themeFillShade property.java.lang.StringgetThemeFillTint()Gets the value of the themeFillTint property.java.lang.StringgetThemeShade()Gets the value of the themeShade property.java.lang.StringgetThemeTint()Gets the value of the themeTint property.STShdgetVal()Gets the value of the val property.voidsetColor(java.lang.String value)Sets the value of the color property.voidsetFill(java.lang.String value)Sets the value of the fill property.voidsetParent(java.lang.Object parent)voidsetThemeColor(STThemeColor value)Sets the value of the themeColor property.voidsetThemeFill(STThemeColor value)Sets the value of the themeFill property.voidsetThemeFillShade(java.lang.String value)Sets the value of the themeFillShade property.voidsetThemeFillTint(java.lang.String value)Sets the value of the themeFillTint 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(STShd 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 -
fill
protected java.lang.String fill -
themeFill
-
themeFillTint
protected java.lang.String themeFillTint -
themeFillShade
protected java.lang.String themeFillShade
-
-
Constructor Details
-
CTShd
public CTShd()
-
-
Method Details
-
getVal
Gets the value of the val property.- Returns:
- possible object is
STShd
-
setVal
Sets the value of the val property.- Parameters:
value- allowed object isSTShd
-
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
-
getFill
public java.lang.String getFill()Gets the value of the fill property.- Returns:
- possible object is
String
-
setFill
public void setFill(java.lang.String value)Sets the value of the fill property.- Parameters:
value- allowed object isString
-
getThemeFill
Gets the value of the themeFill property.- Returns:
- possible object is
STThemeColor
-
setThemeFill
Sets the value of the themeFill property.- Parameters:
value- allowed object isSTThemeColor
-
getThemeFillTint
public java.lang.String getThemeFillTint()Gets the value of the themeFillTint property.- Returns:
- possible object is
String
-
setThemeFillTint
public void setThemeFillTint(java.lang.String value)Sets the value of the themeFillTint property.- Parameters:
value- allowed object isString
-
getThemeFillShade
public java.lang.String getThemeFillShade()Gets the value of the themeFillShade property.- Returns:
- possible object is
String
-
setThemeFillShade
public void setThemeFillShade(java.lang.String value)Sets the value of the themeFillShade property.- Parameters:
value- allowed object isString
-
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.
-