|
XML API 1.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SAXException | |
---|---|
javax.xml.parsers | The javax.xml.parsers package contains the Java API for XML Processing (JAXP) subset defined by JSR 280. |
org.xml.sax | This package provides the core of the Java ME SAX API subset defined by JSR 280. |
org.xml.sax.helpers |
Uses of SAXException in javax.xml.parsers |
---|
Methods in javax.xml.parsers that throw SAXException | |
---|---|
abstract XMLReader |
SAXParser.getXMLReader()
Returns the XMLReader that is encapsulated by the
implementation of this class. |
abstract SAXParser |
SAXParserFactory.newSAXParser()
Creates a new instance of a SAXParser using the currently configured factory parameters. |
abstract Document |
DocumentBuilder.parse(InputSource is)
Parse the content of the given input source as an XML document and return a new DOM Document object. |
abstract void |
SAXParser.parse(InputSource is,
DefaultHandler dh)
Parse the content given InputSource
as XML using the specified
DefaultHandler . |
Document |
DocumentBuilder.parse(InputStream is)
Parse the content of the given InputStream as an XML
document and return a new DOM Document object. |
abstract void |
SAXParser.parse(InputStream is,
DefaultHandler dh)
Parse the content of the given InputStream
instance as XML using the specified
DefaultHandler . |
Uses of SAXException in org.xml.sax |
---|
Subclasses of SAXException in org.xml.sax | |
---|---|
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. |
Methods in org.xml.sax that throw SAXException | |
---|---|
void |
ContentHandler.characters(char[] ch,
int start,
int length)
Receive notification of character data. |
void |
ContentHandler.endDocument()
Receive notification of the end of a document. |
void |
ContentHandler.endElement(String uri,
String localName,
String qName)
Receive notification of the end of an element. |
void |
ContentHandler.endPrefixMapping(String prefix)
End the scope of a prefix-URI mapping. |
void |
ErrorHandler.error(SAXParseException exception)
Receive notification of a recoverable error. |
void |
ErrorHandler.fatalError(SAXParseException exception)
Receive notification of a non-recoverable error. |
void |
ContentHandler.ignorableWhitespace(char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content. |
void |
DTDHandler.notationDecl(String name,
String publicId,
String systemId)
Receive notification of a notation declaration event. |
void |
XMLReader.parse(InputSource input)
Parse an XML document. |
void |
XMLReader.parse(String systemId)
Parse an XML document from a system identifier (URI). |
void |
ContentHandler.processingInstruction(String target,
String data)
Receive notification of a processing instruction. |
InputSource |
EntityResolver.resolveEntity(String publicId,
String systemId)
Allow the application to resolve external entities. |
void |
ContentHandler.skippedEntity(String name)
Receive notification of a skipped entity. |
void |
ContentHandler.startDocument()
Receive notification of the beginning of a document. |
void |
ContentHandler.startElement(String uri,
String localName,
String qName,
Attributes atts)
Receive notification of the beginning of an element. |
void |
ContentHandler.startPrefixMapping(String prefix,
String uri)
Begin the scope of a prefix-URI Namespace mapping. |
void |
DTDHandler.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Receive notification of an unparsed entity declaration event. |
void |
ErrorHandler.warning(SAXParseException exception)
Receive notification of a warning. |
Uses of SAXException in org.xml.sax.helpers |
---|
Methods in org.xml.sax.helpers that throw SAXException | |
---|---|
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 publicId,
String systemId,
String notationName)
Receive notification of an unparsed entity declaration. |
void |
DefaultHandler.warning(SAXParseException e)
Receive notification of a parser warning. |
|
XML API 1.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |