public class CharSetXMLWriter extends XMLWriterImpl
A simple serializer for XML documents using the
Charset
from Java 1.4.
Constructor and Description |
---|
CharSetXMLWriter() |
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 pController)
Sets the JaxbXMLSerializers Marshaller.
|
characters, endDocument, endElement, endPrefixMapping, getDocumentLocator, getMarshaller, getWriter, ignorableWhitespace, processingInstruction, setDocumentLocator, setWriter, skippedEntity, startDocument, startElement, startPrefixMapping
public void init(JMMarshallerImpl pController) throws JAXBException
XMLWriterImpl
Sets the JaxbXMLSerializers Marshaller.
init
in interface XMLWriter
init
in class XMLWriterImpl
JAXBException
public boolean canEncode(char c)
XMLWriter
Returns whether the XMLWriter can encode the character
c
without an escape sequence like &#ddd;.
canEncode
in interface XMLWriter
canEncode
in class XMLWriterImpl