org.cip4.jdflib.extensions.xjdfwalker
Class IDFinder

java.lang.Object
  extended by org.cip4.jdflib.elementwalker.ElementWalker
      extended by org.cip4.jdflib.elementwalker.BaseElementWalker
          extended by org.cip4.jdflib.extensions.xjdfwalker.IDFinder

public class IDFinder
extends BaseElementWalker

Author:
Rainer Prosi finds all ids

Nested Class Summary
 class IDFinder.IDPart
           
 class IDFinder.WalkResource
          the link and ref walker
 class IDFinder.WalkSet
          the link and ref walker
 
Field Summary
protected  Map<String,IDFinder.IDPart> theMap
           
 
Fields inherited from class org.cip4.jdflib.elementwalker.BaseElementWalker
log
 
Fields inherited from class org.cip4.jdflib.elementwalker.ElementWalker
theFactory
 
Constructor Summary
IDFinder()
           
 
Method Summary
protected  BaseWalkerFactory getFactory()
           
 Map<String,IDFinder.IDPart> getMap(KElement n)
          get a vector of all links and references of n and its children
 
Methods inherited from class org.cip4.jdflib.elementwalker.BaseElementWalker
constructWalkers
 
Methods inherited from class org.cip4.jdflib.elementwalker.ElementWalker
toString, walkTree, walkTreeKidsFirst
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

theMap

protected final Map<String,IDFinder.IDPart> theMap
Constructor Detail

IDFinder

public IDFinder()
Method Detail

getMap

public Map<String,IDFinder.IDPart> getMap(KElement n)
get a vector of all links and references of n and its children

Parameters:
n - the element to walk
Returns:
the vector of unlinked resourcerefs and resourceLinks

getFactory

protected BaseWalkerFactory getFactory()
Overrides:
getFactory in class BaseElementWalker
Returns:
the factory for this worker


Copyright © 2013. All Rights Reserved.