org.dom4j.ElementHandler is 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.
| Modifier and Type | Field and Description |
|---|---|
| private ElementModifier | |
| private Element |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Element | |
| public void | onEnd(ElementPath
is the current elementPath)ElementPath to processImplements org. |
| public void | onStart(ElementPath
is the current elementPath)ElementPath to processImplements org. |
| elemModifier | back to summary |
|---|---|
| private ElementModifier elemModifier | |
| modifiedElement | back to summary |
|---|---|
| private Element modifiedElement | |
| SAXModifyElementHandler | back to summary |
|---|---|
| public SAXModifyElementHandler(ElementModifier elemModifier) | |
| getModifiedElement | back to summary |
|---|---|
| protected Element getModifiedElement() DOCUMENT ME!
| |
| onEnd | back to summary |
|---|---|
| public void onEnd(ElementPath elementPath) Implements org. Doc from org. Called by an event based processor when an elements closing tag is encountered.
| |
| onStart | back to summary |
|---|---|
| public void onStart(ElementPath elementPath) Implements org. Doc from org. Called by an event based processor when an elements openning tag is encountered.
| |