Class JDFFoldingParams

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, IStreamWriter, org.w3c.dom.Element, org.w3c.dom.ElementTraversal, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

    public class JDFFoldingParams
    extends JDFAutoFoldingParams
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFFoldingParams

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

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

        public JDFFoldingParams​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                                java.lang.String myNamespaceURI,
                                java.lang.String qualifiedName,
                                java.lang.String myLocalName)
                         throws org.w3c.dom.DOMException
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
        myLocalName -
        Throws:
        org.w3c.dom.DOMException
    • Method Detail

      • toString

        public java.lang.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:
        Object.toString()
      • getCatalog

        public static java.lang.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​(java.lang.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​(java.lang.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