Class JDFColorIntent

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

public class JDFColorIntent extends JDFAutoColorIntent
See Also:
  • Constructor Details

    • JDFColorIntent

      public JDFColorIntent(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName) throws DOMException
      Constructor for JDFColorIntent
      Parameters:
      ownerDocument -
      qualifiedName -
      Throws:
      DOMException
    • JDFColorIntent

      public JDFColorIntent(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName) throws DOMException
      Constructor for JDFColorIntent
      Parameters:
      ownerDocument -
      namespaceURI -
      qualifiedName -
      Throws:
      DOMException
    • JDFColorIntent

      public JDFColorIntent(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName, String myLocalName) throws DOMException
      Constructor for JDFColorIntent
      Parameters:
      ownerDocument -
      namespaceURI -
      qualifiedName -
      localName -
      Throws:
      DOMException
  • Method Details

    • toString

      public String toString()
      Description copied from class: KElement
      this to string, used for debug purpose mostly
      Overrides:
      toString in class KElement
      Returns:
      string representativ of this
      See Also:
    • getNumColorsRaw

      public int getNumColorsRaw()
      Returns:
    • getNumColors

      public int getNumColors()
      returns the number of colors defined in ColorsUsed
      Overrides:
      getNumColors in class JDFAutoColorIntent
      Returns:
    • getNumVarnish

      public int getNumVarnish()
      returns the number of varnishes defined in ColorsUsed
      Returns:
    • isVarnish

      public static boolean isVarnish(String color)
      returns the number of colors defined in ColorsUsed
      Returns:
      true if the color is a varnish