Uses of Class
org.xml.sax.SAXException
| Package | Description |
|---|---|
| javax.xml.parsers | |
| javax.xml.validation | |
| org.apache.harmony.xml | |
| 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 | |
| org.apache.xalan.transformer |
In charge of run-time transformations and the production of result trees.
|
| org.apache.xml.dtm | |
| org.apache.xml.dtm.ref | |
| org.apache.xml.dtm.ref.dom2dtm | |
| org.apache.xml.dtm.ref.sax2dtm | |
| org.apache.xml.serializer |
Processes SAX events into streams.
|
| org.apache.xml.utils |
Implementation of Xalan utility classes.
|
| org.apache.xpath |
Implementation of XPath; for the most part, only classes meant for public use are
found at this root level of the XPath packages.
|
| org.apache.xpath.axes |
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
|
| org.apache.xpath.functions |
Implements XPath functions -- each function is derived from Function,
FunctionOneArg, Function2Args, etc, with number-of-arguments checking being
applied mainly at compile time -- this package only implements XPath functions,
XSLT functions are found in the "templates" package.
|
| org.apache.xpath.objects |
Implementation of XPath polymorphic type objects -- this package will grow
as XPath objects are expanded to support XML Schema data types.
|
| org.xml.sax | |
| org.xml.sax.ext | |
| org.xml.sax.helpers | |
| org.xmlpull.v1.sax2 |
-
Uses of SAXException in javax.xml.parsers
Methods in javax.xml.parsers that throw SAXException Modifier and Type Method Description abstract ParserSAXParser. getParser()Returns the SAX parser that is encapsulated by the implementation of this class.abstract XMLReaderSAXParser. getXMLReader()Returns theXMLReaderthat is encapsulated by the implementation of this class.abstract SAXParserSAXParserFactory. newSAXParser()Creates a new instance of a SAXParser using the currently configured factory parameters.DocumentDocumentBuilder. parse(File f)Parse the content of the given file as an XML document and return a new DOMDocumentobject.DocumentDocumentBuilder. parse(InputStream is)Parse the content of the givenInputStreamas an XML document and return a new DOMDocumentobject.DocumentDocumentBuilder. parse(InputStream is, String systemId)Parse the content of the givenInputStreamas an XML document and return a new DOMDocumentobject.DocumentDocumentBuilder. parse(String uri)Parse the content of the given URI as an XML document and return a new DOMDocumentobject.abstract DocumentDocumentBuilder. parse(InputSource is)Parse the content of the given input source as an XML document and return a new DOMDocumentobject.voidSAXParser. parse(File f, HandlerBase hb)Parse the content of the file specified as XML using the specifiedHandlerBase.voidSAXParser. parse(File f, DefaultHandler dh)Parse the content of the file specified as XML using the specifiedDefaultHandler.voidSAXParser. parse(InputStream is, HandlerBase hb)Parse the content of the givenInputStreaminstance as XML using the specifiedHandlerBase.voidSAXParser. parse(InputStream is, HandlerBase hb, String systemId)Parse the content of the givenInputStreaminstance as XML using the specifiedHandlerBase.voidSAXParser. parse(InputStream is, DefaultHandler dh)Parse the content of the givenInputStreaminstance as XML using the specifiedDefaultHandler.voidSAXParser. parse(InputStream is, DefaultHandler dh, String systemId)Parse the content of the givenInputStreaminstance as XML using the specifiedDefaultHandler.voidSAXParser. parse(String uri, HandlerBase hb)Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specifiedHandlerBase.voidSAXParser. parse(String uri, DefaultHandler dh)Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specifiedDefaultHandler.voidSAXParser. parse(InputSource is, HandlerBase hb)Parse the content givenInputSourceas XML using the specifiedHandlerBase.voidSAXParser. parse(InputSource is, DefaultHandler dh)Parse the content givenInputSourceas XML using the specifiedDefaultHandler. -
Uses of SAXException in javax.xml.validation
Methods in javax.xml.validation that throw SAXException Modifier and Type Method Description abstract SchemaSchemaFactory. newSchema()Creates a specialSchemaobject.SchemaSchemaFactory. newSchema(File schema)Parses the specifiedFileas a schema and returns it as aSchema.SchemaSchemaFactory. newSchema(URL schema)Parses the specifiedURLas a schema and returns it as aSchema.SchemaSchemaFactory. newSchema(Source schema)Parses the specified source as a schema and returns it as a schema.abstract SchemaSchemaFactory. newSchema(Source[] schemas)Parses the specified source(s) as a schema and returns it as a schema.voidValidator. validate(Source source)Validates the specified input.abstract voidValidator. validate(Source source, Result result)Validates the specified input and send the augmented validation result to the specified output. -
Uses of SAXException in org.apache.harmony.xml
Methods in org.apache.harmony.xml that throw SAXException Modifier and Type Method Description voidExpatReader. parse(String systemId)voidExpatReader. parse(InputSource input) -
Uses of SAXException in org.apache.xalan.processor
Methods in org.apache.xalan.processor that throw SAXException Modifier and Type Method Description protected voidProcessorExsltFunction. appendAndPush(StylesheetHandler handler, ElemTemplateElement elem)Must include; super doesn't suffice!protected voidProcessorTemplateElem. appendAndPush(StylesheetHandler handler, ElemTemplateElement elem)Append the current template element to the current template element, and then push it onto the current template element stack.protected voidProcessorText. appendAndPush(StylesheetHandler handler, ElemTemplateElement elem)Append the current template element to the current template element, and then push it onto the current template element stack.voidProcessorCharacters. characters(StylesheetHandler handler, char[] ch, int start, int length)Receive notification of character data inside an element.voidStylesheetHandler. characters(char[] ch, int start, int length)Receive notification of character data inside an element.voidXSLTElementProcessor. characters(StylesheetHandler handler, char[] ch, int start, int length)Receive notification of character data inside an element.voidStylesheetHandler. endDocument()Receive notification of the end of the document.voidProcessorCharacters. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorExsltFunction. endElement(StylesheetHandler handler, String uri, String localName, String rawName)End an ElemExsltFunction, and verify its validity.voidProcessorLRE. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorStylesheetElement. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorTemplateElem. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidProcessorText. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidStylesheetHandler. endElement(String uri, String localName, String rawName)Receive notification of the end of an element.voidXSLTElementProcessor. endElement(StylesheetHandler handler, String uri, String localName, String rawName)Receive notification of the end of an element.voidStylesheetHandler. endPrefixMapping(String prefix)Receive notification of the end of a Namespace mapping.protected voidStylesheetHandler. error(String msg, Exception e)Tell the user of an error, and probably throw an exception.protected voidStylesheetHandler. error(String msg, Object[] args, Exception e)Tell the user of an error, and probably throw an exception.voidStylesheetHandler. error(SAXParseException e)Receive notification of a recoverable XSLT processing error.voidStylesheetHandler. fatalError(SAXParseException e)Report a fatal XSLT processing error.voidStylesheetHandler. ignorableWhitespace(char[] ch, int start, int length)Receive notification of ignorable whitespace in element content.voidXSLTElementProcessor. ignorableWhitespace(StylesheetHandler handler, char[] ch, int start, int length)Receive notification of ignorable whitespace in element content.protected voidProcessorInclude. parse(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Set off a new parse for an included or imported stylesheet.voidStylesheetHandler. processingInstruction(String target, String data)Receive notification of a processing instruction.voidXSLTElementProcessor. processingInstruction(StylesheetHandler handler, String target, String data)Receive notification of a processing instruction.InputSourceStylesheetHandler. resolveEntity(String publicId, String systemId)Resolve an external entity.InputSourceXSLTElementProcessor. resolveEntity(StylesheetHandler handler, String publicId, String systemId)Resolve an external entity.voidStylesheetHandler. skippedEntity(String name)Receive notification of a skipped entity.voidXSLTElementProcessor. skippedEntity(StylesheetHandler handler, String name)Receive notification of a skipped entity.voidStylesheetHandler. startDocument()Receive notification of the beginning of the document.voidProcessorExsltFuncResult. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Verify that the func:result element does not appear within a variable, parameter, or another func:result, and that it belongs to a func:function element.voidProcessorExsltFunction. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Start an ElemExsltFunction.voidProcessorInclude. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an xsl:include element.voidProcessorLRE. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an element.voidProcessorStylesheetElement. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an strip-space element.voidProcessorTemplateElem. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an element.voidStylesheetHandler. startElement(String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an element.voidXSLTElementProcessor. startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)Receive notification of the start of an element.voidProcessorCharacters. startNonText(StylesheetHandler handler)Receive notification of the start of the non-text event.voidXSLTElementProcessor. startNonText(StylesheetHandler handler)Receive notification of the start of the non-text event.voidStylesheetHandler. startPrefixMapping(String prefix, String uri)Receive notification of the start of a Namespace mapping.voidProcessorExsltFunction. validate(ElemTemplateElement elem, StylesheetHandler handler)Non-recursive traversal of FunctionElement tree based on TreeWalker to verify that there are no literal result elements except within a func:result element and that the func:result element does not contain any following siblings except xsl:fallback.voidStylesheetHandler. warn(String msg, Object[] args)Warn the user of an problem.voidStylesheetHandler. warning(SAXParseException e)Receive notification of a XSLT processing warning. -
Uses of SAXException in org.apache.xalan.serialize
Methods in org.apache.xalan.serialize that throw SAXException Modifier and Type Method Description static voidSerializerUtils. ensureNamespaceDeclDeclared(SerializationHandler handler, DTM dtm, int namespace)This function checks to make sure a given prefix is really declared.static voidSerializerUtils. outputResultTreeFragment(SerializationHandler handler, XObject obj, XPathContext support)Given a result tree fragment, walk the tree and output it to the SerializationHandler. -
Uses of SAXException in org.apache.xalan.transformer
Methods in org.apache.xalan.transformer with parameters of type SAXException Modifier and Type Method Description protected voidTransformerHandlerImpl. clearCoRoutine(SAXException ex)Do what needs to be done to shut down the CoRoutine management.Methods in org.apache.xalan.transformer that throw SAXException Modifier and Type Method Description voidTransformerHandlerImpl. attributeDecl(String eName, String aName, String type, String valueDefault, String value)Report an attribute type declaration.voidTransformerIdentityImpl. attributeDecl(String eName, String aName, String type, String valueDefault, String value)Report an attribute type declaration.voidTransformerHandlerImpl. characters(char[] ch, int start, int length)Filter a character data event.voidTransformerIdentityImpl. characters(char[] ch, int start, int length)Receive notification of character data inside an element.voidTransformerHandlerImpl. comment(char[] ch, int start, int length)Report an XML comment anywhere in the document.voidTransformerIdentityImpl. comment(char[] ch, int start, int length)Report an XML comment anywhere in the document.voidTransformerHandlerImpl. elementDecl(String name, String model)Report an element type declaration.voidTransformerIdentityImpl. elementDecl(String name, String model)Report an element type declaration.voidTransformerHandlerImpl. endCDATA()Report the end of a CDATA section.voidTransformerIdentityImpl. endCDATA()Report the end of a CDATA section.voidTransformerHandlerImpl. endDocument()Filter an end document event.voidTransformerIdentityImpl. endDocument()Receive notification of the end of the document.voidTransformerHandlerImpl. endDTD()Report the end of DTD declarations.voidTransformerIdentityImpl. endDTD()Report the end of DTD declarations.voidTransformerHandlerImpl. endElement(String uri, String localName, String qName)Filter an end element event.voidTransformerIdentityImpl. endElement(String uri, String localName, String qName)Receive notification of the end of an element.voidTransformerHandlerImpl. endEntity(String name)Report the end of an entity.voidTransformerIdentityImpl. endEntity(String name)Report the end of an entity.protected voidTreeWalker2Result. endNode(int node)End processing of given nodevoidTransformerHandlerImpl. endPrefixMapping(String prefix)Filter an end Namespace prefix mapping event.voidTransformerIdentityImpl. endPrefixMapping(String prefix)Receive notification of the end of a Namespace mapping.voidTransformerHandlerImpl. error(SAXParseException e)Filter an error event.voidTransformerHandlerImpl. externalEntityDecl(String name, String publicId, String systemId)Report a parsed external entity declaration.voidTransformerIdentityImpl. externalEntityDecl(String name, String publicId, String systemId)Report a parsed external entity declaration.voidTransformerHandlerImpl. fatalError(SAXParseException e)Filter a fatal error event.protected voidTransformerIdentityImpl. flushStartDoc()voidTransformerHandlerImpl. ignorableWhitespace(char[] ch, int start, int length)Filter an ignorable whitespace event.voidTransformerIdentityImpl. ignorableWhitespace(char[] ch, int start, int length)Receive notification of ignorable whitespace in element content.voidTransformerHandlerImpl. internalEntityDecl(String name, String value)Report an internal entity declaration.voidTransformerIdentityImpl. internalEntityDecl(String name, String value)Report an internal entity declaration.voidTransformerHandlerImpl. notationDecl(String name, String publicId, String systemId)Filter a notation declaration event.voidTransformerIdentityImpl. notationDecl(String name, String publicId, String systemId)Receive notification of a notation declaration.voidTrAXFilter. parse(String systemId)Parse a document.voidTrAXFilter. parse(InputSource input)Parse a document.voidTransformerHandlerImpl. processingInstruction(String target, String data)Filter a processing instruction event.voidTransformerIdentityImpl. processingInstruction(String target, String data)Receive notification of a processing instruction.InputSourceTransformerHandlerImpl. resolveEntity(String publicId, String systemId)Filter an external entity resolution.voidTransformerHandlerImpl. skippedEntity(String name)Filter a skipped entity event.voidTransformerIdentityImpl. skippedEntity(String name)Receive notification of a skipped entity.voidTransformerHandlerImpl. startCDATA()Report the start of a CDATA section.voidTransformerIdentityImpl. startCDATA()Report the start of a CDATA section.voidTransformerHandlerImpl. startDocument()Filter a start document event.voidTransformerIdentityImpl. startDocument()Receive notification of the beginning of the document.voidTransformerHandlerImpl. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidTransformerIdentityImpl. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidTransformerHandlerImpl. startElement(String uri, String localName, String qName, Attributes atts)Filter a start element event.voidTransformerIdentityImpl. startElement(String uri, String localName, String qName, Attributes attributes)Receive notification of the start of an element.voidTransformerHandlerImpl. startEntity(String name)Report the beginning of an entity in content.voidTransformerIdentityImpl. startEntity(String name)Report the beginning of an entity in content.protected voidTreeWalker2Result. startNode(int node)Start traversal of the tree at the given nodevoidTransformerHandlerImpl. startPrefixMapping(String prefix, String uri)Filter a start Namespace prefix mapping event.voidTransformerIdentityImpl. startPrefixMapping(String prefix, String uri)Receive notification of the start of a Namespace mapping.voidTreeWalker2Result. traverse(int pos)Perform a pre-order traversal non-recursive style.voidTransformerHandlerImpl. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Filter an unparsed entity declaration event.voidTransformerIdentityImpl. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Receive notification of an unparsed entity declaration.voidTransformerImpl. waitTransformThread()Used by SourceTreeHandler to wait until the transform completesvoidTransformerHandlerImpl. warning(SAXParseException e)Filter a warning event. -
Uses of SAXException in org.apache.xml.dtm
Methods in org.apache.xml.dtm that throw SAXException Modifier and Type Method Description voidDTM. dispatchCharactersEvents(int nodeHandle, ContentHandler ch, boolean normalize)Directly call the characters method on the passed ContentHandler for the string-value of the given node (see http://www.w3.org/TR/xpath#data-model for the definition of a node's string-value).voidDTM. dispatchToEvents(int nodeHandle, ContentHandler ch)Directly create SAX parser events representing the XML content of a DTM subtree. -
Uses of SAXException in org.apache.xml.dtm.ref
Methods in org.apache.xml.dtm.ref that throw SAXException Modifier and Type Method Description voidDTMDocumentImpl. characters(char[] ch, int start, int length)voidIncrementalSAXSource_Filter. characters(char[] ch, int start, int length)voidDTMDocumentImpl. comment(char[] ch, int start, int length)voidIncrementalSAXSource_Filter. comment(char[] ch, int start, int length)protected voidIncrementalSAXSource_Filter. count_and_yield(boolean moreExpected)In the SAX delegation code, I've inlined the count-down in the hope of encouraging compilers to deliver better performance.abstract voidDTMDefaultBase. dispatchCharactersEvents(int nodeHandle, ContentHandler ch, boolean normalize)Directly call the characters method on the passed ContentHandler for the string-value of the given node (see http://www.w3.org/TR/xpath#data-model for the definition of a node's string-value).voidDTMDocumentImpl. dispatchCharactersEvents(int nodeHandle, ContentHandler ch, boolean normalize)Directly call the characters method on the passed ContentHandler for the string-value of the given node (see http://www.w3.org/TR/xpath#data-model for the definition of a node's string-value).abstract voidDTMDefaultBase. dispatchToEvents(int nodeHandle, ContentHandler ch)Directly create SAX parser events from a subtree.voidDTMDocumentImpl. dispatchToEvents(int nodeHandle, ContentHandler ch)Directly create SAX parser events from a subtree.voidDTMDocumentImpl. endCDATA()voidIncrementalSAXSource_Filter. endCDATA()voidDTMDocumentImpl. endDocument()voidIncrementalSAXSource_Filter. endDocument()voidDTMDocumentImpl. endDTD()voidIncrementalSAXSource_Filter. endDTD()voidDTMDocumentImpl. endElement(String namespaceURI, String localName, String qName)voidIncrementalSAXSource_Filter. endElement(String namespaceURI, String localName, String qName)voidDTMDocumentImpl. endEntity(String name)voidIncrementalSAXSource_Filter. endEntity(String name)protected voidDTMTreeWalker. endNode(int node)End processing of given nodevoidDTMDocumentImpl. endPrefixMapping(String prefix)voidIncrementalSAXSource_Filter. endPrefixMapping(String prefix)voidIncrementalSAXSource_Filter. error(SAXParseException exception)voidIncrementalSAXSource_Filter. fatalError(SAXParseException exception)voidDTMDocumentImpl. ignorableWhitespace(char[] ch, int start, int length)voidIncrementalSAXSource_Filter. ignorableWhitespace(char[] ch, int start, int length)voidIncrementalSAXSource_Filter. notationDecl(String a, String b, String c)voidDTMDocumentImpl. processingInstruction(String target, String data)voidIncrementalSAXSource_Filter. processingInstruction(String target, String data)voidDTMDocumentImpl. skippedEntity(String name)voidIncrementalSAXSource_Filter. skippedEntity(String name)voidDTMDocumentImpl. startCDATA()voidIncrementalSAXSource_Filter. startCDATA()voidDTMDocumentImpl. startDocument()voidIncrementalSAXSource_Filter. startDocument()voidDTMDocumentImpl. startDTD(String name, String publicId, String systemId)voidIncrementalSAXSource_Filter. startDTD(String name, String publicId, String systemId)voidDTMDocumentImpl. startElement(String namespaceURI, String localName, String qName, Attributes atts)voidIncrementalSAXSource_Filter. startElement(String namespaceURI, String localName, String qName, Attributes atts)voidDTMDocumentImpl. startEntity(String name)voidIncrementalSAXSource_Filter. startEntity(String name)protected voidDTMTreeWalker. startNode(int node)Start processing given nodevoidIncrementalSAXSource_Filter. startParse(InputSource source)Launch a thread that will run an XMLReader's parse() operation within a thread, feeding events to this IncrementalSAXSource_Filter.voidIncrementalSAXSource. startParse(InputSource source)Launch an XMLReader's parsing operation, feeding events to this IncrementalSAXSource.voidDTMDocumentImpl. startPrefixMapping(String prefix, String uri)voidIncrementalSAXSource_Filter. startPrefixMapping(String prefix, String uri)voidDTMTreeWalker. traverse(int pos)Perform a non-recursive pre-order/post-order traversal, operating as a Visitor.voidDTMTreeWalker. traverse(int pos, int top)Perform a non-recursive pre-order/post-order traversal, operating as a Visitor.voidIncrementalSAXSource_Filter. unparsedEntityDecl(String a, String b, String c, String d)voidIncrementalSAXSource_Filter. warning(SAXParseException exception) -
Uses of SAXException in org.apache.xml.dtm.ref.dom2dtm
Methods in org.apache.xml.dtm.ref.dom2dtm that throw SAXException Modifier and Type Method Description voidDOM2DTM.CharacterNodeHandler. characters(Node node)voidDOM2DTM. dispatchCharactersEvents(int nodeHandle, ContentHandler ch, boolean normalize)Directly call the characters method on the passed ContentHandler for the string-value of the given node (see http://www.w3.org/TR/xpath#data-model for the definition of a node's string-value).protected static voidDOM2DTM. dispatchNodeData(Node node, ContentHandler ch, int depth)Retrieve the text content of a DOM subtree, appending it into a user-supplied FastStringBuffer object.voidDOM2DTM. dispatchToEvents(int nodeHandle, ContentHandler ch)Directly create SAX parser events from a subtree. -
Uses of SAXException in org.apache.xml.dtm.ref.sax2dtm
Methods in org.apache.xml.dtm.ref.sax2dtm that throw SAXException Modifier and Type Method Description voidSAX2DTM. attributeDecl(String eName, String aName, String type, String valueDefault, String value)Report an attribute type declaration.voidSAX2DTM. characters(char[] ch, int start, int length)Receive notification of character data inside an element.voidSAX2DTM. comment(char[] ch, int start, int length)Report an XML comment anywhere in the document.voidSAX2DTM2. comment(char[] ch, int start, int length)Report an XML comment anywhere in the document.protected voidSAX2DTM2. copyAttribute(int nodeID, int exptype, SerializationHandler handler)Copy an Attribute node to a SerializationHandlerprotected voidSAX2DTM2. copyAttributes(int nodeID, SerializationHandler handler)Copy attribute nodes from an element .protected StringSAX2DTM2. copyElement(int nodeID, int exptype, SerializationHandler handler)Copy an Element node to a SerializationHandler.protected voidSAX2DTM2. copyNS(int nodeID, SerializationHandler handler, boolean inScope)Copy namespace nodes.protected voidSAX2DTM2. copyTextNode(int nodeID, SerializationHandler handler)Copy the String value of a Text node to a SerializationHandlervoidSAX2DTM. dispatchCharactersEvents(int nodeHandle, ContentHandler ch, boolean normalize)Directly call the characters method on the passed ContentHandler for the string-value of the given node (see http://www.w3.org/TR/xpath#data-model for the definition of a node's string-value).voidSAX2DTM2. dispatchCharactersEvents(int nodeHandle, ContentHandler ch, boolean normalize)The optimized version of SAX2DTM.dispatchCharactersEvents(int, ContentHandler, boolean).voidSAX2DTM. dispatchToEvents(int nodeHandle, ContentHandler ch)Directly create SAX parser events from a subtree.voidSAX2DTM. elementDecl(String name, String model)Report an element type declaration.voidSAX2DTM. endCDATA()Report the end of a CDATA section.voidSAX2DTM. endDocument()Receive notification of the end of the document.voidSAX2DTM2. endDocument()Receive notification of the end of the document.voidSAX2RTFDTM. endDocument()Receive notification of the end of the document.voidSAX2DTM. endDTD()Report the end of DTD declarations.voidSAX2DTM. endElement(String uri, String localName, String qName)Receive notification of the end of an element.voidSAX2DTM2. endElement(String uri, String localName, String qName)Receive notification of the end of an element.voidSAX2DTM. endEntity(String name)Report the end of an entity.voidSAX2DTM. endPrefixMapping(String prefix)Receive notification of the end of a Namespace mapping.voidSAX2DTM. error(SAXParseException e)Receive notification of a recoverable parser error.voidSAX2DTM. externalEntityDecl(String name, String publicId, String systemId)Report a parsed external entity declaration.voidSAX2DTM. fatalError(SAXParseException e)Report a fatal XML parsing error.voidSAX2DTM. ignorableWhitespace(char[] ch, int start, int length)Receive notification of ignorable whitespace in element content.voidSAX2DTM. internalEntityDecl(String name, String value)Report an internal entity declaration.voidSAX2DTM. notationDecl(String name, String publicId, String systemId)Receive notification of a notation declaration.voidSAX2DTM. processingInstruction(String target, String data)Receive notification of a processing instruction.voidSAX2DTM2. processingInstruction(String target, String data)Override the processingInstruction() interface in SAX2DTM2.InputSourceSAX2DTM. resolveEntity(String publicId, String systemId)Resolve an external entity.voidSAX2DTM. skippedEntity(String name)Receive notification of a skipped entity.voidSAX2DTM. startCDATA()Report the start of a CDATA section.voidSAX2DTM. startDocument()Receive notification of the beginning of the document.voidSAX2DTM2. startDocument()Receive notification of the beginning of the document.voidSAX2RTFDTM. startDocument()Receive notification of the beginning of a new RTF document.voidSAX2DTM. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidSAX2DTM. startElement(String uri, String localName, String qName, Attributes attributes)Receive notification of the start of an element.voidSAX2DTM2. startElement(String uri, String localName, String qName, Attributes attributes)Override SAX2DTM.startElement()voidSAX2DTM. startEntity(String name)Report the beginning of an entity in content.voidSAX2DTM. startPrefixMapping(String prefix, String uri)Receive notification of the start of a Namespace mapping.voidSAX2DTM. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Receive notification of an unparsed entity declaration.voidSAX2DTM. warning(SAXParseException e)Receive notification of a parser warning. -
Uses of SAXException in org.apache.xml.serializer
Methods in org.apache.xml.serializer that throw SAXException Modifier and Type Method Description voidExtendedContentHandler. addAttribute(String uri, String localName, String rawName, String type, String value)Add at attribute to the current element, not from an xsl:attribute element.voidExtendedContentHandler. addAttribute(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)Add at attribute to the current elementvoidSerializerBase. addAttribute(String uri, String localName, String rawName, String type, String value)This method adds an attribute the the current element, but should not be used for an xsl:attribute child.voidSerializerBase. addAttribute(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)Adds the given attribute to the set of collected attributes , but only if there is a currently open element.voidToUnknownStream. addAttribute(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)Adds an attribute to the currenly open tagvoidToXMLSAXHandler. addAttribute(String uri, String localName, String rawName, String type, String value, boolean XSLAttribute)Adds the given attribute to the set of attributes, and also makes sure that the needed prefix/uri mapping is declared, but only if there is a currently open element.voidToXMLStream. addAttribute(String uri, String localName, String rawName, String type, String value, boolean xslAttribute)Add an attribute to the current element.voidExtendedContentHandler. addAttributes(Attributes atts)Add attributes to the current elementvoidSerializerBase. addAttributes(Attributes atts)Add the given attributes to the currently collected ones.voidToUnknownStream. addAttributes(Attributes atts)voidExtendedContentHandler. addUniqueAttribute(String qName, String value, int flags)Add a unique attribute to the current element.voidToHTMLStream. addUniqueAttribute(String name, String value, int flags)This method is used to add an attribute to the currently open element.voidToSAXHandler. addUniqueAttribute(String qName, String value, int flags)Add a unique attributevoidToTextStream. addUniqueAttribute(String qName, String value, int flags)Add a unique attributevoidToUnknownStream. addUniqueAttribute(String rawName, String value, int flags)Adds a unique attribute to the currenly open tagvoidToXMLStream. addUniqueAttribute(String name, String value, int flags)This method is used to add an attribute to the currently open element.voidToHTMLStream. attributeDecl(String eName, String aName, String type, String valueDefault, String value)This method does nothing.voidToStream. attributeDecl(String eName, String aName, String type, String valueDefault, String value)Report an attribute type declaration.voidToTextSAXHandler. attributeDecl(String arg0, String arg1, String arg2, String arg3, String arg4)Deprecated.voidToUnknownStream. attributeDecl(String arg0, String arg1, String arg2, String arg3, String arg4)Pass the call on to the underlying handlervoidToXMLSAXHandler. attributeDecl(String arg0, String arg1, String arg2, String arg3, String arg4)voidToHTMLStream. cdata(char[] ch, int start, int length)Receive notification of cdata.protected voidToStream. cdata(char[] ch, int start, int length)Receive notification of cdata.voidToTextStream. cdata(char[] ch, int start, int length)Receive notification of cdata.voidExtendedContentHandler. characters(String chars)This method is used to notify of a character event, but passing the data as a character String rather than the standard character array.voidExtendedContentHandler. characters(Node node)This method is used to notify of a character event, but passing the data as a DOM Node rather than the standard character array.voidSerializerBase. characters(Node node)This method gets the nodes value as a String and uses that String as if it were an input character notification.voidToHTMLStream. characters(char[] chars, int start, int length)Receive notification of character data.voidToSAXHandler. characters(String characters)Receive notification of character data.voidToSAXHandler. characters(Node node)This method gets the node's value as a String and uses that String as if it were an input character notification.voidToStream. characters(char[] chars, int start, int length)Receive notification of character data.voidToStream. characters(String s)Receive notification of character data.voidToTextSAXHandler. characters(char[] characters, int offset, int length)Deprecated.voidToTextSAXHandler. characters(String characters)Deprecated.voidToTextStream. characters(char[] ch, int start, int length)Receive notification of character data.voidToTextStream. characters(String characters)From XSLTCvoidToUnknownStream. characters(char[] characters, int offset, int length)Pass the call on to the underlying handlervoidToUnknownStream. characters(String chars)Converts the String to a character array and calls the SAX method characters(char[],int,int);voidToXMLSAXHandler. characters(char[] ch, int off, int len)voidToXMLSAXHandler. characters(String chars)protected voidToStream. charactersRaw(char[] ch, int start, int length)If available, when the disable-output-escaping attribute is used, output raw text without escaping.voidToTextStream. charactersRaw(char[] ch, int start, int length)If available, when the disable-output-escaping attribute is used, output raw text without escaping.protected voidToSAXHandler. closeCDATA()protected voidToStream. closeCDATA()This helper method to writes out "]]>" when closing a CDATA section.voidToXMLSAXHandler. closeCDATA()Closes ane open cdata tag, and unlike the this.endCDATA() method (from the LexicalHandler) interface, this "internal" method will send the endCDATA() call to the wrapped handler.protected voidToHTMLStream. closeStartTag()For the enclosing elements starting tag write out out any attributes followed by ">".protected voidToSAXHandler. closeStartTag()protected voidToStream. closeStartTag()For the enclosing elements starting tag write out out any attributes followed by ">"protected voidToXMLSAXHandler. closeStartTag()This method is called when all the data needed for a call to the SAX handler's startElement() method has been gathered.voidExtendedLexicalHandler. comment(String comment)This method is used to notify of a commentvoidSerializerBase. comment(String data)Receive notification of a comment.voidToHTMLStream. comment(char[] ch, int start, int length)voidToSAXHandler. comment(String comment)Receive notification of a comment.voidToStream. comment(char[] ch, int start, int length)Receive notification of an XML comment anywhere in the document.voidToTextSAXHandler. comment(char[] ch, int start, int length)Deprecated.voidToTextSAXHandler. comment(String data)Deprecated.voidToTextStream. comment(char[] ch, int start, int length)Report an XML comment anywhere in the document.voidToTextStream. comment(String data)Called when a Comment is to be constructed.voidToUnknownStream. comment(char[] ch, int start, int length)Pass the call on to the underlying handlervoidToUnknownStream. comment(String comment)Pass the call on to the underlying handlervoidToXMLSAXHandler. comment(char[] arg0, int arg1, int arg2)voidToHTMLStream. elementDecl(String name, String model)This method does nothing.voidToStream. elementDecl(String name, String model)Report an element type declaration.voidToTextSAXHandler. elementDecl(String arg0, String arg1)Deprecated.voidToUnknownStream. elementDecl(String arg0, String arg1)Pass the call on to the underlying handlervoidToXMLSAXHandler. elementDecl(String arg0, String arg1)voidToStream. endCDATA()Report the end of a CDATA section.voidToTextSAXHandler. endCDATA()Deprecated.voidToTextStream. endCDATA()voidToUnknownStream. endCDATA()Pass the call on to the underlying handlervoidToXMLSAXHandler. endCDATA()voidToHTMLStream. endDocument()Receive notification of the end of a document.voidToTextSAXHandler. endDocument()Deprecated.From XSLTCvoidToTextStream. endDocument()Receive notification of the end of a document.voidToUnknownStream. endDocument()Pass the call on to the underlying handlervoidToXMLSAXHandler. endDocument()Receives notification of the end of the document.voidToXMLStream. endDocument()Receive notification of the end of a document.voidToHTMLStream. endDTD()Report the end of DTD declarations.voidToStream. endDTD()Report the end of DTD declarations.voidToTextSAXHandler. endDTD()Deprecated.voidToUnknownStream. endDTD()Pass the call on to the underlying handlervoidToXMLSAXHandler. endDTD()voidExtendedContentHandler. endElement(String elemName)This method is used to notify that an element has ended.voidToHTMLStream. endElement(String elemName)voidToHTMLStream. endElement(String namespaceURI, String localName, String name)Receive notification of the end of an element.voidToStream. endElement(String name)Receive notification of the end of an element.voidToStream. endElement(String namespaceURI, String localName, String name)Receive notification of the end of an element.voidToTextSAXHandler. endElement(String elemName)Deprecated.From XSLTCvoidToTextSAXHandler. endElement(String arg0, String arg1, String arg2)Deprecated.voidToTextStream. endElement(String elemName)voidToTextStream. endElement(String namespaceURI, String localName, String name)Receive notification of the end of an element.voidToUnknownStream. endElement(String elementName)Pass the call on to the underlying handlervoidToUnknownStream. endElement(String namespaceURI, String localName, String qName)Pass the call on to the underlying handlervoidToXMLSAXHandler. endElement(String elemName)voidToXMLSAXHandler. endElement(String namespaceURI, String localName, String qName)voidToXMLStream. endElement(String elemName)voidSerializerBase. endEntity(String name)Report the end of an entity.voidToUnknownStream. endEntity(String name)Pass the call on to the underlying handlerprotected voidTreeWalker. endNode(Node node)End processing of given nodevoidToStream. endNonEscaping()Ends an un-escaping section.voidToStream. endPrefixMapping(String prefix)End the scope of a prefix-URI Namespace mapping.voidToTextSAXHandler. endPrefixMapping(String arg0)Deprecated.voidToUnknownStream. endPrefixMapping(String prefix)Pass the call on to the underlying handlervoidToXMLSAXHandler. endPrefixMapping(String prefix)voidToXMLStream. endPreserving()Ends a whitespace preserving section.protected StringToStream. ensureAttributesNamespaceIsDeclared(String ns, String localName, String rawName)Makes sure that the namespace URI for the given qualified attribute name is declared.voidExtendedContentHandler. entityReference(String entityName)Notify of an entity reference.voidSerializerBase. entityReference(String name)Entity reference event.voidToHTMLStream. entityReference(String name)Receive notivication of a entityReference.voidToTextStream. entityReference(String name)Receive notivication of a entityReference.voidToUnknownStream. entityReference(String entityName)voidToXMLStream. entityReference(String name)Receive notivication of a entityReference.voidSerializerBase. error(SAXParseException exc)voidToSAXHandler. error(SAXParseException exc)voidToHTMLStream. externalEntityDecl(String name, String publicId, String systemId)This method does nothing.voidToStream. externalEntityDecl(String name, String publicId, String systemId)Report a parsed external entity declaration.voidToTextSAXHandler. externalEntityDecl(String arg0, String arg1, String arg2)Deprecated.voidToUnknownStream. externalEntityDecl(String name, String publicId, String systemId)Pass the call on to the underlying handlervoidToXMLSAXHandler. externalEntityDecl(String arg0, String arg1, String arg2)voidSerializerBase. fatalError(SAXParseException exc)voidToSAXHandler. fatalError(SAXParseException exc)protected voidSerializerBase. fireCDATAEvent(char[] chars, int start, int length)Report the CDATA trace eventprotected voidSerializerBase. fireCharEvent(char[] chars, int start, int length)Report the characters trace eventprotected voidSerializerBase. fireCommentEvent(char[] chars, int start, int length)Report the comment trace eventprotected voidSerializerBase. fireEndDoc()To fire off end document trace eventprotected voidSerializerBase. fireEndElem(String name)To fire off the end element trace eventvoidSerializerBase. fireEndEntity(String name)To fire off end entity trace eventprotected voidSerializerBase. fireEntityReference(String name)To fire off the entity reference trace eventprotected voidSerializerBase. fireEscapingEvent(String name, String data)To fire off the PI trace eventprotected voidSerializerBase. fireStartDoc()To fire off start document trace eventprotected voidSerializerBase. fireStartElem(String elemName)Report the start element trace event.protected voidSerializerBase. fireStartEntity(String name)To fire off start entity trace eventvoidSerializationHandler. flushPending()A SerializationHandler accepts SAX-like events, so it can accumulate attributes or namespace nodes after a startElement().voidToSAXHandler. flushPending()This method flushes any pending events, which can be startDocument() closing the opening tag of an element, or closing an open CDATA section.voidToStream. flushPending()This method flushes any pending events, which can be startDocument() closing the opening tag of an element, or closing an open CDATA section.voidToTextStream. flushPending()voidToUnknownStream. flushPending()protected voidToStream. flushWriter()Flush the formatter's result stream.voidToStream. ignorableWhitespace(char[] ch, int start, int length)Receive notification of ignorable whitespace in element content.voidToTextSAXHandler. ignorableWhitespace(char[] arg0, int arg1, int arg2)Deprecated.voidToTextStream. ignorableWhitespace(char[] ch, int start, int length)Receive notification of ignorable whitespace in element content.voidToUnknownStream. ignorableWhitespace(char[] ch, int start, int length)Pass the call on to the underlying handlervoidToXMLSAXHandler. ignorableWhitespace(char[] arg0, int arg1, int arg2)voidToTextSAXHandler. indent(int n)Deprecated.Does nothing because the indent attribute is ignored for text output.voidToXMLSAXHandler. indent(int n)Do nothing for SAX.voidToHTMLStream. internalEntityDecl(String name, String value)This method does nothing.voidToStream. internalEntityDecl(String name, String value)Report an internal entity declaration.voidToTextSAXHandler. internalEntityDecl(String arg0, String arg1)Deprecated.voidToUnknownStream. internalEntityDecl(String arg0, String arg1)Pass the call on to the underlying handlervoidToXMLSAXHandler. internalEntityDecl(String arg0, String arg1)voidExtendedContentHandler. namespaceAfterStartElement(String uri, String prefix)This method is used to notify that a prefix mapping is to start, but after an element is started.voidSerializerBase. namespaceAfterStartElement(String uri, String prefix)This method is used when a prefix/uri namespace mapping is indicated after the element was started with a startElement() and before and endElement().voidToHTMLStream. namespaceAfterStartElement(String prefix, String uri)This method is used when a prefix/uri namespace mapping is indicated after the element was started with a startElement() and before and endElement().voidToTextSAXHandler. namespaceAfterStartElement(String prefix, String uri)Deprecated.voidToTextStream. namespaceAfterStartElement(String prefix, String uri)voidToUnknownStream. namespaceAfterStartElement(String prefix, String uri)This method is used when a prefix/uri namespace mapping is indicated after the element was started with a startElement() and before and endElement().voidToXMLSAXHandler. namespaceAfterStartElement(String prefix, String uri)Send a namespace declaration in the output document.voidToXMLStream. namespaceAfterStartElement(String prefix, String uri)This method is used to notify the serializer of a namespace mapping (or node) that applies to the current element whose startElement() call has already been seen.voidSerializerBase. notationDecl(String arg0, String arg1, String arg2)voidToStream. notationDecl(String name, String pubID, String sysID)If this method is called, the serializer is used as a DTDHandler, which changes behavior how the serializer handles document entities.voidToHTMLStream. processAttributes(Writer writer, int nAttrs)Process the attributes, which means to write out the currently collected attributes to the writer.voidToStream. processAttributes(Writer writer, int nAttrs)Process the attributes, which means to write out the currently collected attributes to the writer.voidToHTMLStream. processingInstruction(String target, String data)Receive notification of a processing instruction.voidToSAXHandler. processingInstruction(String target, String data)Do nothing as this is an abstract class.voidToTextSAXHandler. processingInstruction(String arg0, String arg1)Deprecated.From XSLTCvoidToTextStream. processingInstruction(String target, String data)Receive notification of a processing instruction.voidToUnknownStream. processingInstruction(String target, String data)Pass the call on to the underlying handlervoidToXMLSAXHandler. processingInstruction(String target, String data)voidToXMLStream. processingInstruction(String target, String data)Receive notification of a processing instruction.booleanSerializationHandler. setEscaping(boolean escape)Turns special character escaping on/off.booleanToUnknownStream. setEscaping(boolean escape)booleanToXMLSAXHandler. setEscaping(boolean escape)voidToStream. skippedEntity(String name)Receive notification of a skipped entity.voidToTextSAXHandler. skippedEntity(String arg0)Deprecated.voidToUnknownStream. skippedEntity(String name)Pass the call on to the underlying handlervoidToXMLSAXHandler. skippedEntity(String arg0)voidToStream. startCDATA()Report the start of a CDATA section.voidToTextSAXHandler. startCDATA()Deprecated.voidToUnknownStream. startCDATA()Pass the call on to the underlying handlervoidToXMLSAXHandler. startCDATA()voidSerializerBase. startDocument()Receive notification of the beginning of a document.voidToUnknownStream. startDocument()protected voidSerializerBase. startDocumentInternal()This method handles what needs to be done at a startDocument() call, whether from an external caller, or internally called in the serializer.protected voidToHTMLStream. startDocumentInternal()Receive notification of the beginning of a document.protected voidToSAXHandler. startDocumentInternal()Pass callback to the SAX Handlerprotected voidToTextStream. startDocumentInternal()Receive notification of the beginning of a document.voidToXMLStream. startDocumentInternal()Receive notification of the beginning of a document.voidToHTMLStream. startDTD(String name, String publicId, String systemId)voidToSAXHandler. startDTD(String arg0, String arg1, String arg2)Do nothing.voidToStream. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidToUnknownStream. startDTD(String name, String publicId, String systemId)Pass the call on to the underlying handlervoidExtendedContentHandler. startElement(String qName)This method is used to notify of the start of an elementvoidExtendedContentHandler. startElement(String uri, String localName, String qName)This method is used to notify that an element is starting.voidToHTMLStream. startElement(String namespaceURI, String localName, String name, Attributes atts)Receive notification of the beginning of an element.voidToSAXHandler. startElement(String qName)An element starts, but attributes are not fully known yet.voidToSAXHandler. startElement(String uri, String localName, String qName)Receives notification that an element starts, but attributes are not fully known yet.voidToSAXHandler. startElement(String arg0, String arg1, String arg2, Attributes arg3)Receive notification of the beginning of an element, although this is a SAX method additional namespace or attribute information can occur before or after this call, that is associated with this element.voidToStream. startElement(String elementName)voidToStream. startElement(String elementNamespaceURI, String elementLocalName, String elementName)Receive notification of the beginning of an element, additional namespace or attribute information can occur before or after this call, that is associated with this element.voidToStream. startElement(String namespaceURI, String localName, String name, Attributes atts)Receive notification of the beginning of an element, although this is a SAX method additional namespace or attribute information can occur before or after this call, that is associated with this element.voidToTextSAXHandler. startElement(String elementName)Deprecated.voidToTextSAXHandler. startElement(String elementNamespaceURI, String elementLocalName, String elementName)Deprecated.From XSLTCvoidToTextSAXHandler. startElement(String arg0, String arg1, String arg2, Attributes arg3)Deprecated.voidToTextStream. startElement(String elementNamespaceURI, String elementLocalName, String elementName)From XSLTCvoidToTextStream. startElement(String namespaceURI, String localName, String name, Attributes atts)Receive notification of the beginning of an element.voidToUnknownStream. startElement(String qName)voidToUnknownStream. startElement(String namespaceURI, String localName, String qName)voidToUnknownStream. startElement(String namespaceURI, String localName, String elementName, Attributes atts)voidToXMLSAXHandler. startElement(String elementName)voidToXMLSAXHandler. startElement(String elementNamespaceURI, String elementLocalName, String elementName)Start an element in the output document.voidToXMLSAXHandler. startElement(String namespaceURI, String localName, String name, Attributes atts)voidToStream. startEntity(String name)Report the beginning of an entity.voidToTextSAXHandler. startEntity(String arg0)Deprecated.voidToUnknownStream. startEntity(String name)Pass the call on to the underlying handlervoidToXMLSAXHandler. startEntity(String arg0)protected voidTreeWalker. startNode(Node node)Start processing given nodevoidToStream. startNonEscaping()Starts an un-escaping section.booleanExtendedContentHandler. startPrefixMapping(String prefix, String uri, boolean shouldFlush)This method is used to notify that a prefix maping is to start, which can be for the current element, or for the one to come.voidToStream. startPrefixMapping(String prefix, String uri)Begin the scope of a prefix-URI Namespace mapping just before another element is about to start.booleanToStream. startPrefixMapping(String prefix, String uri, boolean shouldFlush)Handle a prefix/uri mapping, which is associated with a startElement() that is soon to follow.voidToTextSAXHandler. startPrefixMapping(String prefix, String uri)Deprecated.booleanToTextSAXHandler. startPrefixMapping(String prefix, String uri, boolean shouldFlush)Deprecated.voidToTextStream. startPrefixMapping(String prefix, String uri)booleanToTextStream. startPrefixMapping(String prefix, String uri, boolean shouldFlush)voidToUnknownStream. startPrefixMapping(String prefix, String uri)booleanToUnknownStream. startPrefixMapping(String prefix, String uri, boolean shouldFlush)voidToXMLSAXHandler. startPrefixMapping(String prefix, String uri)booleanToXMLSAXHandler. startPrefixMapping(String prefix, String uri, boolean shouldFlush)Remember the prefix/uri mapping at the current nested element depth.voidToXMLStream. startPreserving()Starts a whitespace preserving section.voidTreeWalker. traverse(Node pos)Perform a pre-order traversal non-recursive style.voidTreeWalker. traverse(Node pos, Node top)Perform a pre-order traversal non-recursive style.voidSerializerBase. unparsedEntityDecl(String arg0, String arg1, String arg2, String arg3)voidToStream. unparsedEntityDecl(String name, String pubID, String sysID, String notationName)If this method is called, the serializer is used as a DTDHandler, which changes behavior how the serializer handles document entities.voidSerializerBase. warning(SAXParseException exc)voidToSAXHandler. warning(SAXParseException exc) -
Uses of SAXException in org.apache.xml.utils
Subclasses of SAXException in org.apache.xml.utils Modifier and Type Class Description classStopParseExceptionThis is a special exception that is used to stop parsing when search for an element.Methods in org.apache.xml.utils that throw SAXException Modifier and Type Method Description protected voidDOMBuilder. append(Node newNode)Append a node to the current container.voidDOMBuilder. cdata(char[] ch, int start, int length)Receive notification of cdata.voidDOMBuilder. characters(char[] ch, int start, int length)Receive notification of character data.voidDOMBuilder. charactersRaw(char[] ch, int start, int length)If available, when the disable-output-escaping attribute is used, output raw text without escaping.voidDOMBuilder. comment(char[] ch, int start, int length)Report an XML comment anywhere in the document.voidXMLString. dispatchAsComment(LexicalHandler lh)Directly call the comment method on the passed LexicalHandler for the string-value.voidXMLStringDefault. dispatchAsComment(LexicalHandler lh)Directly call the comment method on the passed LexicalHandler for the string-value.voidXMLString. dispatchCharactersEvents(ContentHandler ch)Directly call the characters method on the passed ContentHandler for the string-value.voidXMLStringDefault. dispatchCharactersEvents(ContentHandler ch)Directly call the characters method on the passed ContentHandler for the string-value.voidDOMBuilder. endCDATA()Report the end of a CDATA section.voidDOMBuilder. endDocument()Receive notification of the end of a document.voidDOMBuilder. endDTD()Report the end of DTD declarations.voidDOMBuilder. endElement(String ns, String localName, String name)Receive notification of the end of an element.voidDOMBuilder. endEntity(String name)Report the end of an entity.protected voidTreeWalker. endNode(Node node)End processing of given nodevoidDOMBuilder. endPrefixMapping(String prefix)End the scope of a prefix-URI mapping.voidDOMBuilder. entityReference(String name)Receive notivication of a entityReference.voidDefaultErrorHandler. error(SAXParseException exception)Receive notification of a recoverable error.voidDefaultErrorHandler. fatalError(SAXParseException exception)Receive notification of a non-recoverable error.XMLReaderXMLReaderManager. getXMLReader()Retrieves a cached XMLReader for this thread, or creates a new XMLReader, if the existing reader is in use.voidDOMBuilder. ignorableWhitespace(char[] ch, int start, int length)Receive notification of ignorable whitespace in element content.voidDOMBuilder. processingInstruction(String target, String data)Receive notification of a processing instruction.voidStylesheetPIHandler. processingInstruction(String target, String data)Handle the xml-stylesheet processing instruction.static voidFastStringBuffer. sendNormalizedSAXcharacters(char[] ch, int start, int length, ContentHandler handler)Directly normalize and dispatch the character array.intFastStringBuffer. sendNormalizedSAXcharacters(ContentHandler ch, int start, int length)Sends the specified range of characters as one or more SAX characters() events, normalizing the characters according to XSLT rules.voidFastStringBuffer. sendSAXcharacters(ContentHandler ch, int start, int length)Sends the specified range of characters as one or more SAX characters() events.voidFastStringBuffer. sendSAXComment(LexicalHandler ch, int start, int length)Sends the specified range of characters as sax Comment.voidDOMBuilder. skippedEntity(String name)Receive notification of a skipped entity.voidDOMBuilder. startCDATA()Report the start of a CDATA section.voidDOMBuilder. startDocument()Receive notification of the beginning of a document.voidDOMBuilder. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidDOMBuilder. startElement(String ns, String localName, String name, Attributes atts)Receive notification of the beginning of an element.voidStylesheetPIHandler. startElement(String namespaceURI, String localName, 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.voidDOMBuilder. startEntity(String name)Report the beginning of an entity.protected voidTreeWalker. startNode(Node node)Start processing given nodevoidDOMBuilder. startPrefixMapping(String prefix, String uri)Begin the scope of a prefix-URI Namespace mapping.voidTreeWalker. traverse(Node pos)Perform a pre-order traversal non-recursive style.voidTreeWalker. traverse(Node pos, Node top)Perform a pre-order traversal non-recursive style.voidTreeWalker. traverseFragment(Node pos)Perform a pre-order traversal non-recursive style.voidDefaultErrorHandler. warning(SAXParseException exception)Receive notification of a warning. -
Uses of SAXException in org.apache.xpath
Methods in org.apache.xpath that throw SAXException Modifier and Type Method Description voidExpression. executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler)Execute an expression in the XPath runtime context, and return the result of the expression. -
Uses of SAXException in org.apache.xpath.axes
Methods in org.apache.xpath.axes that throw SAXException Modifier and Type Method Description voidLocPathIterator. executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler)Execute an expression in the XPath runtime context, and return the result of the expression. -
Uses of SAXException in org.apache.xpath.functions
Methods in org.apache.xpath.functions that throw SAXException Modifier and Type Method Description voidFuncNormalizeSpace. executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler)Execute an expression in the XPath runtime context, and return the result of the expression. -
Uses of SAXException in org.apache.xpath.objects
Methods in org.apache.xpath.objects that throw SAXException Modifier and Type Method Description voidXString. dispatchAsComment(LexicalHandler lh)Directly call the comment method on the passed LexicalHandler for the string-value.voidXStringForChars. dispatchAsComment(LexicalHandler lh)Directly call the comment method on the passed LexicalHandler for the string-value.voidXStringForFSB. dispatchAsComment(LexicalHandler lh)Directly call the comment method on the passed LexicalHandler for the string-value.voidXNodeSet. dispatchCharactersEvents(ContentHandler ch)Directly call the characters method on the passed ContentHandler for the string-value.voidXObject. dispatchCharactersEvents(ContentHandler ch)Directly call the characters method on the passed ContentHandler for the string-value.voidXString. dispatchCharactersEvents(ContentHandler ch)Directly call the characters method on the passed ContentHandler for the string-value.voidXStringForChars. dispatchCharactersEvents(ContentHandler ch)Directly call the characters method on the passed ContentHandler for the string-value.voidXStringForFSB. dispatchCharactersEvents(ContentHandler ch)Directly call the characters method on the passed ContentHandler for the string-value. -
Uses of SAXException in org.xml.sax
Subclasses of SAXException in org.xml.sax Modifier and Type Class Description classSAXNotRecognizedExceptionException class for an unrecognized identifier.classSAXNotSupportedExceptionException class for an unsupported operation.classSAXParseExceptionEncapsulate an XML parse error or warning.Methods in org.xml.sax that throw SAXException Modifier and Type Method Description voidContentHandler. characters(char[] ch, int start, int length)Receive notification of character data.voidDocumentHandler. characters(char[] ch, int start, int length)Deprecated.Receive notification of character data.voidHandlerBase. characters(char[] ch, int start, int length)Deprecated.Receive notification of character data inside an element.voidContentHandler. endDocument()Receive notification of the end of a document.voidDocumentHandler. endDocument()Deprecated.Receive notification of the end of a document.voidHandlerBase. endDocument()Deprecated.Receive notification of the end of the document.voidContentHandler. endElement(String uri, String localName, String qName)Receive notification of the end of an element.voidDocumentHandler. endElement(String name)Deprecated.Receive notification of the end of an element.voidHandlerBase. endElement(String name)Deprecated.Receive notification of the end of an element.voidContentHandler. endPrefixMapping(String prefix)End the scope of a prefix-URI mapping.voidErrorHandler. error(SAXParseException exception)Receive notification of a recoverable error.voidHandlerBase. error(SAXParseException e)Deprecated.Receive notification of a recoverable parser error.voidErrorHandler. fatalError(SAXParseException exception)Receive notification of a non-recoverable error.voidHandlerBase. fatalError(SAXParseException e)Deprecated.Report a fatal XML parsing error.voidContentHandler. ignorableWhitespace(char[] ch, int start, int length)Receive notification of ignorable whitespace in element content.voidDocumentHandler. ignorableWhitespace(char[] ch, int start, int length)Deprecated.Receive notification of ignorable whitespace in element content.voidHandlerBase. ignorableWhitespace(char[] ch, int start, int length)Deprecated.Receive notification of ignorable whitespace in element content.voidDTDHandler. notationDecl(String name, String publicId, String systemId)Receive notification of a notation declaration event.voidParser. parse(String systemId)Deprecated.Parse an XML document from a system identifier (URI).voidParser. parse(InputSource source)Deprecated.Parse an XML document.voidXMLReader. parse(String systemId)Parse an XML document from a system identifier (URI).voidXMLReader. parse(InputSource input)Parse an XML document.voidContentHandler. processingInstruction(String target, String data)Receive notification of a processing instruction.voidDocumentHandler. processingInstruction(String target, String data)Deprecated.Receive notification of a processing instruction.voidHandlerBase. processingInstruction(String target, String data)Deprecated.Receive notification of a processing instruction.InputSourceEntityResolver. resolveEntity(String publicId, String systemId)Allow the application to resolve external entities.InputSourceHandlerBase. resolveEntity(String publicId, String systemId)Deprecated.Resolve an external entity.voidParser. setLocale(Locale locale)Deprecated.Allow an application to request a locale for errors and warnings.voidContentHandler. skippedEntity(String name)Receive notification of a skipped entity.voidContentHandler. startDocument()Receive notification of the beginning of a document.voidDocumentHandler. startDocument()Deprecated.Receive notification of the beginning of a document.voidHandlerBase. startDocument()Deprecated.Receive notification of the beginning of the document.voidContentHandler. startElement(String uri, String localName, String qName, Attributes atts)Receive notification of the beginning of an element.voidDocumentHandler. startElement(String name, AttributeList atts)Deprecated.Receive notification of the beginning of an element.voidHandlerBase. startElement(String name, AttributeList attributes)Deprecated.Receive notification of the start of an element.voidContentHandler. startPrefixMapping(String prefix, String uri)Begin the scope of a prefix-URI Namespace mapping.voidDTDHandler. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Receive notification of an unparsed entity declaration event.voidErrorHandler. warning(SAXParseException exception)Receive notification of a warning.voidHandlerBase. warning(SAXParseException e)Deprecated.Receive notification of a parser warning. -
Uses of SAXException in org.xml.sax.ext
Methods in org.xml.sax.ext that throw SAXException Modifier and Type Method Description voidDeclHandler. attributeDecl(String eName, String aName, String type, String mode, String value)Report an attribute type declaration.voidDefaultHandler2. attributeDecl(String eName, String aName, String type, String mode, String value)voidDefaultHandler2. comment(char[] ch, int start, int length)voidLexicalHandler. comment(char[] ch, int start, int length)Report an XML comment anywhere in the document.voidDeclHandler. elementDecl(String name, String model)Report an element type declaration.voidDefaultHandler2. elementDecl(String name, String model)voidDefaultHandler2. endCDATA()voidLexicalHandler. endCDATA()Report the end of a CDATA section.voidDefaultHandler2. endDTD()voidLexicalHandler. endDTD()Report the end of DTD declarations.voidDefaultHandler2. endEntity(String name)voidLexicalHandler. endEntity(String name)Report the end of an entity.voidDeclHandler. externalEntityDecl(String name, String publicId, String systemId)Report a parsed external entity declaration.voidDefaultHandler2. externalEntityDecl(String name, String publicId, String systemId)InputSourceDefaultHandler2. getExternalSubset(String name, String baseURI)Tells the parser that if no external subset has been declared in the document text, none should be used.InputSourceEntityResolver2. getExternalSubset(String name, String baseURI)Allows applications to provide an external subset for documents that don't explicitly define one.voidDeclHandler. internalEntityDecl(String name, String value)Report an internal entity declaration.voidDefaultHandler2. internalEntityDecl(String name, String value)InputSourceDefaultHandler2. resolveEntity(String publicId, String systemId)InvokesEntityResolver2.resolveEntity()with null entity name and base URI.InputSourceDefaultHandler2. 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.InputSourceEntityResolver2. 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.voidDefaultHandler2. startCDATA()voidLexicalHandler. startCDATA()Report the start of a CDATA section.voidDefaultHandler2. startDTD(String name, String publicId, String systemId)voidLexicalHandler. startDTD(String name, String publicId, String systemId)Report the start of DTD declarations, if any.voidDefaultHandler2. startEntity(String name)voidLexicalHandler. startEntity(String name)Report the beginning of some internal and external XML entities. -
Uses of SAXException in org.xml.sax.helpers
Methods in org.xml.sax.helpers that throw SAXException Modifier and Type Method Description voidDefaultHandler. characters(char[] ch, int start, int length)Receive notification of character data inside an element.voidParserAdapter. characters(char[] ch, int start, int length)Adapter implementation method; do not call.voidXMLFilterImpl. characters(char[] ch, int start, int length)Filter a character data event.voidXMLReaderAdapter. characters(char[] ch, int start, int length)Adapt a SAX2 characters event.static XMLReaderXMLReaderFactory. createXMLReader()Attempt to create an XMLReader from system defaults.static XMLReaderXMLReaderFactory. createXMLReader(String className)Attempt to create an XML reader from a class name.voidDefaultHandler. endDocument()Receive notification of the end of the document.voidParserAdapter. endDocument()Adapter implementation method; do not call.voidXMLFilterImpl. endDocument()Filter an end document event.voidXMLReaderAdapter. endDocument()End document event.voidDefaultHandler. endElement(String uri, String localName, String qName)Receive notification of the end of an element.voidParserAdapter. endElement(String qName)Adapter implementation method; do not call.voidXMLFilterImpl. endElement(String uri, String localName, String qName)Filter an end element event.voidXMLReaderAdapter. endElement(String uri, String localName, String qName)Adapt a SAX2 end element event.voidDefaultHandler. endPrefixMapping(String prefix)Receive notification of the end of a Namespace mapping.voidXMLFilterImpl. endPrefixMapping(String prefix)Filter an end Namespace prefix mapping event.voidDefaultHandler. error(SAXParseException e)Receive notification of a recoverable parser error.voidXMLFilterImpl. error(SAXParseException e)Filter an error event.voidDefaultHandler. fatalError(SAXParseException e)Report a fatal XML parsing error.voidXMLFilterImpl. fatalError(SAXParseException e)Filter a fatal error event.voidDefaultHandler. ignorableWhitespace(char[] ch, int start, int length)Receive notification of ignorable whitespace in element content.voidParserAdapter. ignorableWhitespace(char[] ch, int start, int length)Adapter implementation method; do not call.voidXMLFilterImpl. ignorableWhitespace(char[] ch, int start, int length)Filter an ignorable whitespace event.voidXMLReaderAdapter. ignorableWhitespace(char[] ch, int start, int length)Adapt a SAX2 ignorable whitespace event.voidDefaultHandler. notationDecl(String name, String publicId, String systemId)Receive notification of a notation declaration.voidXMLFilterImpl. notationDecl(String name, String publicId, String systemId)Filter a notation declaration event.voidParserAdapter. parse(String systemId)Parse an XML document.voidParserAdapter. parse(InputSource input)Parse an XML document.voidXMLFilterImpl. parse(String systemId)Parse a document.voidXMLFilterImpl. parse(InputSource input)Parse a document.voidXMLReaderAdapter. parse(String systemId)Parse the document.voidXMLReaderAdapter. parse(InputSource input)Parse the document.voidDefaultHandler. processingInstruction(String target, String data)Receive notification of a processing instruction.voidParserAdapter. processingInstruction(String target, String data)Adapter implementation method; do not call.voidXMLFilterImpl. processingInstruction(String target, String data)Filter a processing instruction event.voidXMLReaderAdapter. processingInstruction(String target, String data)Adapt a SAX2 processing instruction event.InputSourceDefaultHandler. resolveEntity(String publicId, String systemId)Resolve an external entity.InputSourceXMLFilterImpl. resolveEntity(String publicId, String systemId)Filter an external entity resolution.voidXMLReaderAdapter. setLocale(Locale locale)Set the locale for error reporting.voidDefaultHandler. skippedEntity(String name)Receive notification of a skipped entity.voidXMLFilterImpl. skippedEntity(String name)Filter a skipped entity event.voidXMLReaderAdapter. skippedEntity(String name)Adapt a SAX2 skipped entity event.voidDefaultHandler. startDocument()Receive notification of the beginning of the document.voidParserAdapter. startDocument()Adapter implementation method; do not call.voidXMLFilterImpl. startDocument()Filter a start document event.voidXMLReaderAdapter. startDocument()Start document event.voidDefaultHandler. startElement(String uri, String localName, String qName, Attributes attributes)Receive notification of the start of an element.voidParserAdapter. startElement(String qName, AttributeList qAtts)Adapter implementation method; do not call.voidXMLFilterImpl. startElement(String uri, String localName, String qName, Attributes atts)Filter a start element event.voidXMLReaderAdapter. startElement(String uri, String localName, String qName, Attributes atts)Adapt a SAX2 start element event.voidDefaultHandler. startPrefixMapping(String prefix, String uri)Receive notification of the start of a Namespace mapping.voidXMLFilterImpl. startPrefixMapping(String prefix, String uri)Filter a start Namespace prefix mapping event.voidDefaultHandler. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Receive notification of an unparsed entity declaration.voidXMLFilterImpl. unparsedEntityDecl(String name, String publicId, String systemId, String notationName)Filter an unparsed entity declaration event.voidDefaultHandler. warning(SAXParseException e)Receive notification of a parser warning.voidXMLFilterImpl. warning(SAXParseException e)Filter a warning event.Constructors in org.xml.sax.helpers that throw SAXException Constructor Description ParserAdapter()Construct a new parser adapter.XMLReaderAdapter()Create a new adapter. -
Uses of SAXException in org.xmlpull.v1.sax2
Methods in org.xmlpull.v1.sax2 that throw SAXException Modifier and Type Method Description voidDriver. parse(String systemId)voidDriver. parse(InputSource source)voidDriver. parseSubTree(XmlPullParser pp)protected voidDriver. startElement(String namespace, String localName, String qName)