public interface XMLWriter
extends org.xml.sax.ContentHandler
A simple serializer for XML documents.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEncode(char c)
Returns whether the XMLWriter can encode the character
c without an escape sequence like &#ddd;. |
void |
init(JMMarshallerImpl pMarshaller)
Initializes the XMLWriter by setting the Marshaller which created it.
|
void |
setWriter(java.io.Writer pWriter)
Sets the
Writer to which the Marshaller ought to write. |
void init(JMMarshallerImpl pMarshaller) throws JAXBException
Initializes the XMLWriter by setting the Marshaller which created it.
JAXBExceptionvoid setWriter(java.io.Writer pWriter)
throws JAXBException
Sets the Writer to which the Marshaller ought to write.
JAXBExceptionboolean canEncode(char c)
Returns whether the XMLWriter can encode the character
c without an escape sequence like &#ddd;.