com.jclark.xsl.sax2
public class XMLOutputHandler extends Object implements OutputContentHandler, CommentHandler, RawCharactersHandler
| Field Summary | |
|---|---|
| static byte | MINIMIZE_EMPTY_ELEMENTS |
| static byte | MINIMIZE_EMPTY_ELEMENTS_HTML |
| static byte | MINIMIZE_NONE |
| Constructor Summary | |
|---|---|
| XMLOutputHandler()
Create a XMLOutputHandler that will write in UTF-8
to an OutputStream. | |
| XMLOutputHandler(OutputStream out) | |
| Method Summary | |
|---|---|
| protected void | attributeValue(String value) |
| void | characters(char[] cbuf, int off, int len) |
| void | comment(String body) |
| void | endDocument() |
| void | endElement(String namespace, String localName, String qName) |
| void | endPrefixMapping(String prefix) |
| void | ignorableWhitespace(char[] ch, int start, int length) |
| ContentHandler | init(Destination dest, Properties props)
return this intialized for writing to the
output represented by dest with the output
parameters found in props. |
| void | markup(String chars) |
| void | processingInstruction(String target, String data) |
| void | rawCharacters(String chars) |
| void | setDocumentLocator(Locator loc) |
| void | setMinimize(byte minimize) |
| void | skippedEntity(String name) |
| void | startDocument() |
| void | startElement(String namespace, String localName, String qName, Attributes atts) |
| void | startPrefixMapping(String prefix, String namespaceURI) |
this intialized for writing to the
output represented by dest with the output
parameters found in props.