Inherits org::xml::sax::ContentHandler, org::xml::sax::DocumentHandler, and org::xml::sax::ErrorHandler.
List of all members.
Public Member Functions |
| SAX2ANY () |
| SAX2ANY (Namespaces context) |
void | setDocumentLocator (Locator locator) |
void | startDocument () throws SAXException |
void | endDocument () throws SAXException |
void | ignorableWhitespace (char[] ch, int start, int length) throws SAXException |
void | processingInstruction (String target, String data) throws SAXException |
void | skippedEntity (String name) throws SAXException |
void | startPrefixMapping (String prefix, String uri) throws SAXException |
void | endPrefixMapping (String prefix) throws SAXException |
void | startElement (String name, AttributeList atts) throws SAXException |
void | startElement (String namespaceURI, String localName, String qName, Attributes atts) throws SAXException |
void | endElement (String name) throws SAXException |
void | endElement (String namespaceURI, String localName, String qName) throws SAXException |
void | characters (char[] ch, int start, int length) throws SAXException |
void | warning (SAXParseException e) throws SAXException |
void | error (SAXParseException e) throws SAXException |
void | fatalError (SAXParseException e) throws SAXException |
AnyNode | getStartingNode () |
Namespaces | getNamespaceContext () |
void | setNamespaceContext (Namespaces context) |
Detailed Description
This class is a SAX Content Handler that build an AnyNode from a stream of SAX events (either SAX1 for compatibility or SAX2)
- Author:
- <a href="blandin@intalio.com>Arnaud Blandin
- Version:
- Revision:
- 1.4
- Date:
- 2004/02/15 00:24:37
Constructor & Destructor Documentation
org.exolab.castor.xml.util.SAX2ANY.SAX2ANY |
( |
|
) |
|
org.exolab.castor.xml.util.SAX2ANY.SAX2ANY |
( |
Namespaces |
context |
) |
|
Constructs a SAX2ANY given a namespace context.
- Parameters:
-
| context | the namespace context in which this handler acts. |
Member Function Documentation
void org.exolab.castor.xml.util.SAX2ANY.characters |
( |
char[] |
ch, |
|
|
int |
start, |
|
|
int |
length | |
|
) |
| | throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.endDocument |
( |
|
) |
throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.endElement |
( |
String |
name |
) |
throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.endElement |
( |
String |
namespaceURI, |
|
|
String |
localName, |
|
|
String |
qName | |
|
) |
| | throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.endPrefixMapping |
( |
String |
prefix |
) |
throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.error |
( |
SAXParseException |
e |
) |
throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.fatalError |
( |
SAXParseException |
e |
) |
throws SAXException |
Namespaces org.exolab.castor.xml.util.SAX2ANY.getNamespaceContext |
( |
|
) |
|
Get the namespace context of this SAX2ANY handler. If the SAX2ANY handler is called during the processing of an XML document, it may happen that the XML fragment parsed by the SAX2ANY handler contains references to namespaces declared in the given context.
- Returns:
- the namespace context to interact with while parsing an XML fragment with the SAX2ANY handler
AnyNode org.exolab.castor.xml.util.SAX2ANY.getStartingNode |
( |
|
) |
|
void org.exolab.castor.xml.util.SAX2ANY.ignorableWhitespace |
( |
char[] |
ch, |
|
|
int |
start, |
|
|
int |
length | |
|
) |
| | throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.processingInstruction |
( |
String |
target, |
|
|
String |
data | |
|
) |
| | throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.setDocumentLocator |
( |
Locator |
locator |
) |
|
Sets the document locator of the current parsed inputsource
- Parameters:
-
| locator | the Locator of the current parsed inputsource |
void org.exolab.castor.xml.util.SAX2ANY.setNamespaceContext |
( |
Namespaces |
context |
) |
|
Set the namespace context in which this handler acts. If this handler is called during the processing of an XML document, it may happen that the XML fragment parsed by the SAX2ANY handler contains references to namespaces declared in the given context.
- Parameters:
-
| context | the namespace context to interact with while parsing an XML fragment with the SAX2ANY handler. |
void org.exolab.castor.xml.util.SAX2ANY.skippedEntity |
( |
String |
name |
) |
throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.startDocument |
( |
|
) |
throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.startElement |
( |
String |
name, |
|
|
AttributeList |
atts | |
|
) |
| | throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.startElement |
( |
String |
namespaceURI, |
|
|
String |
localName, |
|
|
String |
qName, |
|
|
Attributes |
atts | |
|
) |
| | throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.startPrefixMapping |
( |
String |
prefix, |
|
|
String |
uri | |
|
) |
| | throws SAXException |
void org.exolab.castor.xml.util.SAX2ANY.warning |
( |
SAXParseException |
e |
) |
throws SAXException |
The documentation for this class was generated from the following file: