public void addHandler(String path, ElementHandler handler) {
        getDispatchHandler().addHandler(path, handler);
    }
Adds the <code>ElementHandler</code> to be called when the
specified path is encounted.

@param path    is the path to be handled
@param handler is the <code>ElementHandler</code> to be called
               by the event based processor.
xmppserver/src/main/java/org/dom4j/io/XMPPPacketReader.java