| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.jclark.xsl.sax.XMLOutputHandlerpublic class XMLOutputHandlerextends java.lang.Objectimplements OutputDocumentHandler, CommentHandler, RawCharactersHandlerField 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 SAXExceptionpublic void characters(cbuf[] ,
int off,
int len)
throws SAXExceptionpublic void comment(String body)
throws SAXException
- Specified by:
- comment in interface CommentHandler
public void endDocument()
throws SAXExceptionpublic void endElement(String name)
throws SAXExceptionpublic void ignorableWhitespace(ch[] ,
int start,
int length)
throws SAXExceptionpublic DocumentHandler init(Destination dest, AttributeList atts) throws IOException
- Specified by:
- init in interface OutputDocumentHandler
public void markup(String chars)
throws SAXExceptionpublic void processingInstruction(String target,
String data)
throws SAXExceptionpublic 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 SAXExceptionpublic void startElement(String name,
AttributeList atts)
throws SAXException