Example usage for Java org.dom4j.jaxb JAXBModifier fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
void | addObjectModifier(String path, JAXBObjectModifier mod) Adds the JAXBObjectModifier to be called when the specified xml path is encounted while parsing the source. |
Document | modify(File source) Parses the specified java.io.File with SAX |
Document | modify(InputSource source) Parses the specified org.xml.sax.InputSource with SAX. |
Document | modify(InputStream source) Parses the specified java.io.InputStream with SAX. |
Document | modify(Reader r) Parses the specified java.io.Reader with SAX. |
Document | modify(String url) Parses the the given URL or filename. |
Document | modify(URL source) Parses the the given URL. |
void | setOutput(File file) Sets the Output to write the (modified) xml document to. |
void | setOutput(OutputStream outputStream) Sets the Output to write the (modified) xml document to. |
void | setOutput(Writer writer) Sets the Output to write the (modified) xml document to. |
void | setPruneElements(boolean pruneElements) Define whether the modified org.dom4j.Document must only be written to the output and pruned from the DOM4J tree. |