org.exolab.adaptx.xslt.util
public class SAXInput extends Object implements ContentHandler, DocumentHandler, LexicalHandler
Version: $Revision: 3928 $ $Date: 2003-10-01 04:52:12 -0400 (Wed, 01 Oct 2003) $
Constructor Summary | |
---|---|
SAXInput()
Creates a new SAXInput
| |
SAXInput(boolean saveLocation)
Creates a new SAXInput
|
Method Summary | |
---|---|
void | characters(char[] chars, int start, int length)
Signals the start of characters |
void | comment(char[] ch, int start, int length)
Signals the start of a comment |
void | endCDATA()
Signals and end to CDATA section |
void | endDocument()
Signals the end of the document
|
void | endDTD()
Signals the end of the DTD internal subset |
void | endElement(String name) DocumentHandler#endElement Signals the end of an element |
void | endElement(String namespaceURI, String localName, String qName) ContentHandler#endElement Signals the end of an element |
void | endEntity(String name)
Signals the end of an Entity |
void | endPrefixMapping(String prefix)
Signals to end the namespace prefix mapping
|
XPathNode | getRoot()
Returns the root XPathNode
|
void | ignorableWhitespace(char[] chars, int start, int length)
Signals the start of ignorable whitespace characters |
void | processingInstruction(String target, String data)
Signals to recieve a processing instruction |
void | setDocumentLocator(Locator locator)
Sets the document locator |
void | setOutputHandler(ResultHandler handler) |
void | setOutputHandler(Writer writer) |
void | setProcessor(XSLTProcessor processor)
Sets the XSLTProcessor to use for the XSL Transformations |
void | setStylesheet(XSLTStylesheet stylesheet) |
void | skippedEntity(String name)
Signals that an entity was skipped by the parser
|
void | startCDATA()
Signals the start of a CDATA section |
void | startDocument()
Signals the start of a document
|
void | startDTD(String name, String publicId, String systemId)
Signals the start of the DTD internal subset |
void | startElement(String name, AttributeList atts) DocumentHandler#startElement Signals the start of element |
void | startElement(String namespaceURI, String localName, String qName, Attributes atts) ContentHandler#startElement Signals the start of element |
void | startEntity(String name)
Signals the start of an Entity |
void | startPrefixMapping(String prefix, String uri)
Signals to start the namespace - prefix mapping
|
Parameters: chars the character array containing the characters to receive start the index into the character array to start receiving characters at length the number of characters to recieve
DocumentHandler#endElement
Signals the end of an elementParameters: name the name of the element
ContentHandler#endElement
Signals the end of an elementParameters: name the name of the element
Parameters: prefix the namespace prefix
Returns: the root XPathNode
Parameters: chars the character array containing the characters to receive start the index into the character array to start receiving characters at length the number of characters to recieve
Parameters: target the target of the processing instruction data the content of the processing instruction
Parameters: locator the Locator used by this DocumentHandler
Parameters: processor the XSLTProcessor to invoke
Parameters: name the skipped entity's name
DocumentHandler#startElement
Signals the start of elementParameters: name the name of the element atts the AttributeList containing the associated attributes for the element
ContentHandler#startElement
Signals the start of elementParameters: name the name of the element atts the AttributeList containing the associated attributes for the element
Parameters: prefix the namespace prefix to map uri the namespace URI