Save This Page
Home » dom4j-1.6.1 » org.dom4j » [javadoc | source]
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.
Method from org.dom4j.ElementPath Summary:
addHandler,   getCurrent,   getElement,   getPath,   removeHandler,   size
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()
    DOCUMENT ME!
 public Element getElement(int depth)
    DOCUMENT ME!
 public String getPath()
    DOCUMENT ME!
 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()
    DOCUMENT ME!