Package org.dom4j.io

Class PruningDispatchHandler

java.lang.Object
org.dom4j.io.DispatchHandler
org.dom4j.io.PruningDispatchHandler
All Implemented Interfaces:
ElementHandler

class PruningDispatchHandler extends DispatchHandler
This extension on the DispatchHandlerprunes the current Element when there are no
invalid reference
ElementHandler
objects active the element.
  • Constructor Details

    • PruningDispatchHandler

      PruningDispatchHandler()
  • Method Details

    • onEnd

      public void onEnd(ElementPath elementPath)
      Description copied from interface: ElementHandler
      Called by an event based processor when an elements closing tag is encountered.
      Specified by:
      onEnd in interface ElementHandler
      Overrides:
      onEnd in class DispatchHandler
      Parameters:
      elementPath - is the current ElementPath to process