Uses of Class org.xml.sax.SAXException

Uses in package javax.xml.validation

Methods which throw type org.xml.sax.SAXException

Schema
Creates a special schema.
Schema
Returns a schema based on the specified source file.
Schema
Returns a schema based on the specified URL.
Schema
Returns a schema based on the specified source resource.
Schema
Parses the specified sources, and combine them into a single schema.
void
Validate the specified input.
void
Validator.validate(Source source, Result result)
Validate the specified input.

Uses in package org.xml.sax.ext

Methods which throw type org.xml.sax.SAXException

void
DeclHandler.attributeDecl(String eName, String aName, String type, String mode, String value)
Report an attribute type declaration.
void
DefaultHandler2.attributeDecl(String eName, String aName, String type, String mode, String value)
Report an attribute type declaration.
void
DefaultHandler2.comment(ch[] , int start, int length)
Report an XML comment anywhere in the document.
void
LexicalHandler.comment(ch[] , int start, int length)
Report an XML comment anywhere in the document.
void
Report an element type declaration.
void
Report an element type declaration.
void
Report the end of a CDATA section.
void
Report the end of a CDATA section.
void
Report the end of DTD declarations.
void
Report the end of DTD declarations.
void
Report the end of an entity.
void
Report the end of an entity.
void
DeclHandler.externalEntityDecl(String name, String publicId, String systemId)
Report a parsed external entity declaration.
void
Report a parsed external entity declaration.
InputSource
Tells the parser that if no external subset has been declared in the document text, none should be used.
InputSource
Allows applications to provide an external subset for documents that don't explicitly define one.
void
Report an internal entity declaration.
void
Report an internal entity declaration.
InputSource
Invokes EntityResolver2.resolveEntity() with null entity name and base URI.
InputSource
DefaultHandler2.resolveEntity(String name, String publicId, String baseURI, String systemId)
Tells the parser to resolve the systemId against the baseURI and read the entity text from that resulting absolute URI.
InputSource
EntityResolver2.resolveEntity(String name, String publicId, String baseURI, String systemId)
Allows applications to map references to external entities into input sources, or tell the parser it should use conventional URI resolution.
void
Report the start of a CDATA section.
void
Report the start of a CDATA section.
void
DefaultHandler2.startDTD(String name, String publicId, String systemId)
Report the start of DTD declarations, if any.
void
LexicalHandler.startDTD(String name, String publicId, String systemId)
Report the start of DTD declarations, if any.
void
Report the beginning of some internal and external XML entities.
void
Report the beginning of some internal and external XML entities.

Uses in package org.xml.sax.helpers

Constructors which throw type org.xml.sax.SAXException

Construct a new parser adapter.
Create a new adapter.

Methods which throw type org.xml.sax.SAXException

void
DefaultHandler.characters(ch[] , int start, int length)
Receive notification of character data inside an element.
void
ParserAdapter.characters(ch[] , int start, int length)
Adapter implementation method; do not call.
void
XMLFilterImpl.characters(ch[] , int start, int length)
Filter a character data event.
void
XMLReaderAdapter.characters(ch[] , int start, int length)
Adapt a SAX2 characters event.
XMLReader
Attempt to create an XMLReader from system defaults.
XMLReader
Attempt to create an XML reader from a class name.
void
Receive notification of the end of the document.
void
Adapter implementation method; do not call.
void
Filter an end document event.
void
End document event.
void
Adapter implementation method; do not call.
void
DefaultHandler.endElement(String uri, String localName, String qName)
Receive notification of the end of an element.
void
XMLFilterImpl.endElement(String uri, String localName, String qName)
Filter an end element event.
void
XMLReaderAdapter.endElement(String uri, String localName, String qName)
Adapt a SAX2 end element event.
void
Receive notification of the end of a Namespace mapping.
void
Filter an end Namespace prefix mapping event.
void
Receive notification of a recoverable parser error.
void
Filter an error event.
void
Report a fatal XML parsing error.
void
Filter a fatal error event.
void
DefaultHandler.ignorableWhitespace(ch[] , int start, int length)
Receive notification of ignorable whitespace in element content.
void
ParserAdapter.ignorableWhitespace(ch[] , int start, int length)
Adapter implementation method; do not call.
void
XMLFilterImpl.ignorableWhitespace(ch[] , int start, int length)
Filter an ignorable whitespace event.
void
XMLReaderAdapter.ignorableWhitespace(ch[] , int start, int length)
Adapt a SAX2 ignorable whitespace event.
void
DefaultHandler.notationDecl(String name, String publicId, String systemId)
Receive notification of a notation declaration.
void
XMLFilterImpl.notationDecl(String name, String publicId, String systemId)
Filter a notation declaration event.
void
Parse an XML document.
void
Parse a document.
void
Parse the document.
void
Parse an XML document.
void
Parse a document.
void
Parse the document.
void
Receive notification of a processing instruction.
void
Adapter implementation method; do not call.
void
Filter a processing instruction event.
void
Adapt a SAX2 processing instruction event.
InputSource
Resolve an external entity.
InputSource
Filter an external entity resolution.
void
Set the locale for error reporting.
void
Receive notification of a skipped entity.
void
Filter a skipped entity event.
void
Adapt a SAX2 skipped entity event.
void
Receive notification of the beginning of the document.
void
Adapter implementation method; do not call.
void
Filter a start document event.
void
Start document event.
void
DefaultHandler.startElement(String uri, String localName, String qName, Attributes attributes)
Receive notification of the start of an element.
void
XMLFilterImpl.startElement(String uri, String localName, String qName, Attributes atts)
Filter a start element event.
void
XMLReaderAdapter.startElement(String uri, String localName, String qName, Attributes atts)
Adapt a SAX2 start element event.
void
Adapter implementation method; do not call.
void
Receive notification of the start of a Namespace mapping.
void
Filter a start Namespace prefix mapping event.
void
DefaultHandler.unparsedEntityDecl(String name, String publicId, String systemId, String notationName)
Receive notification of an unparsed entity declaration.
void
XMLFilterImpl.unparsedEntityDecl(String name, String publicId, String systemId, String notationName)
Filter an unparsed entity declaration event.
void
Receive notification of a parser warning.
void
Filter a warning event.

Uses in package javax.xml.parsers

Methods which throw type org.xml.sax.SAXException

Parser
Returns the underlying SAX1 parser.
XMLReader
Returns the underlying SAX2 parser.
SAXParser
Creates a new parser instance using the currently specified factory configuration.
Document
Parse the specified file and return a DOM Document.
void
Parse the content of the specified file, reporting SAX1 events to the given handler.
void
Parse the content of the specified file, reporting SAX2 events to the given handler.
Document
Parse the specified input stream and return a DOM Document.
Document
Parse the specified input stream and return a DOM Document.
void
Parse the specifed input stream, reporting SAX1 events to the given handler.
void
Parse the specified input stream, reporting SAX1 events to the given handler.
void
Parse the specified input stream, reporting SAX2 events to the given handler.
void
Parse the specified input stream, reporting SAX2 events to the given handler.
Document
Parse the content of the specified URI and return a DOM Document.
void
Parse the content of the specified URI, reporting SAX1 events to the given handler.
void
Parse the content of the specified URI, reporting SAX2 events to the given handler.
Document
Parse the specified input source and return a DOM Document.
void
Parse the specified input source, reporting SAX1 events to the given handler.
void
Parse the specified input source, reporting SAX2 events to the given handler.

Uses in package org.xml.sax

Classes derived from org.xml.sax.SAXException

class
Exception class for an unrecognized identifier.
class
Exception class for an unsupported operation.
class
Encapsulate an XML parse error or warning.

Methods which throw type org.xml.sax.SAXException

void
ContentHandler.characters(ch[] , int start, int length)
Receive notification of character data.
void
DocumentHandler.characters(ch[] , int start, int length)
Receive notification of character data.
void
HandlerBase.characters(ch[] , int start, int length)
Receive notification of character data inside an element.
void
Receive notification of the end of a document.
void
Receive notification of the end of a document.
void
Receive notification of the end of the document.
void
Receive notification of the end of an element.
void
Receive notification of the end of an element.
void
ContentHandler.endElement(String uri, String localName, String qName)
Receive notification of the end of an element.
void
End the scope of a prefix-URI mapping.
void
Receive notification of a recoverable error.
void
Receive notification of a recoverable parser error.
void
Receive notification of a non-recoverable error.
void
Report a fatal XML parsing error.
void
ContentHandler.ignorableWhitespace(ch[] , int start, int length)
Receive notification of ignorable whitespace in element content.
void
DocumentHandler.ignorableWhitespace(ch[] , int start, int length)
Receive notification of ignorable whitespace in element content.
void
HandlerBase.ignorableWhitespace(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
Parser.parse(String systemId)
Parse an XML document from a system identifier (URI).
void
Parse an XML document from a system identifier (URI).
void
Parse an XML document.
void
Parse an XML document.
void
Receive notification of a processing instruction.
void
Receive notification of a processing instruction.
void
Receive notification of a processing instruction.
InputSource
Allow the application to resolve external entities.
InputSource
HandlerBase.resolveEntity(String publicId, String systemId)
Resolve an external entity.
void
Allow an application to request a locale for errors and warnings.
void
Receive notification of a skipped entity.
void
Receive notification of the beginning of a document.
void
Receive notification of the beginning of a document.
void
Receive notification of the beginning of the document.
void
ContentHandler.startElement(String uri, String localName, String qName, Attributes atts)
Receive notification of the beginning of an element.
void
Receive notification of the beginning of an element.
void
Receive notification of the start of an element.
void
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
Receive notification of a warning.
void
Receive notification of a parser warning.