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

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

Introduction

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

The text is from its open source code.

Constructor

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 .

Method

voidendDocument()
Stop writing the document to the output.
voidsetOutput(File file)
Defines to write the resulting output to the specified java.io.File .
voidsetOutput(OutputStream outputStream)
Defines to write the resulting output to the specified java.io.OutputStream
voidsetOutput(Writer writer)
Defines to write the resulting output to the specified Writer .
voidstartDocument()
Start a document by writing the initial XML declaration to the output.
voidwrite(javax.xml.bind.Element jaxbObject)
Writes the specified javax.xml.bind.Element to the document.
voidwriteElement(Element element)
Writes the specified org.dom4j.Element to the document.