Class WalkJDFElement

    • Constructor Detail

      • WalkJDFElement

        public WalkJDFElement()
    • Method Detail

      • matchesRootID

        protected boolean matchesRootID​(JDFNode node)
        Parameters:
        node -
        Returns:
      • getRefName

        protected java.lang.String getRefName​(JDFRefElement re)
        get the name for the attribute to become a reference - may add a "Refs" rather than ref for
        Parameters:
        re - the refelement to name
        Returns:
        the name
      • updateAttributes

        protected void updateAttributes​(JDFAttributeMap map)
        Overrides:
        updateAttributes in class WalkElement
        Parameters:
        newRootP -
        See Also:
        org.cip4.jdflib.extensions.XJDF20.WalkElement#removeUnusedElements(org.cip4.jdflib.core.KElement)
      • setResource

        protected java.util.List<KElement> setResource​(JDFElement rl,
                                                       JDFResource linkTarget,
                                                       KElement xRoot)
        Parameters:
        rl - the refelement or reslink
        linkTarget -
        xRoot -
        Returns:
        the vector of partitions
      • checkAllLeaves

        protected boolean checkAllLeaves​(JDFResource linkTarget)
      • getResID

        protected java.lang.String getResID​(JDFResource linkTarget,
                                            JDFElement rl)
        Parameters:
        linkTarget -
        rl -
        Returns:
      • getSet

        protected KElement getSet​(java.lang.String resID,
                                  KElement xRoot,
                                  java.lang.String className)
        Parameters:
        linkTarget -
        xRoot -
        className -
        Returns:
      • setLeafAttributes

        protected void setLeafAttributes​(JDFResource leaf,
                                         JDFElement rl,
                                         KElement newLeaf)
        Parameters:
        leaf -
        rl -
        newLeaf -
      • setSetAttributes

        protected void setSetAttributes​(KElement resourceSet,
                                        KElement rl,
                                        JDFResource linkRoot)
        set the attributes of the set based on the resource and resourcelink
        Parameters:
        resourceSet -
        rl -
        linkRoot -