| Package | Description |
|---|---|
| com.sun.ukit.jaxp | |
| javax.xml.parsers | |
| org.xml.sax | |
| org.xml.sax.helpers |
| Modifier and Type | Method and Description |
|---|---|
SAXParser |
ParserFactory.newSAXParser()
Creates a new instance of a SAXParser using the currently
configured factory parameters.
|
void |
Parser.parse(InputSource is,
DefaultHandler handler)
Parse the content given
InputSource
as XML using the specified
DefaultHandler. |
void |
Parser.parse(InputStream src,
DefaultHandler handler)
Parse the content of the given
InputStream
instance as XML using the specified
DefaultHandler. |
| Modifier and Type | Method and Description |
|---|---|
abstract SAXParser |
SAXParserFactory.newSAXParser()
Creates a new instance of a SAXParser using the currently
configured factory parameters.
|
abstract void |
SAXParser.parse(InputSource is,
DefaultHandler dh)
Parse the content given
InputSource
as XML using the specified
DefaultHandler. |
abstract void |
SAXParser.parse(InputStream is,
DefaultHandler dh)
Parse the content of the given
InputStream
instance as XML using the specified
DefaultHandler. |
| Modifier and Type | Class and Description |
|---|---|
class |
SAXNotRecognizedException
Exception class for an unrecognized identifier.
|
class |
SAXNotSupportedException
Exception class for an unsupported operation.
|
class |
SAXParseException
Encapsulate an XML parse error or warning.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultHandler.characters(char[] ch,
int start,
int length)
Receive notification of character data inside an element.
|
void |
DefaultHandler.endDocument()
Receive notification of the end of the document.
|
void |
DefaultHandler.endElement(String uri,
String localName,
String qName)
Receive notification of the end of an element.
|
void |
DefaultHandler.endPrefixMapping(String prefix)
Receive notification of the end of a Namespace mapping.
|
void |
DefaultHandler.error(SAXParseException e)
Receive notification of a recoverable parser error.
|
void |
DefaultHandler.fatalError(SAXParseException e)
Report a fatal XML parsing error.
|
void |
DefaultHandler.ignorableWhitespace(char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content.
|
void |
DefaultHandler.notationDecl(String name,
String publicId,
String systemId)
Receive notification of a notation declaration.
|
void |
DefaultHandler.processingInstruction(String target,
String data)
Receive notification of a processing instruction.
|
InputSource |
DefaultHandler.resolveEntity(String publicId,
String systemId)
Resolve an external entity.
|
void |
DefaultHandler.skippedEntity(String name)
Receive notification of a skipped entity.
|
void |
DefaultHandler.startDocument()
Receive notification of the beginning of the document.
|
void |
DefaultHandler.startElement(String uri,
String localName,
String qName,
Attributes attributes)
Receive notification of the start of an element.
|
void |
DefaultHandler.startPrefixMapping(String prefix,
String uri)
Receive notification of the start of a Namespace mapping.
|
void |
DefaultHandler.unparsedEntityDecl(String name,
String publicIDd,
String systemId,
String notationName)
Receive notification of an unparsed entity declaration.
|
void |
DefaultHandler.warning(SAXParseException e)
Receive notification of a parser warning.
|
Copyright © 2012 code4tv.com. All Rights Reserved.