JavaTM 2 Platform
Std. Ed. v1.4.2

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 Provides the classes and interfaces for the Simple API for XML (SAX) which is a component of the Java API for XML Processing
org.xml.sax.ext Provides extension classes and interfaces for the Simple API for XML (SAX) which is a component of the Java API for XML Processing
org.xml.sax.helpers Provides helper classes for the Simple API for XML (SAX) which is a component of the Java API for XML Processing
 

Uses of SAXException in javax.xml.parsers
 

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

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
 InputSource HandlerBase.resolveEntity(String publicId, String systemId)
          Deprecated. Resolve an external entity.
 void HandlerBase.startDocument()
          Deprecated. Receive notification of the beginning of the document.
 void HandlerBase.endDocument()
          Deprecated. Receive notification of the end of the document.
 void HandlerBase.startElement(String name, AttributeList attributes)
          Deprecated. Receive notification of the start of an element.
 void HandlerBase.endElement(String name)
          Deprecated. Receive notification of the end of an element.
 void HandlerBase.characters(char[] ch, int start, int length)
          Deprecated. Receive notification of character data inside an element.
 void HandlerBase.ignorableWhitespace(char[] ch, int start, int length)
          Deprecated. Receive notification of ignorable whitespace in element content.
 void HandlerBase.processingInstruction(String target, String data)
          Deprecated. Receive notification of a processing instruction.
 void HandlerBase.warning(SAXParseException e)
          Deprecated. Receive notification of a parser warning.
 void HandlerBase.error(SAXParseException e)
          Deprecated. Receive notification of a recoverable parser error.
 void HandlerBase.fatalError(SAXParseException e)
          Deprecated. Report a fatal XML parsing error.
 void DocumentHandler.startDocument()
          Deprecated. Receive notification of the beginning of a document.
 void DocumentHandler.endDocument()
          Deprecated. Receive notification of the end of a document.
 void DocumentHandler.startElement(String name, AttributeList atts)
          Deprecated. Receive notification of the beginning of an element.
 void DocumentHandler.endElement(String name)
          Deprecated. Receive notification of the end of an element.
 void DocumentHandler.characters(char[] ch, int start, int length)
          Deprecated. Receive notification of character data.
 void DocumentHandler.ignorableWhitespace(char[] ch, int start, int length)
          Deprecated. Receive notification of ignorable whitespace in element content.
 void DocumentHandler.processingInstruction(String target, String data)
          Deprecated. Receive notification of a processing instruction.
 void Parser.setLocale(Locale locale)
          Deprecated. Allow an application to request a locale for errors and warnings.
 void Parser.parse(InputSource source)
          Deprecated. Parse an XML document.
 void Parser.parse(String systemId)
          Deprecated. Parse an XML document from a system identifier (URI).
 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.startDocument()
          Receive notification of the beginning of a document.
 void ContentHandler.endDocument()
          Receive notification of the end of a document.
 void ContentHandler.startPrefixMapping(String prefix, String uri)
          Begin the scope of a prefix-URI Namespace mapping.
 void ContentHandler.endPrefixMapping(String prefix)
          End the scope of a prefix-URI mapping.
 void ContentHandler.startElement(String namespaceURI, String localName, String qName, Attributes atts)
          Receive notification of the beginning of an element.
 void ContentHandler.endElement(String namespaceURI, String localName, String qName)
          Receive notification of the end of an element.
 void ContentHandler.characters(char[] ch, int start, int length)
          Receive notification of character data.
 void ContentHandler.ignorableWhitespace(char[] ch, int start, int length)
          Receive notification of ignorable whitespace in element content.
 void ContentHandler.processingInstruction(String target, String data)
          Receive notification of a processing instruction.
 void ContentHandler.skippedEntity(String name)
          Receive notification of a skipped entity.
 void DTDHandler.notationDecl(String name, String publicId, String systemId)
          Receive notification of a notation declaration event.
 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.
 void ErrorHandler.error(SAXParseException exception)
          Receive notification of a recoverable error.
 void ErrorHandler.fatalError(SAXParseException exception)
          Receive notification of a non-recoverable error.
 InputSource EntityResolver.resolveEntity(String publicId, String systemId)
          Allow the application to resolve external entities.
 

Uses of SAXException in org.xml.sax.ext
 

Methods in org.xml.sax.ext that throw SAXException
 void LexicalHandler.startDTD(String name, String publicId, String systemId)
          Report the start of DTD declarations, if any.
 void LexicalHandler.endDTD()
          Report the end of DTD declarations.
 void LexicalHandler.startEntity(String name)
          Report the beginning of some internal and external XML entities.
 void LexicalHandler.endEntity(String name)
          Report the end of an entity.
 void LexicalHandler.startCDATA()
          Report the start of a CDATA section.
 void LexicalHandler.endCDATA()
          Report the end of a CDATA section.
 void LexicalHandler.comment(char[] ch, int start, int length)
          Report an XML comment anywhere in the document.
 void DeclHandler.elementDecl(String name, String model)
          Report an element type declaration.
 void DeclHandler.attributeDecl(String eName, String aName, String type, String valueDefault, String value)
          Report an attribute type declaration.
 void DeclHandler.internalEntityDecl(String name, String value)
          Report an internal entity declaration.
 void DeclHandler.externalEntityDecl(String name, String publicId, String systemId)
          Report a parsed external entity declaration.
 

Uses of SAXException in org.xml.sax.helpers
 

Methods in org.xml.sax.helpers that throw SAXException
 void XMLReaderAdapter.setLocale(Locale locale)
          Set the locale for error reporting.
 void XMLReaderAdapter.parse(String systemId)
          Parse the document.
 void XMLReaderAdapter.parse(InputSource input)
          Parse the document.
 void XMLReaderAdapter.startDocument()
          Start document event.
 void XMLReaderAdapter.endDocument()
          End document event.
 void XMLReaderAdapter.startElement(String uri, String localName, String qName, Attributes atts)
          Adapt a SAX2 start element event.
 void XMLReaderAdapter.endElement(String uri, String localName, String qName)
          Adapt a SAX2 end element event.
 void XMLReaderAdapter.characters(char[] ch, int start, int length)
          Adapt a SAX2 characters event.
 void XMLReaderAdapter.ignorableWhitespace(char[] ch, int start, int length)
          Adapt a SAX2 ignorable whitespace event.
 void XMLReaderAdapter.processingInstruction(String target, String data)
          Adapt a SAX2 processing instruction event.
 void XMLReaderAdapter.skippedEntity(String name)
          Adapt a SAX2 skipped entity event.
 void XMLFilterImpl.parse(InputSource input)
          Parse a document.
 void XMLFilterImpl.parse(String systemId)
          Parse a document.
 InputSource XMLFilterImpl.resolveEntity(String publicId, String systemId)
          Filter an external entity resolution.
 void XMLFilterImpl.notationDecl(String name, String publicId, String systemId)
          Filter a notation declaration event.
 void XMLFilterImpl.unparsedEntityDecl(String name, String publicId, String systemId, String notationName)
          Filter an unparsed entity declaration event.
 void XMLFilterImpl.startDocument()
          Filter a start document event.
 void XMLFilterImpl.endDocument()
          Filter an end document event.
 void XMLFilterImpl.startPrefixMapping(String prefix, String uri)
          Filter a start Namespace prefix mapping event.
 void XMLFilterImpl.endPrefixMapping(String prefix)
          Filter an end Namespace prefix mapping event.
 void XMLFilterImpl.startElement(String uri, String localName, String qName, Attributes atts)
          Filter a start element event.
 void XMLFilterImpl.endElement(String uri, String localName, String qName)
          Filter an end element event.
 void XMLFilterImpl.characters(char[] ch, int start, int length)
          Filter a character data event.
 void XMLFilterImpl.ignorableWhitespace(char[] ch, int start, int length)
          Filter an ignorable whitespace event.
 void XMLFilterImpl.processingInstruction(String target, String data)
          Filter a processing instruction event.
 void XMLFilterImpl.skippedEntity(String name)
          Filter a skipped entity event.
 void XMLFilterImpl.warning(SAXParseException e)
          Filter a warning event.
 void XMLFilterImpl.error(SAXParseException e)
          Filter an error event.
 void XMLFilterImpl.fatalError(SAXParseException e)
          Filter a fatal error event.
 void ParserAdapter.parse(String systemId)
          Parse an XML document.
 void ParserAdapter.parse(InputSource input)
          Parse an XML document.
 void ParserAdapter.startDocument()
          Adapt a SAX1 start document event.
 void ParserAdapter.endDocument()
          Adapt a SAX1 end document event.
 void ParserAdapter.startElement(String qName, AttributeList qAtts)
          Adapt a SAX1 startElement event.
 void ParserAdapter.endElement(String qName)
          Adapt a SAX1 end element event.
 void ParserAdapter.characters(char[] ch, int start, int length)
          Adapt a SAX1 characters event.
 void ParserAdapter.ignorableWhitespace(char[] ch, int start, int length)
          Adapt a SAX1 ignorable whitespace event.
 void ParserAdapter.processingInstruction(String target, String data)
          Adapt a SAX1 processing instruction event.
static XMLReader XMLReaderFactory.createXMLReader()
          Attempt to create an XML reader from a system property.
static XMLReader XMLReaderFactory.createXMLReader(String className)
          Attempt to create an XML reader from a class name.
 InputSource DefaultHandler.resolveEntity(String publicId, String systemId)
          Resolve an external entity.
 void DefaultHandler.notationDecl(String name, String publicId, String systemId)
          Receive notification of a notation declaration.
 void DefaultHandler.unparsedEntityDecl(String name, String publicId, String systemId, String notationName)
          Receive notification of an unparsed entity declaration.
 void DefaultHandler.startDocument()
          Receive notification of the beginning of the document.
 void DefaultHandler.endDocument()
          Receive notification of the end of the document.
 void DefaultHandler.startPrefixMapping(String prefix, String uri)
          Receive notification of the start of a Namespace mapping.
 void DefaultHandler.endPrefixMapping(String prefix)
          Receive notification of the end of a Namespace mapping.
 void DefaultHandler.startElement(String uri, String localName, String qName, Attributes attributes)
          Receive notification of the start of an element.
 void DefaultHandler.endElement(String uri, String localName, String qName)
          Receive notification of the end of an element.
 void DefaultHandler.characters(char[] ch, int start, int length)
          Receive notification of character data inside an element.
 void DefaultHandler.ignorableWhitespace(char[] ch, int start, int length)
          Receive notification of ignorable whitespace in element content.
 void DefaultHandler.processingInstruction(String target, String data)
          Receive notification of a processing instruction.
 void DefaultHandler.skippedEntity(String name)
          Receive notification of a skipped entity.
 void DefaultHandler.warning(SAXParseException e)
          Receive notification of a parser warning.
 void DefaultHandler.error(SAXParseException e)
          Receive notification of a recoverable parser error.
 void DefaultHandler.fatalError(SAXParseException e)
          Report a fatal XML parsing error.
 

Constructors in org.xml.sax.helpers that throw SAXException
XMLReaderAdapter()
          Create a new adapter.
ParserAdapter()
          Construct a new parser adapter.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.