Class JDFPipeParams

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

      • JDFPipeParams

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

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

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

      • toString

        public java.lang.String toString()
        Description copied from class: KElement
        this to string, used for debug purpose mostly
        Overrides:
        toString in class KElement
        Returns:
        string representativ of this
        See Also:
        KElement.toString()
      • getResourceLinks

        @Deprecated
        public final VElement getResourceLinks​(java.lang.String nam,
                                               JDFAttributeMap mAttrib,
                                               java.lang.String nameSpaceURI)
        Deprecated.
        use getResourceLink()
        Gets all ResourceLink children with the attribute name, mAttrib, nameSpaceURI from the pool
        Parameters:
        nam - name of the Child
        mAttrib - a attribute to search for
        nameSpaceURI -
        Returns:
        VElement: a vector with all resource links in the pool matching the conditions
      • getResourceLink

        public final JDFResourceLink getResourceLink()
        Gets the ResourceLink from the PipeParams element
        Returns:
        VElement: a vector with all resource links in the pool matching the conditions
      • getUnknownElements

        public VString getUnknownElements​(boolean bIgnorePrivate,
                                          int nMax)
        get the vector of unknown element nodenames

        default: GetUnknownElements(true, 999999)

        Overrides:
        getUnknownElements in class JDFElement
        Parameters:
        bIgnorePrivate - used by JDFElement during the validation !!! Do not change the signature of this method
        nMax - maximum size of the returned vector
        Returns:
        Vector - vector of unknown element nodenames
      • getCreateResource

        public JDFResource getCreateResource​(java.lang.String resName)
        get resource defined by resName, create if it doesn't exist
        Parameters:
        resName - name of the resource to get/create
        Returns:
        JDFResource: the element
      • getResource

        public JDFResource getResource​(java.lang.String resName)
        get resource defined by resName
        Parameters:
        resName - name of the resource to get; if null get the resource that is linked by the reslink
        Returns:
        JDFResource: the element
      • appendResource

        public JDFResource appendResource​(java.lang.String resName)
        append Resource
        Parameters:
        resName - name of the resource to append
        Returns:
      • appendResourceLink

        public JDFResourceLink appendResourceLink​(java.lang.String linkName,
                                                  boolean bInput)
        append ResourceLink
        Parameters:
        linkName - name of the ResourceLink to append a link for
        bInput - if true, the link is an input link
        Returns:
        JDFResourceLink: the appended element
      • applyPipeToNode

        public void applyPipeToNode​(JDFNode parentNode)
        apply the parameters in this to all appropriate resources in parentNode or one of parentNode's children
        Parameters:
        parentNode - the node to search in TODO implement resource handling