Modello SAX Plugin
Modello SAX Plugin generates SAX writers based on SAX APIs, plus reader delegates to be able to read multiple model versions.
jackson-writer
sax-writer
generator creates
my.model.package.io.sax.ModelNameSAXWriter
class with following
public methods:
public void write( OutputStream output, RootClass root )
throws SAXException, TransformerExceptionpublic void write( Writer writer, RootClass root )
throws SAXException, TransformerException, UnsupportedEncodingExceptionpublic void write( org.xml.sax.ContentHandler, RootClass root )
(this method will take care to open/close the XML document)
throws SAXExceptionpublic void write( org.xml.sax.ContentHandler, RootClass root, boolean startDocument )
(this method will take care to open/close the XML document depending on the
throws SAXExceptionstartDocument
flag)