public interface ElementPath
ElementHandlerinstances to retrieve
 information about the current path hierarchy they are to process. It's
 primary use is to retrieve the current Elementbeing processed.| Modifier and Type | Method and Description | 
|---|---|
void | 
addHandler(java.lang.String path,
          ElementHandler handler)
Adds the  
ElementHandler to be called when the specified
 path is encounted. | 
Element | 
getCurrent()
DOCUMENT ME! 
 | 
Element | 
getElement(int depth)
DOCUMENT ME! 
 | 
java.lang.String | 
getPath()
DOCUMENT ME! 
 | 
void | 
removeHandler(java.lang.String path)
Removes the  
ElementHandler from the event based processor,
 for the specified path. | 
int | 
size()
DOCUMENT ME! 
 | 
int size()
Element getElement(int depth)
depth - DOCUMENT ME!java.lang.String getPath()
Element getCurrent()
void addHandler(java.lang.String path,
                ElementHandler handler)
ElementHandler to be called when the specified
 path is encounted. The path can be either an absolute path (i.e. prefixed
 with "/") or a relative path (i.e. assummed to be a child of the current
 path as retrieved by getPath .path - is the path to be handledhandler - is the ElementHandler to be called by the event
            based processor.void removeHandler(java.lang.String path)
ElementHandler from the event based processor,
 for the specified path. The path can be either an absolute path (i.e.
 prefixed with "/") or a relative path (i.e. assummed to be a child of the
 current path as retrieved by getPath .path - is the path to remove the ElementHandler for.