org.dom4j
public interface: ElementPath [javadoc |
source]
All Known Implementing Classes:
ElementStack, PruningElementStack
This interface is used by
ElementHandler instances to retrieve
information about the current path hierarchy they are to process. It's
primary use is to retrieve the current
Element being processed.
- author:
< - a href="mailto:dwhite@equipecom.com">Dave White
- version:
$ - Revision: 1.6 $
| Method from org.dom4j.ElementPath Detail: |
public void addHandler(String path,
ElementHandler handler)
Adds the 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 . |
public Element getCurrent()
|
public Element getElement(int depth)
|
public String getPath()
|
public void removeHandler(String path)
Removes the 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 . |
public int size()
|