|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.rim.device.api.xml.parsers.SAXParser
|
+--net.rim.device.api.xml.jaxp.SAXParserImpl
javax.xml.parsers.SAXParser| Constructor Summary | ||
SAXParserImpl()
|
||
| Method Summary | ||
boolean |
getAllowUndefinedNamespaces()
|
|
boolean |
isNamespaceAware()
Indicates whether or not this parser is configured to understand namespaces. |
|
boolean |
isValidating()
Indicates whether or not this parser is configured to validate XML documents. |
|
void |
parse(InputSource is,
DefaultHandler dh)
Parse the content of the given org.xml.InputSource
instance as XML using the specified
DefaultHandler. |
|
void |
parse(InputStream is,
DefaultHandler dh)
Parse the content of the given InputStream
instance as XML using the specified
DefaultHandler. |
|
void |
parse(InputStream is,
DefaultHandler dh,
IntHashtable tagTables,
IntHashtable attrStartTables,
IntHashtable attrTables)
Parse the content of the given InputStream
instance as XML using the specified
DefaultHandler. |
|
void |
parse(InputStream is,
DefaultHandler dh,
String[] tagTable,
String[] attrStartTable,
String[] attrTable)
Parse the content of the given InputStream
instance as XML using the specified
DefaultHandler. |
|
void |
parse(String url,
DefaultHandler dh,
boolean autoCodeBookManagement)
Parse the content of the given url as XML using the specified DefaultHandler. |
|
void |
setAllowUndefinedNamespaces(boolean allowUndefinedNamespaces)
|
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
| Method Detail |
public boolean getAllowUndefinedNamespaces()
getAllowUndefinedNamespaces in class SAXParserpublic void setAllowUndefinedNamespaces(boolean allowUndefinedNamespaces)
setAllowUndefinedNamespaces in class SAXParserpublic boolean isNamespaceAware()
isNamespaceAware in class SAXParserpublic boolean isValidating()
isValidating in class SAXParserpublic void parse(InputStream is, DefaultHandler dh) throws SAXException, IOException
InputStream
instance as XML using the specified
DefaultHandler.is - InputStream containing the content to be parsed.dh - The SAX DefaultHandler to use.IOException - If any IO errors occur.IllegalArgumentException - If the given InputStream is null.SAXException - If the underlying parser throws a
SAXException while parsing.DocumentHandlerpublic void parse(InputSource is, DefaultHandler dh) throws SAXException, IOException
org.xml.InputSource
instance as XML using the specified
DefaultHandler.is - InputSource containing the content to be parsed.dh - The SAX DefaultHandler to use.IOException - If any IO errors occur.IllegalArgumentException - If the given InputStream is null.SAXException - If the underlying parser throws a
SAXException while parsing.DocumentHandlerpublic void parse(InputStream is, DefaultHandler dh, String[] tagTable, String[] attrStartTable, String[] attrTable) throws SAXException, IOException
InputStream
instance as XML using the specified
DefaultHandler.is - InputStream containing the content to be parsed.dh - The SAX DefaultHandler to use.tagTable - The tagTableattrStartTable - The attrStartTableattrTable - The attrValueTableIOException - If any IO errors occur.IllegalArgumentException - If the given InputStream is null.SAXException - If the underlying parser throws a
SAXException while parsing.DocumentHandlerpublic void parse(InputStream is, DefaultHandler dh, IntHashtable tagTables, IntHashtable attrStartTables, IntHashtable attrTables) throws SAXException, IOException
InputStream
instance as XML using the specified
DefaultHandler.is - InputStream containing the content to be parsed.dh - The SAX DefaultHandler to use.tagTable - The tagTablesattrStartTable - The attrStartTablesattrTable - The attrValueTablesIOException - If any IO errors occur.IllegalArgumentException - If the given InputStream is null.SAXException - If the underlying parser throws a
SAXException while parsing.DocumentHandlerpublic void parse(String url, DefaultHandler dh, boolean autoCodeBookManagement) throws SAXException, IOException
DefaultHandler.url - the URL of the XML to parsedh - The SAX DefaultHandler to use.autoCodeBookManagement - perform automatic code book management
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2004 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.