public class UnLinkFinder extends BaseElementWalker
| Modifier and Type | Class and Description |
|---|---|
protected class |
UnLinkFinder.LinkData
collection of maps
|
class |
UnLinkFinder.WalkRef
the link and ref walker
|
class |
UnLinkFinder.WalkRes
the resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes
|
| Modifier and Type | Field and Description |
|---|---|
protected UnLinkFinder.LinkData |
linkData |
log, theFactory| Constructor and Description |
|---|
UnLinkFinder() |
| Modifier and Type | Method and Description |
|---|---|
int |
eraseUnlinked(JDFNode n)
erase all unlinked resources that are in n
|
int |
eraseUnlinkedRefs(JDFNode n)
erase all unlinked resources that are in n
|
int |
eraseUnlinkedResources(JDFNode n)
erase all unlinked resources that are in n
|
VElement |
getAllUnlinked(JDFNode n)
get a vector of all unlinked resources of n and its children
|
VElement |
getUnlinkedRefs(JDFNode n)
get a vector of all unlinked resources of n and its children
|
VElement |
getUnlinkedResources(JDFNode n)
get a vector of all unlinked resources of n and its children
|
void |
setIgnoreForeign(boolean ignoreForeign) |
getFactorytoString, walkTree, walkTreeKidsFirstprotected UnLinkFinder.LinkData linkData
public void setIgnoreForeign(boolean ignoreForeign)
ignoreForeign - the ignoreForeign to setpublic VElement getUnlinkedResources(JDFNode n)
n - the node to walkpublic VElement getUnlinkedRefs(JDFNode n)
n - the node to walkpublic VElement getAllUnlinked(JDFNode n)
n - the node to walkpublic int eraseUnlinkedResources(JDFNode n)
n - the node to cleanpublic int eraseUnlinkedRefs(JDFNode n)
n - the node to cleanpublic int eraseUnlinked(JDFNode n)
n - the node to clean