Class JDFColor

java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
All Implemented Interfaces:
Serializable, Cloneable, IStreamWriter, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class JDFColor extends JDFAutoColor
See Also:
  • Constructor Details

    • JDFColor

      public JDFColor(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName)
      Constructor for JDFColor
      Parameters:
      myOwnerDocument -
      qualifiedName -
    • JDFColor

      public JDFColor(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName)
      Constructor for JDFColor
      Parameters:
      myOwnerDocument -
      myNamespaceURI -
      qualifiedName -
    • JDFColor

      public JDFColor(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName, String myLocalName)
      Constructor for JDFColor
      Parameters:
      myOwnerDocument -
      myNamespaceURI -
      qualifiedName -
      myLocalName -
  • Method Details

    • getCMYKSeparations

      public static List<String> getCMYKSeparations()
      Returns:
    • getKCMYSeparations

      public static List<String> getKCMYSeparations()
      Returns:
    • toString

      public String toString()
      toString
      Overrides:
      toString in class KElement
      Returns:
      String
      See Also:
    • set8BitNames

      public void set8BitNames(byte[] cName)
      Set the Name and RawName attributes to the value given in pName The value in Name uses the default encoding
      Parameters:
      cName - the 8 bit string to set the name to
    • getHTMLColor

      public String getHTMLColor()
      get the html color representation of this color in the format 0xrrggbb;
      Returns:
    • getActualColorName

      public String getActualColorName()
      Gets the ActualColorName or Name if no ActualColorName is set
      Overrides:
      getActualColorName in class JDFAutoColor
      Returns:
      String Name of the color extracted from RawName, or if this is missing from Name, using the default transcoder
    • get8BitName

      public String get8BitName()
      Gets the 16 bit representation of the 8 bit color name Use String GetRawBytes() to extract the 8 bit representation
      Returns:
      String Name of the color extracted from RawName, or if this is missing from Name, using the default transcoder
    • getColorProfile

      public JDFFileSpec getColorProfile()
      get the FileSpec referring to ColorProfile
      Returns:
    • getCreateColorProfile

      public JDFFileSpec getCreateColorProfile()
      get or create a ColorProfile FileSpec
      Returns:
    • appendColorProfile

      public JDFFileSpec appendColorProfile()
      append a ColorProfoe FileSpec
      Returns:
    • getTargetProfile

      public JDFFileSpec getTargetProfile()
      get or create a TargetProfile FileSpec
      Returns:
    • getCreateTargetProfile

      public JDFFileSpec getCreateTargetProfile()
      get or create a TargetProfile FileSpec
      Returns:
    • appendTargetProfile

      public JDFFileSpec appendTargetProfile()
      append a TargetProfile FileSpec
      Returns:
    • getInvalidAttributes

      public VString getInvalidAttributes(JDFElement.EnumValidationLevel level, boolean ignorePrivate, int max)
      Description copied from class: JDFResource
      Typesafe validator. Gets a vector of invalid attributes
      Overrides:
      getInvalidAttributes in class JDFResource
      Parameters:
      level -
      ignorePrivate -
      max -
      Returns:
      See Also: