Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.jclark.xsl.sax.XMLOutputHandler
public class XMLOutputHandler
extends java.lang.Object
implements OutputDocumentHandler, CommentHandler, RawCharactersHandler
Field Summary | |
static byte | |
static byte | |
static byte |
Constructor Summary | |
| |
|
Method Summary | |
protected void |
|
void |
|
void |
|
void | |
void |
|
void |
|
DocumentHandler |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void |
|
public static final byte MINIMIZE_EMPTY_ELEMENTS
- Field Value:
- 1
public static final byte MINIMIZE_EMPTY_ELEMENTS_HTML
- Field Value:
- 2
public static final byte MINIMIZE_NONE
- Field Value:
- 0
public XMLOutputHandler()
Create a XMLOutputHandler that will write in UTF-8 to an OutputStream.
public XMLOutputHandler(OutputStream out)
protected void attributeValue(String value) throws SAXException
public void characters(cbuf[] , int off, int len) throws SAXException
public void comment(String body) throws SAXException
- Specified by:
- comment in interface CommentHandler
public void endDocument() throws SAXException
public void endElement(String name) throws SAXException
public void ignorableWhitespace(ch[] , int start, int length) throws SAXException
public DocumentHandler init(Destination dest, AttributeList atts) throws IOException
- Specified by:
- init in interface OutputDocumentHandler
public void markup(String chars) throws SAXException
public void processingInstruction(String target, String data) throws SAXException
public void rawCharacters(String chars) throws SAXException
- Specified by:
- rawCharacters in interface RawCharactersHandler
public void setDocumentLocator(Locator loc)
public void setMinimize(byte minimize)
public void startDocument() throws SAXException
public void startElement(String name, AttributeList atts) throws SAXException