Class JDFFoldingParams

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

public class JDFFoldingParams extends JDFAutoFoldingParams
See Also:
  • Constructor Details

    • JDFFoldingParams

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

      public JDFFoldingParams(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName) throws DOMException
      Parameters:
      myOwnerDocument -
      myNamespaceURI -
      qualifiedName -
      Throws:
      DOMException
    • JDFFoldingParams

      public JDFFoldingParams(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName, String myLocalName) throws DOMException
      Parameters:
      myOwnerDocument -
      myNamespaceURI -
      qualifiedName -
      myLocalName -
      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:
    • getCatalog

      public static String getCatalog(int pages, int index)
      get the correctly formatted fold catalog string
      Parameters:
      pages - number of finished pages
      index - index of the catalog
      Returns:
    • getNumUpFromCatalog

      public static JDFXYPair getNumUpFromCatalog(String foldCatalog)
      get the correctly formatted fold catalog string
      Parameters:
      pages - number of finished pages
      index - index of the catalog
      Returns:
    • getCatalogXY

      public static JDFXYPair getCatalogXY(String foldCatalog)
    • setFoldCatalog

      public void setFoldCatalog(int pages, int index)
      set the correctly formatted fold catalog string
      Parameters:
      pages - number of finished pages
      index - index of the catalog
    • getInvalidAttributes

      public VString getInvalidAttributes(JDFElement.EnumValidationLevel level, boolean bIgnorePrivate, int nMax)
      Description copied from class: JDFResource
      Typesafe validator. Gets a vector of invalid attributes
      Overrides:
      getInvalidAttributes in class JDFResource
      Parameters:
      level - flag whether incomplete elements are valid
      bIgnorePrivate - if true, do not validate attributes in private name spaces
      nMax - maximum size of the returned vector. Stop validation after nMax invalid attributes
      Returns:
      vWString a vector of invalid attributes