Modello Dom4J Plugin

Modello Dom4J Plugin generates XML readers and writers based on Dom4J 1 API.

Notice: DOM content type is represented as plexus-utils' Xpp3Dom objects

dom4j-reader

dom4j-reader generator creates my.model.package.io.dom4j.ModelNameDom4JReader class with following public methods:

  • public RootClass read( Reader reader, boolean strict )
        throws IOException, DocumentException
  • public RootClass read( Reader reader )
        throws IOException, DocumentException
  • public RootClass read( URL url, boolean strict )
        throws IOException, DocumentException
  • public RootClass read( URL url )
        throws IOException, DocumentException

dom4j-writer

dom4j-writer generator creates my.model.package.io.dom4j.ModelNameDom4JWriter class with following public methods:

  • public void write( Writer writer, RootClass root )
        throws java.io.IOException