Class Color

java.lang.Object
org.docx4j.wml.Color
All Implemented Interfaces:
Child

public class Color extends Object implements Child

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="val" use="required" 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" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • val

      protected String val
    • themeColor

      protected STThemeColor themeColor
    • themeTint

      protected String themeTint
    • themeShade

      protected String themeShade
  • Constructor Details

    • Color

      public Color()
  • Method Details

    • getVal

      public String getVal()
      Gets the value of the val property.
      Returns:
      possible object is String
    • setVal

      public void setVal(String value)
      Sets the value of the val property.
      Parameters:
      value - allowed object is String
    • getThemeColor

      public STThemeColor getThemeColor()
      Gets the value of the themeColor property.
      Returns:
      possible object is STThemeColor
    • setThemeColor

      public void setThemeColor(STThemeColor value)
      Sets the value of the themeColor property.
      Parameters:
      value - allowed object is STThemeColor
    • getThemeTint

      public String getThemeTint()
      Gets the value of the themeTint property.
      Returns:
      possible object is String
    • setThemeTint

      public void setThemeTint(String value)
      Sets the value of the themeTint property.
      Parameters:
      value - allowed object is String
    • getThemeShade

      public String getThemeShade()
      Gets the value of the themeShade property.
      Returns:
      possible object is String
    • setThemeShade

      public void setThemeShade(String value)
      Sets the value of the themeShade property.
      Parameters:
      value - allowed object is String
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.