|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SAXException | |
javax.xml.parsers | Provides classes allowing the processing of XML documents. |
org.apache.xalan.processor | Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot (a TRaX Templates object). |
org.apache.xalan.serialize | Processes SAX events into streams. |
org.apache.xalan.stree | Implementation of the Xalan Source Tree, which is a DOM implementation that is optimized for XSLT processing and the needs of Xalan. |
org.apache.xalan.transformer | In charge of run-time transformations and the production of result trees. |
org.apache.xml.utils | Implementation of Xalan utility classes. |
org.xml.sax | SAX 2.0 interfaces. |
org.xml.sax.ext | SAX 2.0 extension handler interfaces. |
org.xml.sax.helpers | SAX 2.0 implementation classes. |
Uses of SAXException in javax.xml.parsers |
Methods in javax.xml.parsers that throw SAXException | |
abstract SAXParser |
SAXParserFactory.newSAXParser()
Creates a new instance of a SAXParser using the currently configured factory parameters. |
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.io.InputStream is,
HandlerBase hb,
java.lang.String systemId)
Parse the content of the given java.io.InputStream
instance as XML using the specified
org.xml.sax.HandlerBase . |
void |
SAXParser.parse(java.io.InputStream is,
DefaultHandler dh)
Parse the content of the given java.io.InputStream
instance as XML using the specified
org.xml.sax.helpers.DefaultHandler . |
void |
SAXParser.parse(java.io.InputStream is,
DefaultHandler dh,
java.lang.String systemId)
Parse the content of the given java.io.InputStream
instance as XML using the specified
org.xml.sax.helpers.DefaultHandler . |
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.lang.String uri,
DefaultHandler dh)
Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified org.xml.sax.helpers.DefaultHandler . |
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(java.io.File f,
DefaultHandler dh)
Parse the content of the file specified as XML using the specified org.xml.sax.helpers.DefaultHandler . |
void |
SAXParser.parse(InputSource is,
HandlerBase hb)
Parse the content given org.xml.sax.InputSource
as XML using the specified
org.xml.sax.HandlerBase . |
void |
SAXParser.parse(InputSource is,
DefaultHandler dh)
Parse the content given org.xml.sax.InputSource
as XML using the specified
org.xml.sax.helpers.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. |
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.io.InputStream is,
java.lang.String systemId)
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. |
Uses of SAXException in org.apache.xalan.processor |
Subclasses of SAXException in org.apache.xalan.processor | |
interface |
StopParseException
**For internal use only** This is a special exception that is used to stop parsing when search for an element. |
Methods in org.apache.xalan.processor that throw SAXException | |
InputSource |
XSLTElementProcessor.resolveEntity(StylesheetHandler handler,
java.lang.String publicId,
java.lang.String systemId)
Resolve an external entity. |
void |
XSLTElementProcessor.startNonText(StylesheetHandler handler)
Receive notification of the start of the non-text event. |
void |
XSLTElementProcessor.startElement(StylesheetHandler handler,
java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
Attributes attributes)
Receive notification of the start of an element. |
void |
XSLTElementProcessor.endElement(StylesheetHandler handler,
java.lang.String uri,
java.lang.String localName,
java.lang.String rawName)
Receive notification of the end of an element. |
void |
XSLTElementProcessor.characters(StylesheetHandler handler,
char[] ch,
int start,
int length)
Receive notification of character data inside an element. |
void |
XSLTElementProcessor.ignorableWhitespace(StylesheetHandler handler,
char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content. |
void |
XSLTElementProcessor.processingInstruction(StylesheetHandler handler,
java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
XSLTElementProcessor.skippedEntity(StylesheetHandler handler,
java.lang.String name)
Receive notification of a skipped entity. |
void |
ProcessorTemplateElem.startElement(StylesheetHandler handler,
java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
Attributes attributes)
Receive notification of the start of an element. |
void |
ProcessorTemplateElem.endElement(StylesheetHandler handler,
java.lang.String uri,
java.lang.String localName,
java.lang.String rawName)
Receive notification of the end of an element. |
void |
ProcessorLRE.startElement(StylesheetHandler handler,
java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
Attributes attributes)
Receive notification of the start of an element. |
void |
ProcessorLRE.endElement(StylesheetHandler handler,
java.lang.String uri,
java.lang.String localName,
java.lang.String rawName)
Receive notification of the end of an element. |
void |
ProcessorUnknown.startElement(StylesheetHandler handler,
java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
Attributes attributes)
Receive notification of the start of an element. |
void |
ProcessorUnknown.endElement(StylesheetHandler handler,
java.lang.String uri,
java.lang.String localName,
java.lang.String rawName)
Receive notification of the end of an element. |
void |
StylesheetPIHandler.processingInstruction(java.lang.String target,
java.lang.String data)
Handle the xml-stylesheet processing instruction. |
void |
StylesheetPIHandler.startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
Attributes atts)
The spec notes that "The xml-stylesheet processing instruction is allowed only in the prolog of an XML document.", so, at least for right now, I'm going to go ahead an throw a TransformerException in order to stop the parse. |
void |
ProcessorCharacters.startNonText(StylesheetHandler handler)
Receive notification of the start of the non-text event. |
void |
ProcessorCharacters.characters(StylesheetHandler handler,
char[] ch,
int start,
int length)
Receive notification of character data inside an element. |
void |
ProcessorCharacters.endElement(StylesheetHandler handler,
java.lang.String uri,
java.lang.String localName,
java.lang.String rawName)
Receive notification of the end of an element. |
InputSource |
StylesheetHandler.resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Resolve an external entity. |
void |
StylesheetHandler.startDocument()
Receive notification of the beginning of the document. |
void |
StylesheetHandler.endDocument()
Receive notification of the end of the document. |
void |
StylesheetHandler.startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Receive notification of the start of a Namespace mapping. |
void |
StylesheetHandler.endPrefixMapping(java.lang.String prefix)
Receive notification of the end of a Namespace mapping. |
void |
StylesheetHandler.startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
Attributes attributes)
Receive notification of the start of an element. |
void |
StylesheetHandler.endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName)
Receive notification of the end of an element. |
void |
StylesheetHandler.characters(char[] ch,
int start,
int length)
Receive notification of character data inside an element. |
void |
StylesheetHandler.ignorableWhitespace(char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content. |
void |
StylesheetHandler.processingInstruction(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
StylesheetHandler.skippedEntity(java.lang.String name)
Receive notification of a skipped entity. |
void |
StylesheetHandler.warn(int msg,
java.lang.Object[] args)
**For internal use only** Warn the user of an problem. |
void |
StylesheetHandler.warning(SAXParseException e)
Receive notification of a XSLT processing warning. |
void |
StylesheetHandler.error(SAXParseException e)
Receive notification of a recoverable XSLT processing error. |
void |
StylesheetHandler.fatalError(SAXParseException e)
Report a fatal XSLT processing error. |
void |
CompilingStylesheetHandler.endDocument()
Receive notification of the end of the document. |
void |
ProcessorText.endElement(StylesheetHandler handler,
java.lang.String uri,
java.lang.String localName,
java.lang.String rawName)
Receive notification of the end of an element. |
Uses of SAXException in org.apache.xalan.serialize |
Methods in org.apache.xalan.serialize that throw SAXException | |
void |
SerializerToXML.startDocument()
Receive notification of the beginning of a document. |
void |
SerializerToXML.endDocument()
Receive notification of the end of a document. |
void |
SerializerToXML.startDTD(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Report the start of DTD declarations, if any. |
void |
SerializerToXML.endDTD()
Report the end of DTD declarations. |
void |
SerializerToXML.startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Begin the scope of a prefix-URI Namespace mapping. |
void |
SerializerToXML.endPrefixMapping(java.lang.String prefix)
End the scope of a prefix-URI Namespace mapping. |
void |
SerializerToXML.startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String name,
Attributes atts)
Receive notification of the beginning of an element. |
void |
SerializerToXML.endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String name)
Receive notification of the end of an element. |
void |
SerializerToXML.startNonEscaping()
Starts an un-escaping section. |
void |
SerializerToXML.endNonEscaping()
Ends an un-escaping section. |
void |
SerializerToXML.startPreserving()
Starts a whitespace preserving section. |
void |
SerializerToXML.endPreserving()
Ends a whitespace preserving section. |
void |
SerializerToXML.processingInstruction(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
SerializerToXML.comment(char[] ch,
int start,
int length)
Report an XML comment anywhere in the document. |
void |
SerializerToXML.startCDATA()
Report the start of a CDATA section. |
void |
SerializerToXML.endCDATA()
Report the end of a CDATA section. |
void |
SerializerToXML.cdata(char[] ch,
int start,
int length)
Receive notification of cdata. |
void |
SerializerToXML.flushWriter()
Flush the formatter's result stream. |
void |
SerializerToXML.flush()
Flush all accumulated characters or bytes to the result stream. |
void |
SerializerToXML.characters(char[] chars,
int start,
int length)
Receive notification of character data. |
void |
SerializerToXML.charactersRaw(char[] ch,
int start,
int length)
If available, when the disable-output-escaping attribute is used, output raw text without escaping. |
void |
SerializerToXML.ignorableWhitespace(char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content. |
void |
SerializerToXML.skippedEntity(java.lang.String name)
Receive notification of a skipped entity. |
void |
SerializerToXML.startEntity(java.lang.String name)
Report the beginning of an entity. |
void |
SerializerToXML.endEntity(java.lang.String name)
Report the end of an entity. |
void |
SerializerToXML.entityReference(java.lang.String name)
Receive notivication of a entityReference. |
void |
SerializerToXML.writeAttrString(java.lang.String string,
java.lang.String encoding)
Returns the specified string after substituting specials, and UTF-16 surrogates for chracter references &#xnn . |
void |
SerializerToXML.printSpace(int n)
Prints n spaces. |
void |
SerializerToXML.indent(int n)
Prints a newline character and n spaces. |
void |
SerializerToHTML.startDocument()
Receive notification of the beginning of a document. |
void |
SerializerToHTML.startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String name,
Attributes atts)
Receive notification of the beginning of an element. |
void |
SerializerToHTML.endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String name)
Receive notification of the end of an element. |
void |
SerializerToHTML.writeAttrURI(java.lang.String string,
boolean doURLEscaping)
Write the specified string after substituting non ASCII characters, with %HH , where HH is the hex of the byte value. |
void |
SerializerToHTML.writeAttrString(java.lang.String string,
java.lang.String encoding)
Writes the specified string after substituting specials, and UTF-16 surrogates for character references &#xnn . |
void |
SerializerToHTML.characters(char[] chars,
int start,
int length)
Receive notification of character data. |
void |
SerializerToHTML.cdata(char[] ch,
int start,
int length)
Receive notification of cdata. |
void |
SerializerToHTML.processingInstruction(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
SerializerToHTML.entityReference(java.lang.String name)
Receive notivication of a entityReference. |
void |
SerializerToText.startDocument()
Receive notification of the beginning of a document. |
void |
SerializerToText.endDocument()
Receive notification of the end of a document. |
void |
SerializerToText.startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String name,
Attributes atts)
Receive notification of the beginning of an element. |
void |
SerializerToText.endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String name)
Receive notification of the end of an element. |
void |
SerializerToText.characters(char[] ch,
int start,
int length)
Receive notification of character data. |
void |
SerializerToText.charactersRaw(char[] ch,
int start,
int length)
If available, when the disable-output-escaping attribute is used, output raw text without escaping. |
void |
SerializerToText.cdata(char[] ch,
int start,
int length)
Receive notification of cdata. |
void |
SerializerToText.ignorableWhitespace(char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content. |
void |
SerializerToText.processingInstruction(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
SerializerToText.comment(java.lang.String data)
Called when a Comment is to be constructed. |
void |
SerializerToText.entityReference(java.lang.String name)
Receive notivication of a entityReference. |
Uses of SAXException in org.apache.xalan.stree |
Methods in org.apache.xalan.stree that throw SAXException | |
void |
Child.dispatchCharactersEvent(ContentHandler ch)
Handle a Characters event |
void |
ProcessingInstructionImpl.dispatchCharactersEvent(ContentHandler ch)
Handle a Characters event |
void |
StreeDOMBuilder.startElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name,
Attributes atts)
Receive notification of the beginning of an element. |
void |
StreeDOMBuilder.endElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name)
Receive notification of the end of an element. |
void |
StreeDOMBuilder.characters(char[] ch,
int start,
int length)
Receive notification of character data. |
void |
StreeDOMBuilder.ignorableWhitespace(char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content. |
void |
StreeDOMBuilder.charactersRaw(char[] ch,
int start,
int length)
If available, when the disable-output-escaping attribute is used, output raw text without escaping. |
void |
StreeDOMBuilder.comment(char[] ch,
int start,
int length)
Report an XML comment anywhere in the document. |
void |
StreeDOMBuilder.processingInstruction(java.lang.String target,
java.lang.String data)
Receive notification of ignorable whitespace in element content. |
void |
StreeDOMBuilder.setPreviousIsText(boolean isText)
Set the state of the source tree to indicate whether the last event was a characters event. |
void |
StreeDOMBuilder.endDocument()
Receive notification of the end of a document. |
void |
Parent.dispatchCharactersEvent(ContentHandler ch)
Handle a Characters event |
void |
AttrImpl.dispatchCharactersEvent(ContentHandler ch)
Handle a Characters event |
void |
TextImpl.dispatchCharactersEvent(ContentHandler ch)
Handle a Characters event |
void |
SourceTreeHandler.startDocument()
Implement the startDocument event. |
void |
SourceTreeHandler.endDocument()
Implement the endDocument event. |
void |
SourceTreeHandler.startElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name,
Attributes atts)
Implement the startElement event. |
void |
SourceTreeHandler.endElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name)
Implement the endElement event. |
void |
SourceTreeHandler.startCDATA()
Report the start of a CDATA section. |
void |
SourceTreeHandler.endCDATA()
Report the end of a CDATA section. |
void |
SourceTreeHandler.characters(char[] ch,
int start,
int length)
Implement the characters event. |
void |
SourceTreeHandler.charactersRaw(char[] ch,
int start,
int length)
Implement the characters event. |
void |
SourceTreeHandler.ignorableWhitespace(char[] ch,
int start,
int length)
Implement the ignorableWhitespace event. |
void |
SourceTreeHandler.processingInstruction(java.lang.String target,
java.lang.String data)
Implement the processingInstruction event. |
void |
SourceTreeHandler.comment(char[] ch,
int start,
int length)
Report an XML comment anywhere in the document. |
void |
SourceTreeHandler.startEntity(java.lang.String name)
Report the beginning of an entity. |
void |
SourceTreeHandler.endEntity(java.lang.String name)
Report the end of an entity. |
void |
SourceTreeHandler.startDTD(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Report the start of DTD declarations, if any. |
void |
SourceTreeHandler.endDTD()
Report the end of DTD declarations. |
void |
SourceTreeHandler.startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Begin the scope of a prefix-URI Namespace mapping. |
void |
SourceTreeHandler.endPrefixMapping(java.lang.String prefix)
End the scope of a prefix-URI mapping. |
void |
SourceTreeHandler.skippedEntity(java.lang.String name)
Receive notification of a skipped entity. |
void |
SourceTreeHandler.elementDecl(java.lang.String name,
java.lang.String model)
Report an element type declaration. |
void |
SourceTreeHandler.attributeDecl(java.lang.String eName,
java.lang.String aName,
java.lang.String type,
java.lang.String valueDefault,
java.lang.String value)
Report an attribute type declaration. |
void |
SourceTreeHandler.internalEntityDecl(java.lang.String name,
java.lang.String value)
Report an internal entity declaration. |
void |
SourceTreeHandler.externalEntityDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Report a parsed external entity declaration. |
void |
SourceTreeHandler.notationDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Receive notification of a notation declaration event. |
void |
SourceTreeHandler.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. |
void |
SaxEventDispatch.dispatchCharactersEvent(ContentHandler ch)
If a node supports this interface, it can directly call an appropriate method on the passed ContentHandler. |
Uses of SAXException in org.apache.xalan.transformer |
Methods in org.apache.xalan.transformer that throw SAXException | |
void |
TrAXFilter.parse(InputSource input)
Parse a document. |
void |
TrAXFilter.parse(java.lang.String systemId)
Parse a document. |
void |
TreeWalker2Result.traverse(Node pos)
Perform a pre-order traversal non-recursive style. |
void |
TransformerIdentityImpl.notationDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Receive notification of a notation declaration. |
void |
TransformerIdentityImpl.unparsedEntityDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String notationName)
Receive notification of an unparsed entity declaration. |
void |
TransformerIdentityImpl.startDocument()
Receive notification of the beginning of the document. |
void |
TransformerIdentityImpl.endDocument()
Receive notification of the end of the document. |
void |
TransformerIdentityImpl.startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Receive notification of the start of a Namespace mapping. |
void |
TransformerIdentityImpl.endPrefixMapping(java.lang.String prefix)
Receive notification of the end of a Namespace mapping. |
void |
TransformerIdentityImpl.startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
Attributes attributes)
Receive notification of the start of an element. |
void |
TransformerIdentityImpl.endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Receive notification of the end of an element. |
void |
TransformerIdentityImpl.characters(char[] ch,
int start,
int length)
Receive notification of character data inside an element. |
void |
TransformerIdentityImpl.ignorableWhitespace(char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content. |
void |
TransformerIdentityImpl.processingInstruction(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
TransformerIdentityImpl.skippedEntity(java.lang.String name)
Receive notification of a skipped entity. |
void |
TransformerIdentityImpl.startDTD(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Report the start of DTD declarations, if any. |
void |
TransformerIdentityImpl.endDTD()
Report the end of DTD declarations. |
void |
TransformerIdentityImpl.startEntity(java.lang.String name)
Report the beginning of an entity in content. |
void |
TransformerIdentityImpl.endEntity(java.lang.String name)
Report the end of an entity. |
void |
TransformerIdentityImpl.startCDATA()
Report the start of a CDATA section. |
void |
TransformerIdentityImpl.endCDATA()
Report the end of a CDATA section. |
void |
TransformerIdentityImpl.comment(char[] ch,
int start,
int length)
Report an XML comment anywhere in the document. |
void |
ResultTreeHandler.startDocument()
Bottleneck the startDocument event. |
void |
ResultTreeHandler.endDocument()
Bottleneck the endDocument event. |
void |
ResultTreeHandler.startElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name)
Bottleneck the startElement event. |
void |
ResultTreeHandler.startElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name,
Attributes atts)
Bottleneck the startElement event. |
void |
ResultTreeHandler.endElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name)
Bottleneck the endElement event. |
void |
ResultTreeHandler.startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Begin the scope of a prefix-URI Namespace mapping. |
void |
ResultTreeHandler.startPrefixMapping(java.lang.String prefix,
java.lang.String uri,
boolean shouldFlush)
Begin the scope of a prefix-URI Namespace mapping. |
void |
ResultTreeHandler.endPrefixMapping(java.lang.String prefix)
End the scope of a prefix-URI mapping. |
void |
ResultTreeHandler.characters(char[] ch,
int start,
int length)
Bottleneck the characters event. |
void |
ResultTreeHandler.ignorableWhitespace(char[] ch,
int start,
int length)
Bottleneck the ignorableWhitespace event. |
void |
ResultTreeHandler.processingInstruction(java.lang.String target,
java.lang.String data)
Bottleneck the processingInstruction event. |
void |
ResultTreeHandler.comment(java.lang.String data)
Bottleneck the comment event. |
void |
ResultTreeHandler.comment(char[] ch,
int start,
int length)
Bottleneck the comment event. |
void |
ResultTreeHandler.entityReference(java.lang.String name)
Entity reference event. |
void |
ResultTreeHandler.startEntity(java.lang.String name)
Start an entity. |
void |
ResultTreeHandler.endEntity(java.lang.String name)
End an entity. |
void |
ResultTreeHandler.startDTD(java.lang.String s1,
java.lang.String s2,
java.lang.String s3)
Start the DTD. |
void |
ResultTreeHandler.endDTD()
End the DTD. |
void |
ResultTreeHandler.startCDATA()
Start the CDATACharacters. |
void |
ResultTreeHandler.endCDATA()
End the CDATA characters. |
void |
ResultTreeHandler.skippedEntity(java.lang.String name)
Receive notification of a skipped entity. |
void |
ResultTreeHandler.flushPending()
Flush the pending element. |
void |
ResultTreeHandler.flushPending(int type)
Flush the pending element. |
void |
ResultTreeHandler.outputResultTreeFragment(XObject obj,
XPathContext support)
Given a result tree fragment, walk the tree and output it to the result stream. |
void |
ResultTreeHandler.cloneToResultTree(Node node,
boolean shouldCloneAttributes)
Clone an element with or without children. |
Uses of SAXException in org.apache.xml.utils |
Methods in org.apache.xml.utils that throw SAXException | |
void |
DOMBuilder.startDocument()
Receive notification of the beginning of a document. |
void |
DOMBuilder.endDocument()
Receive notification of the end of a document. |
void |
DOMBuilder.startElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name,
Attributes atts)
Receive notification of the beginning of an element. |
void |
DOMBuilder.endElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name)
Receive notification of the end of an element. |
void |
DOMBuilder.characters(char[] ch,
int start,
int length)
Receive notification of character data. |
void |
DOMBuilder.charactersRaw(char[] ch,
int start,
int length)
If available, when the disable-output-escaping attribute is used, output raw text without escaping. |
void |
DOMBuilder.startEntity(java.lang.String name)
Report the beginning of an entity. |
void |
DOMBuilder.endEntity(java.lang.String name)
Report the end of an entity. |
void |
DOMBuilder.entityReference(java.lang.String name)
Receive notivication of a entityReference. |
void |
DOMBuilder.ignorableWhitespace(char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content. |
void |
DOMBuilder.processingInstruction(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
DOMBuilder.comment(char[] ch,
int start,
int length)
Report an XML comment anywhere in the document. |
void |
DOMBuilder.startCDATA()
Report the start of a CDATA section. |
void |
DOMBuilder.endCDATA()
Report the end of a CDATA section. |
void |
DOMBuilder.cdata(char[] ch,
int start,
int length)
Receive notification of cdata. |
void |
DOMBuilder.startDTD(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Report the start of DTD declarations, if any. |
void |
DOMBuilder.endDTD()
Report the end of DTD declarations. |
void |
DOMBuilder.startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Begin the scope of a prefix-URI Namespace mapping. |
void |
DOMBuilder.endPrefixMapping(java.lang.String prefix)
End the scope of a prefix-URI mapping. |
void |
DOMBuilder.skippedEntity(java.lang.String name)
Receive notification of a skipped entity. |
void |
TreeWalker.traverse(Node pos)
Perform a pre-order traversal non-recursive style. |
void |
TreeWalker.traverse(Node pos,
Node top)
Perform a pre-order traversal non-recursive style. |
void |
DefaultErrorHandler.warning(SAXParseException exception)
Receive notification of a warning. |
void |
DefaultErrorHandler.error(SAXParseException exception)
Receive notification of a recoverable error. |
void |
DefaultErrorHandler.fatalError(SAXParseException exception)
Receive notification of a non-recoverable error. |
Uses of SAXException in org.xml.sax |
Subclasses of SAXException in org.xml.sax | |
interface |
SAXNotRecognizedException
Exception class for an unrecognized identifier. |
interface |
SAXNotSupportedException
Exception class for an unsupported operation. |
interface |
SAXParseException
Encapsulate an XML parse error or warning. |
Methods in org.xml.sax that throw SAXException | |
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 |
ContentHandler.startDocument()
Receive notification of the beginning of a document. |
void |
ContentHandler.endDocument()
Receive notification of the end of a document. |
void |
ContentHandler.startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Begin the scope of a prefix-URI Namespace mapping. |
void |
ContentHandler.endPrefixMapping(java.lang.String prefix)
End the scope of a prefix-URI mapping. |
void |
ContentHandler.startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
Attributes atts)
Receive notification of the beginning of an element. |
void |
ContentHandler.endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.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(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
ContentHandler.skippedEntity(java.lang.String name)
Receive notification of a skipped entity. |
void |
Parser.setLocale(java.util.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(java.lang.String systemId)
Deprecated. Parse an XML document from a system identifier (URI). |
InputSource |
HandlerBase.resolveEntity(java.lang.String publicId,
java.lang.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(java.lang.String name,
AttributeList attributes)
Deprecated. Receive notification of the start of an element. |
void |
HandlerBase.endElement(java.lang.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(java.lang.String target,
java.lang.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 |
XMLReader.parse(InputSource input)
Parse an XML document. |
void |
XMLReader.parse(java.lang.String systemId)
Parse an XML document from a system identifier (URI). |
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. |
InputSource |
EntityResolver.resolveEntity(java.lang.String publicId,
java.lang.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(java.lang.String name,
AttributeList atts)
Deprecated. Receive notification of the beginning of an element. |
void |
DocumentHandler.endElement(java.lang.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(java.lang.String target,
java.lang.String data)
Deprecated. Receive notification of a processing instruction. |
Uses of SAXException in org.xml.sax.ext |
Methods in org.xml.sax.ext that throw SAXException | |
void |
LexicalHandler.startDTD(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Report the start of DTD declarations, if any. |
void |
LexicalHandler.endDTD()
Report the end of DTD declarations. |
void |
LexicalHandler.startEntity(java.lang.String name)
Report the beginning of an entity in content. |
void |
LexicalHandler.endEntity(java.lang.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(java.lang.String name,
java.lang.String model)
Report an element type declaration. |
void |
DeclHandler.attributeDecl(java.lang.String eName,
java.lang.String aName,
java.lang.String type,
java.lang.String valueDefault,
java.lang.String value)
Report an attribute type declaration. |
void |
DeclHandler.internalEntityDecl(java.lang.String name,
java.lang.String value)
Report an internal entity declaration. |
void |
DeclHandler.externalEntityDecl(java.lang.String name,
java.lang.String publicId,
java.lang.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 | |
InputSource |
DefaultHandler.resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Resolve an external entity. |
void |
DefaultHandler.notationDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Receive notification of a notation declaration. |
void |
DefaultHandler.unparsedEntityDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.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(java.lang.String prefix,
java.lang.String uri)
Receive notification of the start of a Namespace mapping. |
void |
DefaultHandler.endPrefixMapping(java.lang.String prefix)
Receive notification of the end of a Namespace mapping. |
void |
DefaultHandler.startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
Attributes attributes)
Receive notification of the start of an element. |
void |
DefaultHandler.endElement(java.lang.String uri,
java.lang.String localName,
java.lang.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(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
DefaultHandler.skippedEntity(java.lang.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. |
void |
XMLFilterImpl.parse(InputSource input)
Parse a document. |
void |
XMLFilterImpl.parse(java.lang.String systemId)
Parse a document. |
InputSource |
XMLFilterImpl.resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Filter an external entity resolution. |
void |
XMLFilterImpl.notationDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Filter a notation declaration event. |
void |
XMLFilterImpl.unparsedEntityDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId,
java.lang.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(java.lang.String prefix,
java.lang.String uri)
Filter a start Namespace prefix mapping event. |
void |
XMLFilterImpl.endPrefixMapping(java.lang.String prefix)
Filter an end Namespace prefix mapping event. |
void |
XMLFilterImpl.startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
Attributes atts)
Filter a start element event. |
void |
XMLFilterImpl.endElement(java.lang.String uri,
java.lang.String localName,
java.lang.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(java.lang.String target,
java.lang.String data)
Filter a processing instruction event. |
void |
XMLFilterImpl.skippedEntity(java.lang.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(java.lang.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(java.lang.String qName,
AttributeList qAtts)
Adapt a SAX1 startElement event. |
void |
ParserAdapter.endElement(java.lang.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(java.lang.String target,
java.lang.String data)
Adapt a SAX1 processing instruction event. |
void |
XMLReaderAdapter.setLocale(java.util.Locale locale)
Set the locale for error reporting. |
void |
XMLReaderAdapter.parse(java.lang.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(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
Attributes atts)
Adapt a SAX2 start element event. |
void |
XMLReaderAdapter.endElement(java.lang.String uri,
java.lang.String localName,
java.lang.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(java.lang.String target,
java.lang.String data)
Adapt a SAX2 processing instruction event. |
void |
XMLReaderAdapter.skippedEntity(java.lang.String name)
Adapt a SAX2 skipped entity event. |
static XMLReader |
XMLReaderFactory.createXMLReader()
Attempt to create an XML reader from a system property. |
static XMLReader |
XMLReaderFactory.createXMLReader(java.lang.String className)
Attempt to create an XML reader from a class name. |
Constructors in org.xml.sax.helpers that throw SAXException | |
ParserAdapter.ParserAdapter()
Construct a new parser adapter. |
|
XMLReaderAdapter.XMLReaderAdapter()
Create a new adapter. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |