Package org.cip4.jdflib.elementwalker
Class UnLinkFinder
java.lang.Object
org.cip4.jdflib.elementwalker.ElementWalker
org.cip4.jdflib.elementwalker.BaseElementWalker
org.cip4.jdflib.elementwalker.UnLinkFinder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classcollection of mapsclassthe link and ref walkerclassthe resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes -
Field Summary
FieldsFields inherited from class org.cip4.jdflib.elementwalker.ElementWalker
theFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninterase all unlinked resources that are in ninterase all unlinked resources that are in ninterase all unlinked resources that are in nget a vector of all unlinked resources of n and its childrenget a vector of all unlinked resources of n and its childrenget a vector of all unlinked resources of n and its childrenvoidsetIgnoreForeign(boolean ignoreForeign) Methods inherited from class org.cip4.jdflib.elementwalker.BaseElementWalker
getFactoryMethods inherited from class org.cip4.jdflib.elementwalker.ElementWalker
toString, walkTree, walkTreeKidsFirst
-
Field Details
-
linkData
-
-
Constructor Details
-
UnLinkFinder
public UnLinkFinder()
-
-
Method Details
-
setIgnoreForeign
public void setIgnoreForeign(boolean ignoreForeign) - Parameters:
ignoreForeign- the ignoreForeign to set
-
getUnlinkedResources
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
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
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
erase all unlinked resources that are in n- Parameters:
n- the node to clean
-
eraseUnlinkedRefs
erase all unlinked resources that are in n- Parameters:
n- the node to clean
-
eraseUnlinked
erase all unlinked resources that are in n- Parameters:
n- the node to clean
-