org.apache.ws.jaxme
Interface XMLWriter
- org.xml.sax.ContentHandler
- CharSetXMLWriter, OrderedAttributeXMLWriter, PassThroughXMLWriter, XMLWriterImpl
public interface XMLWriter
extends org.xml.sax.ContentHandler
A simple serializer for XML documents.
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(Writer pWriter)- Sets the
Writer to which the Marshaller ought to write.
|
canEncode
public boolean canEncode(char c)
Returns whether the XMLWriter can encode the character
c without an escape sequence like &#ddd;.
setWriter
public void setWriter(Writer pWriter)
throws JAXBExceptionSets the Writer to which the Marshaller ought to write.