|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.xml.parsers.SAXParser org.apache.mirae.j2me.xml.SAXParserImpl
This is an implementation of javax.xml.parsers.SAXParser
Constructor Summary | |
SAXParserImpl(SAXParserFactory factory)
|
Method Summary | |
boolean |
isNamespaceAware()
Indicates whether or not this parser is configured to understand namespaces. |
boolean |
isNamespacePrefixAware()
This additional feature should be supported by SAX2 |
boolean |
isValidating()
Indicates whether or not this parser is configured to validate XML documents. |
void |
parse(InputSource is,
DefaultHandler handler)
Parse the content given InputSource
as XML using the specified
DefaultHandler . |
void |
parse(java.io.InputStream is,
DefaultHandler dh)
Parse the content of the given InputStream
instance as XML using the specified
DefaultHandler . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SAXParserImpl(SAXParserFactory factory)
Method Detail |
public void parse(java.io.InputStream is, DefaultHandler dh) throws SAXException, java.io.IOException
SAXParser
InputStream
instance as XML using the specified
DefaultHandler
.
parse
in class SAXParser
is
- InputStream containing the content to be parsed.dh
- The SAX DefaultHandler to use.
java.io.IOException
- If any IO errors occur.
SAXException
- If the underlying parser throws a
SAXException while parsing.SAXParser.parse(InputStream, DefaultHandler)
public void parse(InputSource is, DefaultHandler handler) throws SAXException, java.io.IOException
SAXParser
InputSource
as XML using the specified
DefaultHandler
.
parse
in class SAXParser
is
- The InputSource containing the content to be parsed.handler
- The SAX DefaultHandler to use.
SAXException
- If the underlying parser throws a
SAXException while parsing.
java.io.IOException
- If any IO errors occur.SAXParser.parse(InputSource, DefaultHandler)
public boolean isNamespaceAware()
SAXParser
isNamespaceAware
in class SAXParser
SAXParser.isNamespaceAware()
public boolean isNamespacePrefixAware()
public boolean isValidating()
SAXParser
isValidating
in class SAXParser
SAXParser.isValidating()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |