|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SAXException | |
gnu.xml.aelfred2 | This package contains Ælfred2, which includes an enhanced SAX2-compatible version of the Ælfred non-validating XML parser, a modular (and hence optional) DTD validating parser, and modular (and hence optional) JAXP glue to those. |
gnu.xml.dom | This is a Free Software DOM Level 2 implementation, supporting these features: "XML", "Events", "MutationEvents", "HTMLEvents" (won't generate them though), "UIEvents" (also won't generate them), "USER-Events" (a conformant extension), and "Traversal" (optional; no TreeWalker yet). |
gnu.xml.pipeline | This package exposes a kind of XML processing pipeline, based on sending SAX events, which can be used as components of application architectures. |
gnu.xml.util | This package contains XML utilities, including SAX2 XML writers and a parser of DOM trees, plus a command line driver. |
org.xml.sax | This package provides the core SAX APIs. |
org.xml.sax.ext | This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support. |
org.xml.sax.helpers | This package contains "helper" classes, including support for bootstrapping SAX-based applications. |
Uses of SAXException in gnu.xml.aelfred2 |
Methods in gnu.xml.aelfred2 that throw SAXException | |
SAXParser |
JAXPFactory.newSAXParser()
|
void |
XmlReader.setLocale(Locale locale)
SAX1: Sets the locale used for diagnostics; currently, only locales using the English language are supported. |
void |
XmlReader.parse(String systemId)
SAX1: Preferred API to parse an XML document, using a system identifier (URI). |
void |
XmlReader.parse(InputSource source)
SAX1: Underlying API to parse an XML document, used directly when no URI is available. |
void |
SAXDriver.setLocale(Locale locale)
SAX1: Sets the locale used for diagnostics; currently, only locales using the English language are supported. |
void |
SAXDriver.parse(InputSource source)
SAX1, SAX2: Auxiliary API to parse an XML document, used mostly when no URI is available. |
void |
SAXDriver.parse(String systemId)
SAX1, SAX2: Preferred API to parse an XML document, using a system identifier (URI). |
Uses of SAXException in gnu.xml.dom |
Methods in gnu.xml.dom that throw SAXException | |
void |
Consumer.Backdoor.startDTD(String name,
String publicId,
String systemId)
|
void |
Consumer.Backdoor.endDTD()
|
void |
Consumer.Backdoor.notationDecl(String name,
String publicId,
String systemId)
|
void |
Consumer.Backdoor.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
|
void |
Consumer.Backdoor.internalEntityDecl(String name,
String value)
|
void |
Consumer.Backdoor.externalEntityDecl(String name,
String publicId,
String systemId)
|
void |
Consumer.Backdoor.startElement(String uri,
String localName,
String qName,
Attributes atts)
|
void |
Consumer.Backdoor.endElement(String uri,
String localName,
String qName)
|
void |
Consumer.Backdoor.attributeDecl(String ename,
String aname,
String type,
String mode,
String value)
|
void |
Consumer.Backdoor.startDocument()
|
void |
Consumer.Backdoor.endDocument()
|
void |
Consumer.Backdoor.startEntity(String name)
|
void |
Consumer.Backdoor.endEntity(String name)
|
Constructors in gnu.xml.dom that throw SAXException | |
Consumer()
Constructs an unconfigured event consumer, as a terminus in a SAX event pipeline. |
|
Consumer(EventConsumer next)
Constructs an unconfigured event consumer, as a stage in a SAX event pipeline. |
|
Consumer.Backdoor(DomConsumer consumer)
Constructor. |
Uses of SAXException in gnu.xml.pipeline |
Methods in gnu.xml.pipeline that throw SAXException | |
void |
XIncludeFilter.startDocument()
|
void |
XIncludeFilter.endDocument()
|
void |
XIncludeFilter.externalEntityDecl(String name,
String publicId,
String systemId)
|
void |
XIncludeFilter.startEntity(String name)
|
void |
XIncludeFilter.endEntity(String name)
|
void |
XIncludeFilter.startElement(String uri,
String localName,
String qName,
Attributes atts)
|
void |
XIncludeFilter.endElement(String uri,
String localName,
String qName)
|
void |
XIncludeFilter.characters(char[] ch,
int start,
int length)
|
void |
XIncludeFilter.processingInstruction(String target,
String value)
|
void |
XIncludeFilter.ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
XIncludeFilter.comment(char[] ch,
int start,
int length)
|
void |
XIncludeFilter.startCDATA()
|
void |
XIncludeFilter.endCDATA()
|
void |
XIncludeFilter.startPrefixMapping(String prefix,
String uri)
|
void |
XIncludeFilter.endPrefixMapping(String prefix)
|
void |
XIncludeFilter.skippedEntity(String name)
|
void |
WellFormednessFilter.startDocument()
|
void |
WellFormednessFilter.startElement(String uri,
String localName,
String qName,
Attributes atts)
|
void |
WellFormednessFilter.endElement(String uri,
String localName,
String qName)
|
void |
WellFormednessFilter.endDocument()
|
void |
WellFormednessFilter.startDTD(String root,
String publicId,
String systemId)
|
void |
WellFormednessFilter.notationDecl(String name,
String publicId,
String systemId)
|
void |
WellFormednessFilter.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
|
void |
WellFormednessFilter.endDTD()
|
void |
WellFormednessFilter.characters(char[] ch,
int start,
int length)
|
void |
WellFormednessFilter.ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
WellFormednessFilter.processingInstruction(String target,
String data)
|
void |
WellFormednessFilter.comment(char[] ch,
int start,
int length)
|
void |
WellFormednessFilter.startCDATA()
|
void |
WellFormednessFilter.endCDATA()
|
void |
ValidationConsumer.startDTD(String name,
String publicId,
String systemId)
LexicalHandler Records the declaration of the root element, so it can be verified later. |
void |
ValidationConsumer.endDTD()
LexicalHandler Verifies that all referenced notations and unparsed entities have been declared. |
void |
ValidationConsumer.attributeDecl(String eName,
String aName,
String type,
String mode,
String value)
DecllHandler Records attribute declaration for later use in validating document content, and checks validity constraints that are applicable to attribute declarations. |
void |
ValidationConsumer.elementDecl(String name,
String model)
DecllHandler Records the element declaration for later use when checking document content, and checks validity constraints that apply to element declarations. |
void |
ValidationConsumer.internalEntityDecl(String name,
String value)
DecllHandler passed to the next consumer, unless this one was preloaded with a particular DTD |
void |
ValidationConsumer.externalEntityDecl(String name,
String publicId,
String systemId)
DecllHandler passed to the next consumer, unless this one was preloaded with a particular DTD |
void |
ValidationConsumer.notationDecl(String name,
String publicId,
String systemId)
DTDHandler Records the notation name, for checking NOTATIONS attribute values and declararations of unparsed entities. |
void |
ValidationConsumer.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
DTDHandler Records the entity name, for checking ENTITY and ENTITIES attribute values; records the notation name if it hasn't yet been declared. |
void |
ValidationConsumer.startDocument()
ContentHandler Ensures that state from any previous parse has been deleted. |
void |
ValidationConsumer.skippedEntity(String name)
ContentHandler Reports a fatal exception. |
void |
ValidationConsumer.startElement(String uri,
String localName,
String qName,
Attributes atts)
ContentHandler Performs validity checks against element (and document) content models, and attribute values. |
void |
ValidationConsumer.characters(char[] ch,
int start,
int length)
ContentHandler Reports a validity error if the element's content model does not permit character data. |
void |
ValidationConsumer.endElement(String uri,
String localName,
String qName)
ContentHandler Reports a validity error if the element's content model does not permit end-of-element yet, or a well formedness error if there was no matching startElement call. |
void |
ValidationConsumer.endDocument()
ContentHandler Checks whether all ID values that were referenced have been declared, and releases all resources. |
void |
TeeConsumer.startDocument()
|
void |
TeeConsumer.endDocument()
|
void |
TeeConsumer.startPrefixMapping(String prefix,
String uri)
|
void |
TeeConsumer.endPrefixMapping(String prefix)
|
void |
TeeConsumer.skippedEntity(String name)
|
void |
TeeConsumer.startElement(String uri,
String localName,
String qName,
Attributes atts)
|
void |
TeeConsumer.endElement(String uri,
String localName,
String qName)
|
void |
TeeConsumer.processingInstruction(String target,
String data)
|
void |
TeeConsumer.characters(char[] ch,
int start,
int length)
|
void |
TeeConsumer.ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
TeeConsumer.notationDecl(String name,
String publicId,
String systemId)
|
void |
TeeConsumer.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
|
void |
TeeConsumer.attributeDecl(String eName,
String aName,
String type,
String mode,
String value)
|
void |
TeeConsumer.elementDecl(String name,
String model)
|
void |
TeeConsumer.externalEntityDecl(String name,
String publicId,
String systemId)
|
void |
TeeConsumer.internalEntityDecl(String name,
String value)
|
void |
TeeConsumer.comment(char[] ch,
int start,
int length)
|
void |
TeeConsumer.startCDATA()
|
void |
TeeConsumer.endCDATA()
|
void |
TeeConsumer.startEntity(String name)
|
void |
TeeConsumer.endEntity(String name)
|
void |
TeeConsumer.startDTD(String name,
String publicId,
String systemId)
|
void |
TeeConsumer.endDTD()
|
void |
NSFilter.startDocument()
|
void |
NSFilter.startPrefixMapping(String prefix,
String uri)
This call is not passed to the next consumer in the chain. |
void |
NSFilter.startElement(String uri,
String localName,
String qName,
Attributes atts)
|
void |
NSFilter.endElement(String uri,
String localName,
String qName)
|
void |
NSFilter.endPrefixMapping(String prefix)
This call is not passed to the next consumer in the chain. |
void |
NSFilter.endDocument()
|
void |
LinkFilter.startElement(String uri,
String localName,
String qName,
Attributes atts)
Collects URIs for (X)HTML content from elements which hold them. |
void |
LinkFilter.startDocument()
Reports an error if no Locator has been made available. |
void |
LinkFilter.endDocument()
Forgets about any base URI information that may be recorded. |
void |
EventFilter.startDocument()
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.skippedEntity(String name)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.processingInstruction(String target,
String data)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.characters(char[] ch,
int start,
int length)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.ignorableWhitespace(char[] ch,
int start,
int length)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.startPrefixMapping(String prefix,
String uri)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.startElement(String uri,
String localName,
String qName,
Attributes atts)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.endElement(String uri,
String localName,
String qName)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.endPrefixMapping(String prefix)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.endDocument()
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
SAX1: passes this callback to the next consumer, if any |
void |
EventFilter.notationDecl(String name,
String publicId,
String systemId)
SAX1: passes this callback to the next consumer, if any |
void |
EventFilter.startDTD(String name,
String publicId,
String systemId)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.endDTD()
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.comment(char[] ch,
int start,
int length)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.startCDATA()
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.endCDATA()
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.startEntity(String name)
SAX2: passes this callback to the next consumer, if any. |
void |
EventFilter.endEntity(String name)
SAX2: passes this callback to the next consumer, if any. |
void |
EventFilter.elementDecl(String name,
String model)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.attributeDecl(String eName,
String aName,
String type,
String mode,
String value)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.externalEntityDecl(String name,
String publicId,
String systemId)
SAX2: passes this callback to the next consumer, if any |
void |
EventFilter.internalEntityDecl(String name,
String value)
SAX2: passes this callback to the next consumer, if any |
void |
DomConsumer.Handler.startDocument()
|
void |
DomConsumer.Handler.endDocument()
|
void |
DomConsumer.Handler.processingInstruction(String target,
String data)
|
void |
DomConsumer.Handler.characters(char[] ch,
int start,
int length)
|
void |
DomConsumer.Handler.skippedEntity(String name)
|
void |
DomConsumer.Handler.startPrefixMapping(String prefix,
String uri)
|
void |
DomConsumer.Handler.endPrefixMapping(String prefix)
|
void |
DomConsumer.Handler.startElement(String uri,
String localName,
String qName,
Attributes atts)
|
void |
DomConsumer.Handler.endElement(String uri,
String localName,
String qName)
|
void |
DomConsumer.Handler.ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
DomConsumer.Handler.startCDATA()
|
void |
DomConsumer.Handler.endCDATA()
|
void |
DomConsumer.Handler.startDTD(String name,
String publicId,
String SystemId)
|
void |
DomConsumer.Handler.endDTD()
|
void |
DomConsumer.Handler.comment(char[] ch,
int start,
int length)
|
void |
DomConsumer.Handler.startEntity(String name)
|
void |
DomConsumer.Handler.endEntity(String name)
|
void |
DomConsumer.Handler.notationDecl(String name,
String publicId,
String SystemId)
|
void |
DomConsumer.Handler.unparsedEntityDecl(String name,
String publicId,
String SystemId,
String notationName)
|
void |
DomConsumer.Handler.elementDecl(String name,
String model)
|
void |
DomConsumer.Handler.attributeDecl(String eName,
String aName,
String type,
String mode,
String value)
|
void |
DomConsumer.Handler.internalEntityDecl(String name,
String value)
|
void |
DomConsumer.Handler.externalEntityDecl(String name,
String publicId,
String SystemId)
|
Constructors in gnu.xml.pipeline that throw SAXException | |
XsltFilter(String stylesheet,
EventConsumer next)
Creates a filter that performs the specified transform. |
|
XIncludeFilter(EventConsumer next)
|
|
ValidationConsumer(String rootName,
String publicId,
String systemId,
String internalSubset,
EntityResolver resolver,
String minimalDocument)
Creates a validation consumer which is preloaded with the DTD provided. |
|
DomConsumer(Class impl)
Configures this pipeline terminus to use the specified implementation of DOM when constructing its result value. |
|
DomConsumer(Class impl,
EventConsumer n)
Configures this consumer as a buffer/filter, using the specified DOM implementation when constructing its result value. |
|
DomConsumer.Handler(DomConsumer consumer)
Subclasses may use SAX2 events to provide additional behaviors in the resulting DOM. |
Uses of SAXException in gnu.xml.util |
Methods in gnu.xml.util that throw SAXException | |
protected void |
XMLWriter.fatal(String message,
Exception e)
Used internally and by subclasses, this encapsulates the logic involved in reporting fatal errors. |
void |
XMLWriter.write(String data)
Writes the string as if characters() had been called on the contents of the string. |
void |
XMLWriter.writeElement(String uri,
String localName,
String qName,
Attributes atts,
String content)
Writes an element that has content consisting of a single string. |
void |
XMLWriter.writeElement(String uri,
String localName,
String qName,
Attributes atts,
int content)
Writes an element that has content consisting of a single integer, encoded as a decimal string. |
void |
XMLWriter.startDocument()
SAX1: indicates the beginning of a document parse. |
void |
XMLWriter.endDocument()
SAX1: indicates the completion of a parse. |
void |
XMLWriter.startElement(String uri,
String localName,
String qName,
Attributes atts)
SAX2: indicates the start of an element. |
void |
XMLWriter.writeEmptyElement(String uri,
String localName,
String qName,
Attributes atts)
Writes an empty element. |
void |
XMLWriter.endElement(String uri,
String localName,
String qName)
SAX2: indicates the end of an element |
void |
XMLWriter.characters(char[] ch,
int start,
int length)
SAX1: reports content characters |
void |
XMLWriter.ignorableWhitespace(char[] ch,
int start,
int length)
SAX1: reports ignorable whitespace |
void |
XMLWriter.processingInstruction(String target,
String data)
SAX1: reports a PI. |
void |
XMLWriter.skippedEntity(String name)
SAX1: indicates a non-expanded entity reference |
void |
XMLWriter.startCDATA()
SAX2: called before parsing CDATA characters |
void |
XMLWriter.endCDATA()
SAX2: called after parsing CDATA characters |
void |
XMLWriter.startDTD(String name,
String publicId,
String systemId)
SAX2: called when the doctype is partially parsed Note that this, like other doctype related calls, is ignored when XHTML is in use. |
void |
XMLWriter.endDTD()
SAX2: called after the doctype is parsed |
void |
XMLWriter.startEntity(String name)
SAX2: called before parsing a general entity in content |
void |
XMLWriter.endEntity(String name)
SAX2: called after parsing a general entity in content |
void |
XMLWriter.comment(char[] ch,
int start,
int length)
SAX2: called when comments are parsed. |
void |
XMLWriter.notationDecl(String name,
String publicId,
String systemId)
SAX1: called on notation declarations |
void |
XMLWriter.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
SAX1: called on unparsed entity declarations |
void |
XMLWriter.attributeDecl(String eName,
String aName,
String type,
String mode,
String value)
SAX2: called on attribute declarations |
void |
XMLWriter.elementDecl(String name,
String model)
SAX2: called on element declarations |
void |
XMLWriter.externalEntityDecl(String name,
String publicId,
String systemId)
SAX2: called on external entity declarations |
void |
XMLWriter.internalEntityDecl(String name,
String value)
SAX2: called on internal entity declarations |
InputSource |
Resolver.resolveEntity(String publicId,
String systemId)
Uses a local dictionary of public identifiers to resolve URIs, normally with the goal of minimizing network traffic or latencies. |
void |
DomParser.setLocale(Locale locale)
SAX1: Identifies the locale which the parser should use for the diagnostics it provides. |
void |
DomParser.parse(String uri)
SAX1: Parses the previously provided DOM document (the input parameter is ignored). |
void |
DomParser.parse(InputSource input)
SAX1: Parses the previously provided DOM document (the input parameter is ignored). |
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 |
XMLReader.parse(InputSource input)
Parse an XML document. |
void |
XMLReader.parse(String systemId)
Parse an XML document from a system identifier (URI). |
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). |
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 |
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. |
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 |
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 |
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. |
Uses of SAXException in org.xml.sax.ext |
Methods in org.xml.sax.ext that throw SAXException | |
InputSource |
EntityResolver2.getExternalSubset(String name,
String baseURI)
Allows applications to provide an external subset for documents that don't explicitly define one. |
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 |
DefaultHandler2.startCDATA()
|
void |
DefaultHandler2.endCDATA()
|
void |
DefaultHandler2.startDTD(String name,
String publicId,
String systemId)
|
void |
DefaultHandler2.endDTD()
|
void |
DefaultHandler2.startEntity(String name)
|
void |
DefaultHandler2.endEntity(String name)
|
void |
DefaultHandler2.comment(char[] ch,
int start,
int length)
|
void |
DefaultHandler2.attributeDecl(String eName,
String aName,
String type,
String mode,
String value)
|
void |
DefaultHandler2.elementDecl(String name,
String model)
|
void |
DefaultHandler2.externalEntityDecl(String name,
String publicId,
String systemId)
|
void |
DefaultHandler2.internalEntityDecl(String name,
String value)
|
InputSource |
DefaultHandler2.getExternalSubset(String name,
String baseURI)
Tells the parser that if no external subset has been declared in the document text, none should be used. |
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. |
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 mode,
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 | |
static XMLReader |
XMLReaderFactory.createXMLReader()
Attempt to create an XMLReader from system defaults. |
static XMLReader |
XMLReaderFactory.createXMLReader(String className)
Attempt to create an XML reader from a class name. |
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()
Adapter implementation method; do not call. |
void |
ParserAdapter.endDocument()
Adapter implementation method; do not call. |
void |
ParserAdapter.startElement(String qName,
AttributeList qAtts)
Adapter implementation method; do not call. |
void |
ParserAdapter.endElement(String qName)
Adapter implementation method; do not call. |
void |
ParserAdapter.characters(char[] ch,
int start,
int length)
Adapter implementation method; do not call. |
void |
ParserAdapter.ignorableWhitespace(char[] ch,
int start,
int length)
Adapter implementation method; do not call. |
void |
ParserAdapter.processingInstruction(String target,
String data)
Adapter implementation method; do not call. |
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2004-08-21.