com.jclark.xsl.sax2
public class NXMLOutputHandler extends Object implements OutputContentHandler
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 namespaceURI, String localName, String qName) |
void | endPrefixMapping(String prefix) |
void | ignorableWhitespace(char[] ch, int off, int len) |
ContentHandler | init(Destination dest, Properties props) |
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 | skippedEntity(String entityName) |
void | startDocument()
SAX startDocument parse event |
void | startElement(String namespaceURI, String localName, String qName, Attributes atts)
captures "control", "data", "char" and "escape" character indicators
and interposes the appropriate character handler |
void | startPrefixMapping(String prefix, String namespaceURI) |
Returns: an initialized instance of this, ready to write to the Destination with the output options specified in props