Class JDFPool

    • Constructor Detail

      • JDFPool

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

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

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

      • getPoolChildrenGeneric

        protected VElement getPoolChildrenGeneric​(java.lang.String strName,
                                                  JDFAttributeMap mAttrib,
                                                  java.lang.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,
                                                 java.lang.String strName,
                                                 JDFAttributeMap mAttrib,
                                                 java.lang.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