|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.commons.serialize.XMLWriterImpl
org.apache.ws.commons.serialize.CharSetXMLWriter
public class CharSetXMLWriter
An improved version of XMLWriterImpl,
using theCharset from Java 1.4.
| Field Summary |
|---|
| Fields inherited from class org.apache.ws.commons.serialize.XMLWriterImpl |
|---|
curIndent |
| Constructor Summary | |
|---|---|
CharSetXMLWriter()
|
|
| Method Summary | |
|---|---|
boolean |
canEncode(char c)
Returns whether the XMLWriter can encode the character c without an escape sequence like &#ddd;. |
void |
startDocument()
Starts a document. |
| Methods inherited from class org.apache.ws.commons.serialize.XMLWriterImpl |
|---|
characters, endDocument, endElement, endPrefixMapping, getDocumentLocator, getEncoding, getIndentString, getLineFeed, getWriter, ignorableWhitespace, isDeclarating, isFlushing, isIndenting, processingInstruction, setDeclarating, setDocumentLocator, setEncoding, setFlushing, setIndenting, setIndentString, setLineFeed, setWriter, skippedEntity, startElement, startPrefixMapping |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CharSetXMLWriter()
| Method Detail |
|---|
public void startDocument()
throws org.xml.sax.SAXException
XMLWriterImplStarts a document.
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class XMLWriterImplorg.xml.sax.SAXException - Not actually thrown, just for compliance to the interface specification.public 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 XMLWriterImplc - The character being checked for escaping.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||