|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.adaptx.xslt.util.SAXInput
A simple *hack* to provide a SAX adapter for the source tree
| Constructor Summary | |
|---|---|
SAXInput()
Creates a new SAXInput |
|
| Method Summary | |
|---|---|
void |
characters(char[] chars,
int start,
int length)
Signals the start of characters |
void |
endDocument()
Signals the end of the document |
void |
endElement(java.lang.String name)
Signals the start of element |
void |
ignorableWhitespace(char[] chars,
int start,
int length)
Signals the start of ignorable whitespace characters |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Signals to recieve a processing instruction |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Sets the document locator |
void |
setOutputHandler(ResultHandler handler)
|
void |
setOutputHandler(java.io.Writer writer)
|
void |
setProcessor(XSLTProcessor processor)
Sets the XSLTProcessor to use for the XSL Transformations |
void |
setStylesheet(XSLTStylesheet stylesheet)
|
void |
startDocument()
Signals the start of a document |
void |
startElement(java.lang.String name,
org.xml.sax.AttributeList atts)
Signals the start of element |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SAXInput()
| Method Detail |
public void setProcessor(XSLTProcessor processor)
processor - the XSLTProcessor to invokepublic void setOutputHandler(ResultHandler handler)
public void setOutputHandler(java.io.Writer writer)
public void setStylesheet(XSLTStylesheet stylesheet)
public void characters(char[] chars,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.DocumentHandlerchars - the character array containing the characters
to receivestart - the index into the character array to start receiving
characters atlength - the number of characters to recieve
org.xml.sax.SAXException
public void endDocument()
throws org.xml.sax.SAXException
endDocument 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.DocumentHandlername - the name of the element
org.xml.sax.SAXException
public void ignorableWhitespace(char[] chars,
int start,
int length)
throws org.xml.sax.SAXException
ignorableWhitespace in interface org.xml.sax.DocumentHandlerchars - the character array containing the characters
to receivestart - the index into the character array to start receiving
characters atlength - the number of characters to recieve
org.xml.sax.SAXException
public void processingInstruction(java.lang.String target,
java.lang.String data)
throws org.xml.sax.SAXException
processingInstruction in interface org.xml.sax.DocumentHandlertarget - the target of the processing instructiondata - the content of the processing instruction
org.xml.sax.SAXExceptionpublic void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator in interface org.xml.sax.DocumentHandlerlocator - the Locator used by this DocumentHandler
public void startDocument()
throws org.xml.sax.SAXException
startDocument 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.DocumentHandlername - the name of the elementatts - the AttributeList containing the associated
attributes for the element
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||