|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jclark.xsl.sax.NXMLOutputHandler
an output handler that handles our special technique for non XML characters
| 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(java.lang.String name)
|
void |
ignorableWhitespace(char[] ch,
int off,
int len)
|
org.xml.sax.DocumentHandler |
init(Destination dest,
org.xml.sax.AttributeList atts)
initialize with the given target destination and xsl:output attributes. |
void |
pop()
pops a character handler off the stack, reverting to previous (does this need to be public?) |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
SAX Processing Instruction event handler -- strips PI's from output |
void |
push(com.jclark.xsl.sax.NXMLOutputHandler.CharacterHandler handler)
|
void |
setDocumentLocator(org.xml.sax.Locator loc)
|
void |
startDocument()
SAX startDocument parse event |
void |
startElement(java.lang.String name,
org.xml.sax.AttributeList atts)
captures "control", "data", "char" and "escape" character indicators and interposes the appropriate character handler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NXMLOutputHandler()
| Method Detail |
public org.xml.sax.DocumentHandler init(Destination dest,
org.xml.sax.AttributeList atts)
throws java.io.IOException
OutputDocumentHandler
init in interface OutputDocumentHandlerjava.io.IOExceptionpublic void startDocument()
startDocument in interface org.xml.sax.DocumentHandler
public void characters(char[] ch,
int off,
int len)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXException
public void ignorableWhitespace(char[] ch,
int off,
int len)
throws org.xml.sax.SAXException
ignorableWhitespace in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXException
public void startElement(java.lang.String name,
org.xml.sax.AttributeList atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXException
public void endElement(java.lang.String name)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXExceptionpublic void pop()
public void push(com.jclark.xsl.sax.NXMLOutputHandler.CharacterHandler handler)
public void processingInstruction(java.lang.String target,
java.lang.String data)
processingInstruction in interface org.xml.sax.DocumentHandler
public void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXExceptionpublic void setDocumentLocator(org.xml.sax.Locator loc)
setDocumentLocator in interface org.xml.sax.DocumentHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||