Uses of Class
org.xml.sax.SAXException

Packages that use SAXException
com.sun.xml.parser This package holds two fast "XML Processors" as defined in the XML 1.0 specification; these are parsers (validating and non-validating) with some supporting classes and interfaces. 
com.sun.xml.tree This package supports in-memory XML documents in the form of a parse tree compliant with the W3C DOM Level 1 Core Recommendation, with extensions including support for XML Namespaces as defined by the current XML proposed recommendation. 
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 com.sun.xml.parser
 

Methods in com.sun.xml.parser that throw SAXException
 void Parser.setLocale(java.util.Locale l)
          SAX: Used by applications to request locale for diagnostics.
 java.util.Locale Parser.chooseLocale(java.lang.String[] languages)
          Chooses a client locale to use for diagnostics, using the first language specified in the list that is supported by this parser.
 void Parser.parse(InputSource in)
          SAX: Parse a document.
 void Parser.parse(java.lang.String uri)
          SAX: Parse a document.
 void Parser.pushInputBuffer(char[] buf, int offset, int len)
          In support of the HTML DOM model of client side <xhtml:script> tag processing, this method permits data to be spliced into the input stream.
 void LexicalEventListener.startParsedEntity(java.lang.String name)
          Receive notification that the named entity is being included in document content (not element attributes).
 void LexicalEventListener.endParsedEntity(java.lang.String name, boolean included)
          Receive notification that the named entity inclusion into document content is completed.
 void LexicalEventListener.startCDATA()
          Receive notification that a CDATA section is beginning.
 void LexicalEventListener.endCDATA()
          Receive notification that the CDATA section finished.
 void LexicalEventListener.comment(java.lang.String text)
          Receive notification that a comment has been read.
 void DtdEventListener.startDtd(java.lang.String rootName)
          Receive notification of the beginning of a Document Type Declaration (DTD).
 void DtdEventListener.externalDtdDecl(java.lang.String publicId, java.lang.String systemId)
          Reports the optional unnamed parameter entity which is processed after the internal DTD subset.
 void DtdEventListener.internalDtdDecl(java.lang.String internalSubset)
          Reports the internal DTD subset, as unparsed markup declarations.
 void DtdEventListener.internalEntityDecl(java.lang.String name, java.lang.String value)
          Receive notification of a internal parsed entity declaration event.
 void DtdEventListener.externalEntityDecl(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
          Receive notification of an external parsed entity declaration event.
 void DtdEventListener.elementDecl(java.lang.String elementName, java.lang.String contentModel)
          Reports an element declaration found within the DTD.
 void DtdEventListener.attributeDecl(java.lang.String elementName, java.lang.String attributeName, java.lang.String attributeType, java.lang.String[] options, java.lang.String defaultValue, boolean isFixed, boolean isRequired)
          Reports an attribute declaration found within the DTD.
 void DtdEventListener.endDtd()
          Receive notification of the end of a DTD.
 InputSource Resolver.resolveEntity(java.lang.String name, java.lang.String uri)
          SAX: Resolve the given entity into an input source.
 

Uses of SAXException in com.sun.xml.tree
 

Methods in com.sun.xml.tree that throw SAXException
 void XmlReadable.startParse(ParseContext context)
          This is called before object children are parsed.
 void XmlReadable.doneChild(NodeEx newChild, ParseContext context)
          This is called when each child element has been fully constructed.
 void XmlReadable.doneParse(ParseContext context)
          This is called when the object has been fully parsed, sometime after startParse.
static XmlDocument XmlDocument.createXmlDocument(java.lang.String documentURI, boolean doValidate)
          Construct an XML document from the data at the specified URI, optionally validating.
static XmlDocument XmlDocument.createXmlDocument(java.lang.String documentURI)
          Construct an XML document from the data at the specified URI, using Sun's nonvalidating parser.
static XmlDocument XmlDocument.createXmlDocument(java.io.InputStream in, boolean doValidate)
          Construct an XML document from input stream, optionally validating.
static XmlDocument XmlDocument.createXmlDocument(InputSource in, boolean doValidate)
          Construct an XML document from the data in the specified input source, optionally validating.
 void XmlDocumentBuilder.setLocale(java.util.Locale locale)
          Assigns the locale to be used for diagnostic messages.
 java.util.Locale XmlDocumentBuilder.chooseLocale(java.lang.String[] languages)
          Chooses a client locale to use for diagnostics, using the first language specified in the list that is supported by this builder.
 void XmlDocumentBuilder.startDocument()
          SAX DocumentHandler callback, not for general application use.
 void XmlDocumentBuilder.endDocument()
          SAX DocumentHandler callback, not for general application use.
 void XmlDocumentBuilder.startElement(java.lang.String tag, AttributeList attributes)
          SAX DocumentHandler callback, not for general application use.
 void XmlDocumentBuilder.endElement(java.lang.String tag)
          SAX DocumentHandler callback, not for general application use.
 void XmlDocumentBuilder.comment(java.lang.String text)
          LexicalEventListener callback, not for general application use.
 void XmlDocumentBuilder.startCDATA()
          LexicalEventListener callback, not for general application use.
 void XmlDocumentBuilder.endCDATA()
          LexicalEventListener callback, not for general application use.
 void XmlDocumentBuilder.characters(char[] buf, int offset, int len)
          SAX DocumentHandler callback, not for general application use.
 void XmlDocumentBuilder.ignorableWhitespace(char[] buf, int offset, int len)
          SAX DocumentHandler callback, not for general application use.
 void XmlDocumentBuilder.processingInstruction(java.lang.String name, java.lang.String instruction)
          SAX DocumentHandler callback, not for general application use.
 void XmlDocumentBuilder.startParsedEntity(java.lang.String name)
          LexicalEventListener callback, not for general application use.
 void XmlDocumentBuilder.endParsedEntity(java.lang.String name, boolean included)
          LexicalEventListener callback, not for general application use.
 

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