Class JDFPool

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:
JDFAuditPool, JDFAutoAmountPool, JDFAutoAncestorPool, JDFAutoJMF, JDFAutoStatusPool, JDFPreflightConstraintsPool, JDFPreflightResultsPool, JDFResourceLinkPool, JDFResourcePool

public abstract class JDFPool extends JDFElement
This class represents a JDF-Pool which provides functionality for "network" containers and is the base class for JDFResourcePool and GarStepNetwork
See Also:
  • Constructor Details

    • JDFPool

      public JDFPool(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName)
      Constructor for JDFPool
      Parameters:
      myOwnerDocument -
      qualifiedName -
    • JDFPool

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

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

    • getPoolChildrenGeneric

      protected VElement getPoolChildrenGeneric(String strName, JDFAttributeMap mAttrib, String nameSpaceURI)
      Gets all children with the attributes name, mAttrib, nameSpaceURI from the pool

      default: GetPoolChildrenGeneric (JDFConstants.EMPTYSTRING, new JDFAttributeMap(), JDFConstants.EMPTYSTRING)

      Parameters:
      strName - name of the Child
      mAttrib - the attribute to search for
      nameSpaceURI - nameSpaceURI to search in
      Returns:
      VElement: a vector with all elements in the pool matching the conditions
    • getPoolChildGeneric

      protected JDFElement getPoolChildGeneric(int i, String strName, JDFAttributeMap mAttrib, String nameSpaceURI)
      get a child from the pool matching the parameters
      Parameters:
      i - the index of the child, or -1 to make a new one.
      strName - the name of the element
      mAttrib - the attribute of the element
      nameSpaceURI - the namespace to search in
      Returns:
      JDFElement: the pool child matching the above conditions default: GetPoolChildGeneric (i, JDFConstants.EMPTYSTRING, null, JDFConstants.EMPTYSTRING)
    • appendUniqueGeneric

      protected void appendUniqueGeneric(JDFElement p)
      Append a new child if no identical child exists
      Parameters:
      p - the Child to add to the element
    • appendUniqueGeneric

      protected void appendUniqueGeneric(JDFPool p)
      Append all children of p for which no identical child exists
      if elements have an ID attribute, this is sufficient for equivalence
      Parameters:
      p - the Child to add to the element