Class JDFTestRef

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 JDFTestRef extends JDFTerm
See Also:
  • Constructor Details

    • JDFTestRef

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

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

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

    • getTheAttributeInfo

      protected AttributeInfo getTheAttributeInfo()
      Overrides:
      getTheAttributeInfo in class JDFElement
      Returns:
    • toString

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

      public void setrRef(String value)
      Parameters:
      value -
    • getrRef

      public String getrRef()
      Returns:
    • getTest

      public JDFTest getTest()
      get the referenced TEST element
      Returns:
      the referenced test
    • fitsJDF

      public boolean fitsJDF(KElement jdf, KElement reportRoot)
      Description copied from class: JDFTerm
      Evaluates the boolean expression (child Term element): checks whether it fits jdf
      Specified by:
      fitsJDF in class JDFTerm
      Parameters:
      jdf -
      reportRoot -
      Returns:
      See Also:
    • fitsContext

      public boolean fitsContext(KElement jdf)
      Description copied from class: JDFTerm
      checks the xpath whether this term applies
      Specified by:
      fitsContext in class JDFTerm
      Parameters:
      jdf -
      Returns:
      See Also:
    • fitsMap

      public boolean fitsMap(JDFAttributeMap m)
      Tests whether this Term is compatible with the attribute map m (and, or, xor, not, Evaluation, TestRef).
      To determine the state of Term tests Evaluations that "not" consists of, this method checks if attribute map m has a key. specified by Evaluation/BasicPreflightTest/@Name If m has such key, it checks whether the value of m# fits the testlists specified for matching Evaluation (uses FitsValue(value))
      Specified by:
      fitsMap in class JDFTerm
      Parameters:
      m - key-value pair attribute map
      Returns:
      boolean - true, if boolean �not� expression evaluates to �true�