com.jclark.xsl.sax
public class NXMLOutputHandler extends Object implements OutputDocumentHandler
Constructor Summary | |
---|---|
NXMLOutputHandler() |
Method Summary | |
---|---|
void | characters(char[] ch, int off, int len)
SAX characters event -- send the characters to our current handler |
void | endDocument()
flush the output |
void | endElement(String name) |
void | ignorableWhitespace(char[] ch, int off, int len) |
DocumentHandler | init(Destination dest, AttributeList atts) |
void | pop()
pops a character handler off the stack, reverting to previous
(does this need to be public?) |
void | processingInstruction(String target, String data)
SAX Processing Instruction event handler -- strips PI's from output |
void | push(NXMLOutputHandler.CharacterHandler handler) |
void | setDocumentLocator(Locator loc) |
void | startDocument()
SAX startDocument parse event |
void | startElement(String name, AttributeList atts)
captures "control", "data", "char" and "escape" character indicators
and interposes the appropriate character handler |
Returns: an initialized instance of this, ready to write to the destination