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 |
---|---|
void |
eraseUnlinked(JDFNode n)
erase all unlinked resources that are in n
|
void |
eraseUnlinkedRefs(JDFNode n)
erase all unlinked resources that are in n
|
void |
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) |
getFactory
toString, walkTree, walkTreeKidsFirst
protected 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 void eraseUnlinkedResources(JDFNode n)
n
- the node to cleanpublic void eraseUnlinkedRefs(JDFNode n)
n
- the node to cleanpublic void eraseUnlinked(JDFNode n)
n
- the node to cleanCopyright © 2018. All rights reserved.