Class JDFExpr

  • 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 JDFExpr
    extends JDFAutoExpr
    Wrapper around a JDF RunList
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFExpr

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

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

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

      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class KElement
        Returns:
        String
        See Also:
        Object.toString()
      • optionalElements

        public VString optionalElements()
        Description copied from class: JDFElement
        list of all optional element names; KElement is generic, therefore the list is empty
        Overrides:
        optionalElements in class JDFElement
        Returns:
        VString the comma separated list of optional element names
      • isValid

        public boolean isValid​(JDFElement.EnumValidationLevel level)
        Description copied from class: JDFElement
        Mother of all validators
        Overrides:
        isValid in class JDFElement
        Parameters:
        level - validation level
        • level EnumValidationLevel.None: always return true;
        • level EnumValidationLevel.Construct: incomplete and null elements are valid.
        • level EnumValidationLevel.Incomplete: incomplete elements are valid
        • level EnumValidationLevel.Complete: full validation
        • level EnumValidationLevel.RecursiveIncomplete: incomplete validation but follow links
        • level EnumValidationLevel.RecursiveComplete: full validation and follow links downward
        Returns:
        boolean the validity of the node
      • isValid_JDFElement

        public boolean isValid_JDFElement​(JDFElement.EnumValidationLevel level)
        Description copied from class: JDFElement
        Mother of all validators; this method is for direct access to the JDFElement valid method and short-circuit all overriding virtual methods
        Overrides:
        isValid_JDFElement in class JDFElement
        Parameters:
        level - validation level
        • level EnumValidationLevel.None: always return true;
        • level EnumValidationLevel.Construct: incomplete and null elements are valid.
        • level EnumValidationLevel.Incomplete: incomplete elements are valid
        • level EnumValidationLevel.Complete: full validation
        • level EnumValidationLevel.RecursiveIncomplete: incomplete validation but follow links
        • level EnumValidationLevel.RecursiveComplete: full validation and follow links downward
        Returns:
        boolean the validity of the node