Class JAXBModifier.JAXBElementModifier

java.lang.Object
org.dom4j.jaxb.JAXBModifier.JAXBElementModifier
All Implemented Interfaces:
ElementModifier
Enclosing class:
JAXBModifier

private class JAXBModifier.JAXBElementModifier extends Object implements ElementModifier
  • Field Details

  • Constructor Details

  • Method Details

    • modifyElement

      public Element modifyElement(Element element) throws Exception
      Description copied from interface: ElementModifier
      Called by an event based processor when an elements closing tag is encountered. This method must return the modified version of the provided Elementor null if it has to be removed from the document.
      The incoming Elementis disconnected from the DOM4J tree. This means that navigation to the elements parent Element and Documentare not available. Only the element itself can be modified!
      Specified by:
      modifyElement in interface ElementModifier
      Parameters:
      element - Elementto be parsed
      Returns:
      the modified Element
      Throws:
      Exception - of any kind