Class SAXModifyElementHandler
java.lang.Object
org.dom4j.io.SAXModifyElementHandler
- All Implemented Interfaces:
ElementHandler
This
ElementHandleris used to trigger ElementModifier objects in order to modify (parts of) the Document on the
fly.
When an element is completely parsed, a copy is handed to the associated (if
any) ElementModifierthat on his turn returns the modified element
that has to come in the tree.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ElementDOCUMENT ME!voidonEnd(ElementPath elementPath) Called by an event based processor when an elements closing tag is encountered.voidonStart(ElementPath elementPath) Called by an event based processor when an elements openning tag is encountered.
-
Field Details
-
elemModifier
-
modifiedElement
-
-
Constructor Details
-
SAXModifyElementHandler
-
-
Method Details
-
onStart
Description copied from interface:ElementHandlerCalled by an event based processor when an elements openning tag is encountered.- Specified by:
onStartin interfaceElementHandler- Parameters:
elementPath- is the currentElementPathto process
-
onEnd
Description copied from interface:ElementHandlerCalled by an event based processor when an elements closing tag is encountered.- Specified by:
onEndin interfaceElementHandler- Parameters:
elementPath- is the currentElementPathto process
-
getModifiedElement
-