Example usage for Java org.dom4j.jaxb JAXBWriter fields, constructors, methods, implement or subclass
The text is from its open source code.
JAXBWriter(String contextPath) Creates a new JAXBWriter for the given JAXB context path. | |
JAXBWriter(String contextPath, OutputFormat outputFormat) Creates a new JAXBWriter for the given JAXB context path. | |
JAXBWriter(String contextPath, ClassLoader classloader) Creates a new JAXBWriter for the given JAXB context path, using the specified java.lang.ClassLoader . |
void | endDocument() Stop writing the document to the output. |
void | setOutput(File file) Defines to write the resulting output to the specified java.io.File . |
void | setOutput(OutputStream outputStream) Defines to write the resulting output to the specified java.io.OutputStream |
void | setOutput(Writer writer) Defines to write the resulting output to the specified Writer . |
void | startDocument() Start a document by writing the initial XML declaration to the output. |
void | write(javax.xml.bind.Element jaxbObject) Writes the specified javax.xml.bind.Element to the document. |
void | writeElement(Element element) Writes the specified org.dom4j.Element to the document. |