Class JDFNodeTerm

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
Direct Known Subclasses:
JDFand, JDFnot, JDFor, JDFTest, JDFxor

public abstract class JDFNodeTerm extends JDFTerm
class to collect getters and setters for term intermediate nodes
See Also:
  • Constructor Details

  • Method Details

    • getTheElementInfo

      protected ElementInfo getTheElementInfo()
      Overrides:
      getTheElementInfo in class JDFElement
      Returns:
      the elementinfo
    • getTerm

      public JDFTerm getTerm(JDFTerm.EnumTerm term, int iSkip)
      get the iSkip'th Term of type term, do not create it if it does not exist
      Parameters:
      term - type of term to append
      iSkip - number of terms to skip, 0 is the first
      Returns:
      JDFTerm - the requested term, null if none exists
    • getCreateTerm

      public JDFTerm getCreateTerm(JDFTerm.EnumTerm term, int iSkip)
      get the iSkip'th Term of type term, create it if it does not exist
      Parameters:
      term - type of term to append
      iSkip - number of terms to skip, 0 is the first
      Returns:
      JDFTerm - the requested term
    • appendTerm

      public JDFTerm appendTerm(JDFTerm.EnumTerm term)
      append a Term as defined by term
      Parameters:
      term - type of term to append
      Returns:
      JDFTerm the appended term
    • fitsContext

      public boolean fitsContext(KElement testElement)
      check whether the boolean logic defined by a Test and a test's subelements make sense in the context of the tested element jdf
      Specified by:
      fitsContext in class JDFTerm
      Parameters:
      testElement - the KElement to check
      Returns:
      boolean
    • getTermVector

      @Deprecated public VElement getTermVector()
      Deprecated.
      use getTermVector(null)
      gets a vector of all terms
      Returns:
    • getTermVector

      public VElement getTermVector(JDFTerm.EnumTerm term)
      gets a vector of all terms
      Returns:
      VElement - vector of JDFTerm
    • getTerm

      @Deprecated public JDFTerm getTerm(int iSkip)
      Deprecated.
      gets the iSkip'th term
      Parameters:
      iSkip - the number of terms tos skip
      Returns:
      JDFTerm - the iSkip'th Term
    • getInvalidTerms

      protected VString getInvalidTerms(int iMax)
    • getMissingTerms

      protected VString getMissingTerms(int iMin)