Class JDFPreflightReport

  • 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 JDFPreflightReport
    extends JDFAutoPreflightReport
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFPreflightReport

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

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

        public JDFPreflightReport​(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 JDFPreflightReport
        Parameters:
        ownerDocument -
        namespaceURI -
        qualifiedName -
        localName -
        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()
      • addErrorCount

        public int addErrorCount​(int i)
        increments the errorCount attribute by i
        Parameters:
        i - the amount to increment by
      • addWarningCount

        public int addWarningCount​(int i)
        increments the WarningCount attribute by i
        Parameters:
        i - the amount to increment by
      • addOccurrences

        public void addOccurrences​(int i,
                                   JDFAutoAction.EnumSeverity sev)
        recursive call that sets errorcount and warning count according to the value of severity
        Parameters:
        i - the number of occurrences to add
        sev - the severity of the occurrences
      • init

        public boolean init()
        generic initialization routine - normally called automagically initializes required attributes to 0
        Overrides:
        init in class JDFAutoPreflightReport
        Returns:
        true if ok
        See Also:
        KElement.init()