Java org.dom4j.jaxb JAXBModifier fields, constructors, methods, implement or subclass

Example usage for Java org.dom4j.jaxb JAXBModifier fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.dom4j.jaxb JAXBModifier.

The text is from its open source code.

Constructor

JAXBModifier(String contextPath)
Creates a new JAXBModifier for the given JAXB context path.
JAXBModifier(String contextPath, ClassLoader classloader)
Creates a new JAXBModifier for the given JAXB context path, using the given java.lang.ClassLoader .
JAXBModifier(String contextPath, OutputFormat outputFormat)
Creates a new JAXBModifier for the given JAXB context path.

Method

voidaddObjectModifier(String path, JAXBObjectModifier mod)
Adds the JAXBObjectModifier to be called when the specified xml path is encounted while parsing the source.
Documentmodify(File source)
Parses the specified java.io.File with SAX
Documentmodify(InputSource source)
Parses the specified org.xml.sax.InputSource with SAX.
Documentmodify(InputStream source)
Parses the specified java.io.InputStream with SAX.
Documentmodify(Reader r)
Parses the specified java.io.Reader with SAX.
Documentmodify(String url)
Parses the the given URL or filename.
Documentmodify(URL source)
Parses the the given URL.
voidsetOutput(File file)
Sets the Output to write the (modified) xml document to.
voidsetOutput(OutputStream outputStream)
Sets the Output to write the (modified) xml document to.
voidsetOutput(Writer writer)
Sets the Output to write the (modified) xml document to.
voidsetPruneElements(boolean pruneElements)
Define whether the modified org.dom4j.Document must only be written to the output and pruned from the DOM4J tree.