Class UnLinkFinder


public class UnLinkFinder extends BaseElementWalker
  • Field Details

  • Constructor Details

    • UnLinkFinder

      public UnLinkFinder()
  • Method Details

    • setIgnoreForeign

      public void setIgnoreForeign(boolean ignoreForeign)
      Parameters:
      ignoreForeign - the ignoreForeign to set
    • getUnlinkedResources

      public VElement getUnlinkedResources(JDFNode n)
      get a vector of all unlinked resources of n and its children
      Parameters:
      n - the node to walk
      Returns:
      the vector of unlinked resources
    • getUnlinkedRefs

      public VElement getUnlinkedRefs(JDFNode n)
      get a vector of all unlinked resources of n and its children
      Parameters:
      n - the node to walk
      Returns:
      the vector of unlinked resources
    • getAllUnlinked

      public VElement getAllUnlinked(JDFNode n)
      get a vector of all unlinked resources of n and its children
      Parameters:
      n - the node to walk
      Returns:
      the vector of unlinked resources
    • eraseUnlinkedResources

      public int eraseUnlinkedResources(JDFNode n)
      erase all unlinked resources that are in n
      Parameters:
      n - the node to clean
    • eraseUnlinkedRefs

      public int eraseUnlinkedRefs(JDFNode n)
      erase all unlinked resources that are in n
      Parameters:
      n - the node to clean
    • eraseUnlinked

      public int eraseUnlinked(JDFNode n)
      erase all unlinked resources that are in n
      Parameters:
      n - the node to clean