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, startPrefixMappingpublic void init(JMMarshallerImpl pController) throws JAXBException
XMLWriterImplSets the JaxbXMLSerializers Marshaller.
init in interface XMLWriterinit in class XMLWriterImplJAXBExceptionpublic boolean canEncode(char c)
XMLWriterReturns whether the XMLWriter can encode the character
c without an escape sequence like &#ddd;.
canEncode in interface XMLWritercanEncode in class XMLWriterImpl