org.apache.ws.jaxme.impl

Class CharSetXMLWriter

Implemented Interfaces:
org.xml.sax.ContentHandler, XMLWriter

public class CharSetXMLWriter
extends XMLWriterImpl

A simple serializer for XML documents using the java.nio.charset.Charset from Java 1.4.
Author:
Jochen Wiedmann

Method Summary

boolean
canEncode(char c)
void
init(JMMarshallerImpl pController)
Sets the JaxbXMLSerializers Marshaller.

Methods inherited from class org.apache.ws.jaxme.impl.XMLWriterImpl

canEncode, characters, endDocument, endElement, endPrefixMapping, getDocumentLocator, getMarshaller, getWriter, ignorableWhitespace, init, processingInstruction, setDocumentLocator, setWriter, skippedEntity, startDocument, startElement, startPrefixMapping

Method Details

canEncode

public boolean canEncode(char c)
Specified by:
canEncode in interface XMLWriter
Overrides:
canEncode in interface XMLWriterImpl

init

public void init(JMMarshallerImpl pController)
            throws JAXBException
Sets the JaxbXMLSerializers Marshaller.
Specified by:
init in interface XMLWriter
Overrides:
init in interface XMLWriterImpl