Uses of Class
org.xml.sax.SAXException

Packages that use SAXException
javax.xml.parsers Provides classes allowing the processing of XML documents. 
org.xml.sax SAX (Simple API to XML) is an event-driven parser API, which supports most of the widely available XML parsers. 
 

Uses of SAXException in javax.xml.parsers
 

Methods in javax.xml.parsers that throw SAXException
 void SAXParser.parse(java.io.InputStream is, HandlerBase hb)
          Parse the content of the given java.io.InputStream instance as XML using the specified org.xml.sax.HandlerBase.
 void SAXParser.parse(java.lang.String uri, HandlerBase hb)
          Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified org.xml.sax.HandlerBase.
 void SAXParser.parse(java.io.File f, HandlerBase hb)
          Parse the content of the file specified as XML using the specified org.xml.sax.HandlerBase.
 void SAXParser.parse(InputSource is, HandlerBase hb)
          Parse the content given org.xml.sax.InputSource as XML using the specified org.xml.sax.HandlerBase.
abstract  Parser SAXParser.getParser()
          Returns the SAX parser that is encapsultated by the implementation of this class.
 Document DocumentBuilder.parse(java.io.InputStream is)
          Parse the content of the given InputStream as an XML document and return a new DOM Document object.
 Document DocumentBuilder.parse(java.lang.String uri)
          Parse the content of the given URI as an XML document and return a new DOM Document object.
 Document DocumentBuilder.parse(java.io.File f)
          Parse the content of the given file as an XML document and return a new DOM Document object.
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  SAXParser SAXParserFactory.newSAXParser()
          Creates a new instance of a SAXParser using the currently configured factory parameters.
 

Uses of SAXException in org.xml.sax
 

Subclasses of SAXException in org.xml.sax
 interface SAXParseException
          Encapsulate an XML parse error or warning.
 

Methods in org.xml.sax that throw SAXException
 InputSource EntityResolver.resolveEntity(java.lang.String publicId, java.lang.String systemId)
          Allow the application to resolve external entities.
 InputSource HandlerBase.resolveEntity(java.lang.String publicId, java.lang.String systemId)
          Resolve an external entity.
 void HandlerBase.startDocument()
          Receive notification of the beginning of the document.
 void HandlerBase.endDocument()
          Receive notification of the end of the document.
 void HandlerBase.startElement(java.lang.String name, AttributeList attributes)
          Receive notification of the start of an element.
 void HandlerBase.endElement(java.lang.String name)
          Receive notification of the end of an element.
 void HandlerBase.characters(char[] ch, int start, int length)
          Receive notification of character data inside an element.
 void HandlerBase.ignorableWhitespace(char[] ch, int start, int length)
          Receive notification of ignorable whitespace in element content.
 void HandlerBase.processingInstruction(java.lang.String target, java.lang.String data)
          Receive notification of a processing instruction.
 void HandlerBase.warning(SAXParseException e)
          Receive notification of a parser warning.
 void HandlerBase.error(SAXParseException e)
          Receive notification of a recoverable parser error.
 void HandlerBase.fatalError(SAXParseException e)
          Report a fatal XML parsing error.
 void Parser.setLocale(java.util.Locale locale)
          Allow an application to request a locale for errors and warnings.
 void Parser.parse(InputSource source)
          Parse an XML document.
 void Parser.parse(java.lang.String systemId)
          Parse an XML document from a system identifier (URI).
 void DocumentHandler.startDocument()
          Receive notification of the beginning of a document.
 void DocumentHandler.endDocument()
          Receive notification of the end of a document.
 void DocumentHandler.startElement(java.lang.String name, AttributeList atts)
          Receive notification of the beginning of an element.
 void DocumentHandler.endElement(java.lang.String name)
          Receive notification of the end of an element.
 void DocumentHandler.characters(char[] ch, int start, int length)
          Receive notification of character data.
 void DocumentHandler.ignorableWhitespace(char[] ch, int start, int length)
          Receive notification of ignorable whitespace in element content.
 void DocumentHandler.processingInstruction(java.lang.String target, java.lang.String data)
          Receive notification of a processing instruction.
 void ErrorHandler.warning(SAXParseException exception)
          Receive notification of a warning.
 void ErrorHandler.error(SAXParseException exception)
          Receive notification of a recoverable error.
 void ErrorHandler.fatalError(SAXParseException exception)
          Receive notification of a non-recoverable error.
 void DTDHandler.notationDecl(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
          Receive notification of a notation declaration event.
 void DTDHandler.unparsedEntityDecl(java.lang.String name, java.lang.String publicId, java.lang.String systemId, java.lang.String notationName)
          Receive notification of an unparsed entity declaration event.
 



Submit Feedback to xml-feedback@java.sun.com
Copyright © 1998-2000 Sun Microsystems, Inc. All Rights Reserved.

Sun Microsystems, Inc.
901 San Antonio Road
Palo Alto, California, 94303, U.S.A.