|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SAXException | |
javax.xml.parsers | This package provides a pluggability mechanism to allow a compliant SAX or DOM parser to be used independently by an application. |
org.apache.serialize | Defines an interface for SAX and DOM serializers, a serializer factory and its configuration, the output format properties, and related interfaces. |
org.apache.trax | Defines a global interface for generating Templates and performing XML transformations. |
org.apache.xalan.extensions | Implementation of Xalan Extension Mechanism, which uses the Bean Scripting Framework. |
org.apache.xalan.lib | Extension elements and functions shipped with Xalan-Java |
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.stree | Implementation of the Xalan Source Tree, which is a DOM implementation that is optimized for XSLT processing and the needs of Xalan -- derived nodes can index the children, and, combined with specialized node iterators (and tree walkers) can provide optimal child retrieval. |
org.apache.xalan.templates | Implements the trax.Templates interface, and defines a set of classes that represent an XSLT stylesheet. |
org.apache.xalan.trace | Implementation of Xalan Trace events, for use by a debugger. |
org.apache.xalan.transformer | In charge of run-time transformations and the production of result trees. |
org.apache.xalan.utils | Implementation of Xalan utility classes. |
org.apache.xml.serialize.transition | Translate SAX events, a DOM tree, or an XPath node-set return value into a stream. |
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.compiler | Implements an XPath parser which produces an OpMap, and a so-called Compiler which produces an expression tree for fast evaluation. |
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.apache.xpath.operations | Support for XPath operations, such as +, -, string(), etc. |
org.apache.xpath.patterns | Implementation of XPath nodeTest support, and XSLT pattern matching support. |
org.xml.sax | SAX 2.0 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()
Returns a new configured instance of type SAXParser . |
void |
SAXParser.parse(java.io.InputStream stream,
HandlerBase base)
Parses the contents of the given InputStream as an XML
document using the specified HandlerBase object. |
void |
SAXParser.parse(java.lang.String uri,
HandlerBase base)
Parses the content of the given URI as an XML document using the specified HandlerBase object. |
void |
SAXParser.parse(java.io.File file,
HandlerBase base)
Parses the content of the given File as an XML document
using the specified HandlerBase object. |
void |
SAXParser.parse(InputSource source,
HandlerBase base)
Parses the content of the given InputSource as an XML
document using the specified HandlerBase object. |
abstract Parser |
SAXParser.getParser()
Returns the underlying Parser object which is wrapped by
this SAXParser implementation. |
Document |
DocumentBuilder.parse(java.io.InputStream stream)
Parses the contents of the given InputStream and returns
a Document object. |
Document |
DocumentBuilder.parse(java.lang.String uri)
Parses the content of the given URI and returns a Document
object. |
Document |
DocumentBuilder.parse(java.io.File file)
Parses the content of the given File and returns a
Document object. |
abstract Document |
DocumentBuilder.parse(InputSource source)
Parses the content of the given InputSource and returns
a Document object. |
Uses of SAXException in org.apache.serialize |
Methods in org.apache.serialize that throw SAXException | |
void |
SerializerHandler.startNonEscaping()
Starts an un-escaping section. |
void |
SerializerHandler.endNonEscaping()
Ends an un-escaping section. |
void |
SerializerHandler.startPreserving()
Starts a whitespace preserving section. |
void |
SerializerHandler.endPreserving()
Ends a whitespace preserving section. |
Uses of SAXException in org.apache.trax |
Subclasses of SAXException in org.apache.trax | |
interface |
ProcessorException
This exception serves as a root exception of TRaX exception, and is thrown in raw form when an exceptional condition occurs in the Processor object. |
interface |
ProcessorFactoryException
The ProcessorFactoryException is a type of ProcessorException that is thrown when a configurable factory object can not be created. |
interface |
TransformException
This simply subclasses the TransformException for the purposes of being able to be caught in a catch clause. |
Methods in org.apache.trax that throw SAXException | |
abstract Templates |
Processor.process(InputSource source)
Process the source into a templates object. |
static void |
Examples.main(java.lang.String[] argv)
|
static void |
Examples.exampleSimple(java.lang.String sourceID,
java.lang.String xslID)
Show the simplest possible transformation from system id to output stream. |
static void |
Examples.exampleSAX2SAX(java.lang.String sourceID,
java.lang.String xslID)
Show the Transformer using SAX events in and SAX events out. |
static void |
Examples.exampleXMLFilter(java.lang.String sourceID,
java.lang.String xslID)
Show the Transformer as a SAX2 XMLFilter/XMLReader. |
static void |
Examples.exampleXMLFilterChain(java.lang.String sourceID,
java.lang.String xslID_1,
java.lang.String xslID_2,
java.lang.String xslID_3)
This example shows how to chain events from one Transformer to another transformer, using the Transformer as a SAX2 XMLFilter/XMLReader. |
static void |
Examples.exampleDOM2DOM(java.lang.String sourceID,
java.lang.String xslID)
Show how to transform a DOM tree into another DOM tree. |
static void |
Examples.exampleParam(java.lang.String sourceID,
java.lang.String xslID)
This shows how to set a parameter for use by the templates. |
static void |
Examples.exampleOutputFormat(java.lang.String sourceID,
java.lang.String xslID)
Show how to override output properties. |
static void |
Examples.exampleUseAssociated()
Show how to get stylesheets that are associated with a given xml document via the xml-stylesheet PI (see http://www.w3.org/TR/xml-stylesheet/). |
Uses of SAXException in org.apache.xalan.extensions |
Methods in org.apache.xalan.extensions that throw SAXException | |
boolean |
ExtensionsTable.functionAvailable(java.lang.String ns,
java.lang.String funcName)
Execute the function-available() function. |
boolean |
ExtensionsTable.elementAvailable(java.lang.String ns,
java.lang.String elemName)
Execute the element-available() function. |
java.lang.Object |
ExtensionsTable.extFunction(java.lang.String ns,
java.lang.String funcName,
java.util.Vector argVec,
java.lang.Object methodKey,
ExpressionContext exprContext)
Handle an extension function. |
ExtensionHandler |
ExtensionsTable.makeJavaNamespace(java.lang.String ns)
Declare the appropriate java extension handler. |
abstract java.lang.Object |
ExtensionHandler.callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
ExpressionContext exprContext)
**For internal use only** Process a call to a function. |
abstract void |
ExtensionHandler.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
**For internal use only** Process a call to this extension namespace via an element. |
java.lang.Object |
ExtensionHandlerJavaClass.callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
ExpressionContext exprContext)
**For internal use only** Process a call to a function in the java class represented by this ExtensionHandlerJavaClass |
void |
ExtensionHandlerJavaClass.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
**For internal use only** Process a call to this extension namespace via an element. |
void |
XSLProcessorContext.outputToResultTree(Stylesheet stylesheetTree,
java.lang.Object obj)
Output an object to the result tree by doing the right conversions. |
static java.lang.reflect.Constructor |
MethodResolver.getConstructor(java.lang.Class classObj,
java.lang.Object[] argsIn,
java.lang.Object[][] argsOut,
ExpressionContext exprContext)
Given a class, figure out the resolution of the Java Constructor from the XSLT argument types, and perform the conversion of the arguments. |
static java.lang.reflect.Method |
MethodResolver.getMethod(java.lang.Class classObj,
java.lang.String name,
java.lang.Object[] argsIn,
java.lang.Object[][] argsOut,
ExpressionContext exprContext,
int searchMethod)
Given the name of a method, figure out the resolution of the Java Method from the XSLT argument types, and perform the conversion of the arguments. |
static java.lang.reflect.Method |
MethodResolver.getElementMethod(java.lang.Class classObj,
java.lang.String name)
Given the name of a method, figure out the resolution of the Java Method |
static void |
MethodResolver.convertParams(java.lang.Object[] argsIn,
java.lang.Object[][] argsOut,
java.lang.Class[] paramTypes,
ExpressionContext exprContext)
Convert a set of parameters based on a set of paramTypes. |
java.lang.Object |
ExtensionHandlerJavaPackage.callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
ExpressionContext exprContext)
**For internal use only** Process a call to a function in the package java namespace. |
void |
ExtensionHandlerJavaPackage.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
**For internal use only** Process a call to this extension namespace via an element. |
java.lang.Object |
ExtensionHandlerGeneral.callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
ExpressionContext exprContext)
**For internal use only** Process a call to a function. |
void |
ExtensionHandlerGeneral.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
**For internal use only** Process a call to this extension namespace via an element. |
Constructors in org.apache.xalan.extensions that throw SAXException | |
ExtensionHandlerGeneral.ExtensionHandlerGeneral(java.lang.String namespaceUri,
StringVector elemNames,
StringVector funcNames,
java.lang.String scriptLang,
java.lang.String scriptSrcURL,
java.lang.String scriptSrc)
**For internal use only** Construct a new extension namespace handler given all the information needed. |
Uses of SAXException in org.apache.xalan.lib |
Methods in org.apache.xalan.lib that throw SAXException | |
void |
Redirect.open(XSLProcessorContext context,
Element elem)
Open the given file and put it in the XML, HTML, or Text formatter listener's table. |
void |
Redirect.write(XSLProcessorContext context,
Element elem)
Write the evalutation of the element children to the given file. |
void |
Redirect.close(XSLProcessorContext context,
Element elem)
Close the given file and remove it from the formatter listener's table. |
static NodeSet |
Extensions.intersection(NodeIterator ni1,
NodeIterator ni2)
Returns the intersection of two node-sets. |
static NodeSet |
Extensions.difference(NodeIterator ni1,
NodeIterator ni2)
Returns the difference between two node-sets. |
static NodeSet |
Extensions.distinct(NodeIterator ni)
Returns node-set containing distinct string values. |
Uses of SAXException in org.apache.xalan.processor |
Subclasses of SAXException in org.apache.xalan.processor | |
interface |
StopParseException
|
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 |
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 SAXException in order to stop the parse. |
Templates |
StylesheetProcessor.process(InputSource source)
Process the source into a templates object. |
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. |
XPath |
StylesheetHandler.createXPath(java.lang.String str)
**For advanced use only** Process an expression string into an XPath. |
InputSource |
StylesheetHandler.resolveEntity(java.lang.String publicId,
java.lang.String systemId)
**For advanced use only** Resolve an external entity. |
void |
StylesheetHandler.startDocument()
**For advanced use only** Receive notification of the beginning of the document. |
void |
StylesheetHandler.endDocument()
**For advanced use only** Receive notification of the end of the document. |
void |
StylesheetHandler.startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
**For advanced use only** Receive notification of the start of a Namespace mapping. |
void |
StylesheetHandler.endPrefixMapping(java.lang.String prefix)
**For advanced use only** 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)
**For advanced use only** Receive notification of the start of an element. |
void |
StylesheetHandler.endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName)
**For advanced use only** Receive notification of the end of an element. |
void |
StylesheetHandler.characters(char[] ch,
int start,
int length)
**For advanced use only** Receive notification of character data inside an element. |
void |
StylesheetHandler.ignorableWhitespace(char[] ch,
int start,
int length)
**For advanced use only** Receive notification of ignorable whitespace in element content. |
void |
StylesheetHandler.processingInstruction(java.lang.String target,
java.lang.String data)
**For advanced use only** Receive notification of a processing instruction. |
void |
StylesheetHandler.skippedEntity(java.lang.String name)
**For advanced use only** 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)
**For advanced use only** Receive notification of a parser warning. |
void |
StylesheetHandler.error(SAXParseException e)
**For advanced use only** Receive notification of a recoverable parser error. |
void |
StylesheetHandler.fatalError(SAXParseException e)
**For advanced use only** Report a fatal XML parsing error. |
void |
CompilingStylesheetHandler.endDocument()
**For advanced use only** 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. |
abstract void |
CompiledTemplate.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Main entry point for the Template transformation. |
Uses of SAXException in org.apache.xalan.stree |
Methods in org.apache.xalan.stree that throw SAXException | |
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. |
Constructors in org.apache.xalan.stree that throw SAXException | |
IndexedLocPathIterator.IndexedLocPathIterator(Compiler compiler,
int opPos)
**For advanced use only** Create a IndexedLocPathIterator object. |
Uses of SAXException in org.apache.xalan.templates |
Methods in org.apache.xalan.templates that throw SAXException | |
void |
ElemTemplateElement.runtimeInit(TransformerImpl transformer)
**For advanced use only** This function will be called on top-level elements only, just before the transform begins. |
void |
ElemTemplateElement.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Execute the element's primary function. |
void |
ElemTemplateElement.setPrefixes(NamespaceSupport nsSupport)
**For advanced use only** From the SAX2 helper class, set the namespace table for this element. |
void |
ElemTemplateElement.setPrefixes(NamespaceSupport nsSupport,
boolean excludeXSLDecl)
**For advanced use only** From the SAX2 helper class, set the namespace table for this element. |
void |
ElemTemplateElement.resolvePrefixTables()
**For advanced use only** Combine the parent's namespaces with this namespace for fast processing, taking care to reference the parent's namespace if this namespace adds nothing new. |
void |
ElemTemplate.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Copy the template contents into the result tree. |
void |
ElemUse.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Copy attributes specified by use-attribute-sets to the result tree. |
void |
ElemLiteralResult.resolvePrefixTables()
**For advanced use only** Combine the parent's namespaces with this namespace for fast processing, taking care to reference the parent's namespace if this namespace adds nothing new. |
void |
ElemLiteralResult.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Copy a Literal Result Element into the Result tree, copy the non-excluded namespace attributes, copy the attributes not of the XSLT namespace, and execute the children of the LRE. |
void |
ElemExtensionCall.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Execute an extension. |
java.lang.String |
ElemExtensionCall.getAttribute(java.lang.String rawName,
Node sourceNode,
TransformerImpl transformer)
**For advanced use only** Return the value of the attribute interpreted as an Attribute Value Template (in other words, you can use curly expressions such as href="http://{website}". |
void |
ElemIf.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Conditionally execute a sub-template. |
void |
ElemNumber.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Execute an xsl:number instruction. |
Node |
ElemNumber.getPreviousNode(XPathContext xctxt,
Node pos)
**For advanced use only** Get the previous node to be counted. |
Node |
ElemNumber.getTargetNode(XPathContext xctxt,
Node sourceNode)
**For advanced use only** Get the target node that will be counted.. |
java.lang.String |
AVT.evaluate(XPathContext xctxt,
Node context,
PrefixResolver nsNode)
**For advanced use only** Evaluate the AVT and return a String. |
ElemTemplate |
TemplateList.getTemplate(XPathContext xctxt,
Node targetNode,
QName mode,
boolean quietConflictWarnings)
**For advanced use only** Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft. |
abstract void |
AVTPart.evaluate(XPathContext xctxt,
FastStringBuffer buf,
Node context,
PrefixResolver nsNode)
**For internal use only** Write the evaluated value into the given string buffer. |
void |
AVTPartXPath.evaluate(XPathContext xctxt,
FastStringBuffer buf,
Node context,
PrefixResolver nsNode)
**For internal use only** Write the value into the buffer. |
XObject |
FuncKey.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
void |
ElemPI.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Create a processing instruction in the result tree. |
void |
ElemTextLiteral.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Copy the text literal to the result tree. |
ElemTemplate |
Stylesheet.getTemplate(int i)
Get an "xsl:template" property. |
void |
Stylesheet.replaceTemplate(ElemTemplate v,
int i)
Replace an "xsl:template" property. |
XObject |
FuncFormatNumb.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
void |
FuncFormatNumb.warn(XPathContext xctxt,
int msg,
java.lang.Object[] args)
**For advanced use only** Warn the user of a problem. |
void |
ElemCallTemplate.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Invoke a named template. |
void |
ElemMessage.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Send a message to diagnostics. |
void |
ElemUnknown.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Copy an unknown element to the result tree |
void |
ElemExtensionDecl.runtimeInit(TransformerImpl transformer)
This function will be called on top-level elements only, just before the transform begins. |
void |
ElemAttribute.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Create an attribute in the result tree. |
void |
ElemCopyOf.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** The xsl:copy-of element can be used to insert a result tree fragment into the result tree, without first converting it to a string as xsl:value-of does (see [7.6.1 Generating Text with xsl:value-of]). |
void |
ElemChoose.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** |
XObject |
FuncDocument.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
void |
FuncDocument.error(XPathContext xctxt,
int msg,
java.lang.Object[] args)
**For advanced use only** Tell the user of an error, and probably throw an exception. |
void |
FuncDocument.warn(XPathContext xctxt,
int msg,
java.lang.Object[] args)
**For advanced use only** Warn the user of a problem. |
void |
ElemAttributeSet.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Apply a set of attributes to the element. |
void |
ElemForEach.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** |
void |
ElemApplyTemplates.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Apply the context node to the matching templates. |
void |
ElemFallback.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Execute the fallback elements. |
void |
ElemCopy.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** The xsl:copy element provides an easy way of copying the current node. |
void |
ElemElement.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Create an element in the result tree. |
void |
ElemVariable.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Execute a variable declaration and push it onto the variable stack. |
XObject |
ElemVariable.getValue(TransformerImpl transformer,
Node sourceNode)
**For advanced use only** Get the XObject representation of the variable. |
WhiteSpaceInfo |
StylesheetComposed.getWhiteSpaceInfo(XPathContext support,
Element targetElement)
Get information about whether or not an element should strip whitespace. |
void |
StylesheetComposed.recomposeTemplates()
Aggregate the list of templates and included templates into a single list. |
void |
StylesheetComposed.recomposeTemplates(boolean flushFirst)
For compilation support, we need the option of overwriting (rather than appending to) previous composition. |
ElemTemplate |
StylesheetComposed.getTemplateComposed(XPathContext support,
Node targetNode,
QName mode,
boolean quietConflictWarnings)
Get an "xsl:template" property by node match. |
void |
StylesheetRoot.recompose()
Recompose the values of all "composed" properties, meaning properties that need to be combined or calculated from the combination of imported and included stylesheets. |
void |
ElemComment.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** |
void |
ElemApplyImport.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Execute the xsl:apply-imports transformation. |
void |
ElemParam.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Execute a parameter declaration. |
void |
ElemValueOf.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
**For advanced use only** Execute the string expression and copy the text to the result tree. |
Constructors in org.apache.xalan.templates that throw SAXException | |
AVT.AVT(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String stringedValue)
**For advanced use only** Construct an AVT by parsing the string, and either constructing a vector of AVTParts, or simply hold on to the string if the AVT is simple. |
|
AVTPartXPath.AVTPartXPath(java.lang.String val,
PrefixResolver nsNode,
XPathParser xpathProcessor,
XPathFactory factory,
XPathContext liaison)
**For internal use only** Construct a simple AVT part. |
|
ElemVariable.ElemVariable(ElemVariable param)
**For advanced use only** Copy constructor. |
|
ElemParam.ElemParam(ElemParam param)
**For advanced use only** Copy constructor. |
Uses of SAXException in org.apache.xalan.trace |
Methods in org.apache.xalan.trace that throw SAXException | |
void |
TraceListener.selected(SelectionEvent ev)
**For advanced use only** Method that is called just after the formatter listener is called. |
void |
PrintTraceListener.selected(SelectionEvent ev)
**For advanced use only** Method that is called just after the formatter listener is called. |
void |
TraceManager.fireSelectedEvent(Node sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Fire a selection event. |
void |
TraceManager.fireSelectedEvent(SelectionEvent se)
Fire a selection event. |
Uses of SAXException in org.apache.xalan.transformer |
Methods in org.apache.xalan.transformer that throw SAXException | |
void |
ClonerToResultTree.cloneToResultTree(Node node,
boolean shouldCloneAttributes)
Clone an element with or without children. |
static void |
SerializerSwitcher.switchSerializerIfHTML(TransformerImpl transformer,
java.lang.String ns,
java.lang.String localName)
|
void |
TreeWalker2Result.traverse(Node pos)
**For internal use only** Perform a pre-order traversal non-recursive style. |
int |
CountersTable.countNode(XPathContext support,
ElemNumber numberElem,
Node node)
**For internal use only** Count forward until the given node is found, or until we have looked to the given amount. |
LocPathIterator |
KeyManager.getNodeSetByKey(XPathContext xctxt,
Node doc,
QName name,
java.lang.String ref,
PrefixResolver nscontext)
Given a valid element key, return the corresponding node list. |
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)
|
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)
Bottleneck the comment 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.startNonEscaping()
Starts an un-escaping section. |
void |
ResultTreeHandler.endNonEscaping()
Ends an un-escaping section. |
void |
ResultTreeHandler.startPreserving()
Starts a whitespace preserving section. |
void |
ResultTreeHandler.endPreserving()
Ends a whitespace preserving section. |
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. |
void |
ResultTreeHandler.processNSDecls(Node src)
Copy xmlns: attributes in if not already in scope. |
void |
ResultTreeHandler.addAttribute(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
java.lang.String type,
java.lang.String value)
Add an attribute to the end of the list. |
void |
ResultTreeHandler.addAttribute(Attr attr)
Copy an DOM attribute to the created output element, executing attribute templates as need be, and processing the xsl:use attribute. |
void |
ResultTreeHandler.addAttributes(Node src)
Copy DOM attributes to the result element. |
void |
MsgMgr.message(java.lang.String msg,
boolean terminate)
Warn the user of an problem. |
void |
MsgMgr.warn(int msg)
**For internal use only** Warn the user of an problem. |
void |
MsgMgr.warn(int msg,
java.lang.Object[] args)
**For internal use only** Warn the user of an problem. |
void |
MsgMgr.warn(Node styleNode,
Node sourceNode,
int msg)
**For internal use only** Warn the user of an problem. |
void |
MsgMgr.warn(Node styleNode,
Node sourceNode,
int msg,
java.lang.Object[] args)
**For internal use only** Warn the user of an problem. |
void |
MsgMgr.error(java.lang.String msg)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(int msg)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(int msg,
java.lang.Object[] args)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(int msg,
java.lang.Exception e)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(int msg,
java.lang.Object[] args,
java.lang.Exception e)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(Node styleNode,
Node sourceNode,
int msg)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(Node styleNode,
Node sourceNode,
int msg,
java.lang.Object[] args)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
TransformerImpl.parse(InputSource xmlSource)
**For advanced use only** Transform a document. |
void |
TransformerImpl.pushParams(Stylesheet stylesheetTree,
ElemTemplateElement xslCallTemplateElement,
Node sourceNode,
QName mode)
**For advanced use only** Given a template, search for the arguments and push them on the stack. |
DocumentFragment |
TransformerImpl.transformToRTF(Stylesheet stylesheetTree,
ElemTemplateElement templateParent,
Node sourceNode,
QName mode)
**For advanced use only** Given a stylesheet element, create a result tree fragment from it's contents. |
java.lang.String |
TransformerImpl.transformToString(ElemTemplateElement elem,
Node sourceNode,
QName mode)
**For advanced use only** Take the contents of a template element, process it, and convert it to a string. |
void |
TransformerImpl.transformSelectedNodes(StylesheetComposed stylesheetTree,
ElemTemplateElement xslInstruction,
ElemTemplateElement template,
Node sourceNodeContext,
QName mode,
XPath selectPattern,
int selectStackFrameIndex)
**For advanced use only** Perform a query if needed, and call transformNode for each child. |
boolean |
TransformerImpl.transformNode(ElemTemplateElement xslInstruction,
ElemTemplateElement template,
Node child,
QName mode)
**For advanced use only** Given an element and mode, find the corresponding template and process the contents. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
Node sourceNode,
QName mode,
ContentHandler handler)
**For advanced use only** Execute each of the children of a template element. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
Node sourceNode,
QName mode)
**For advanced use only** Execute each of the children of a template element. |
void |
StackGuard.checkForInfinateLoop(StackGuard guard)
|
void |
StackGuard.push(ElemTemplateElement xslTemplate,
Node sourceXML)
|
Constructors in org.apache.xalan.transformer that throw SAXException | |
KeyTable.KeyTable(Node doc,
PrefixResolver nscontext,
QName name,
java.util.Vector keyDeclarations,
XPathContext xmlLiaison)
**For advanced use only** Build a keys table. |
Uses of SAXException in org.apache.xalan.utils |
Methods in org.apache.xalan.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)
**For advanced use only** Perform a pre-order traversal non-recursive style. |
void |
TreeWalker.traverse(Node pos,
Node top)
**For advanced use only** Perform a pre-order traversal non-recursive style. |
static java.lang.String |
SystemIDResolver.getAbsoluteURI(java.lang.String urlString,
java.lang.String base)
Take a SystemID string and try and turn it into a good absolute URL. |
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. |
void |
RawCharacterHandler.charactersRaw(char[] ch,
int start,
int length)
**For advanced use only** Serialize the characters without escaping. |
Uses of SAXException in org.apache.xml.serialize.transition |
Methods in org.apache.xml.serialize.transition that throw SAXException | |
void |
BaseMarkupSerializer.startDocument()
|
void |
BaseMarkupSerializer.endDocument()
Called at the end of the document to wrap it up. |
void |
BaseMarkupSerializer.skippedEntity(java.lang.String name)
|
void |
BaseMarkupSerializer.startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
|
void |
BaseMarkupSerializer.endPrefixMapping(java.lang.String prefix)
|
Uses of SAXException in org.apache.xpath |
Subclasses of SAXException in org.apache.xpath | |
interface |
XPathException
This class implements an exception object that all XPath classes will throw in case of an error. |
interface |
XPathProcessorException
Derived from XPathException in order that XPath processor exceptions may be specifically caught. |
Methods in org.apache.xpath that throw SAXException | |
boolean |
DOMHelper.shouldStripSourceNode(Node textNode)
**For advanced use only** Tells, through the combination of the default-space attribute on xsl:stylesheet, xsl:strip-space, xsl:preserve-space, and the xml:space attribute, whether or not extra whitespace should be stripped from the node. |
void |
DOM2Helper.checkNode(Node node)
**For internal use only** Check node to see if it matches this liaison. |
void |
DOM2Helper.parse(InputSource source)
**For internal use only** Parse an XML document. |
abstract XObject |
Expression.execute(XPathContext xctxt)
|
void |
Expression.warn(XPathContext xctxt,
int msg,
java.lang.Object[] args)
Warn the user of an problem. |
void |
Expression.assert(boolean b,
java.lang.String msg)
Tell the user of an assertion error, and probably throw an exception. |
void |
Expression.error(XPathContext xctxt,
int msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
XObject |
XPath.execute(XPathContext xctxt,
Node contextNode,
PrefixResolver namespaceContext)
**Experimental** Given an expression and a context, evaluate the XPath and call the callback as nodes are found. |
double |
XPath.getMatchScore(XPathContext xctxt,
Node context)
Get the match score of the given node. |
void |
XPath.warn(XPathContext xctxt,
Node sourceNode,
int msg,
java.lang.Object[] args)
Warn the user of an problem. |
void |
XPath.assert(boolean b,
java.lang.String msg)
Tell the user of an assertion error, and probably throw an exception. |
void |
XPath.error(XPathContext xctxt,
Node sourceNode,
int msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
static Node |
XPathAPI.selectSingleNode(Node contextNode,
java.lang.String str)
Use an XPath string to select a single node. |
static Node |
XPathAPI.selectSingleNode(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a single node. |
static NodeIterator |
XPathAPI.selectNodeIterator(Node contextNode,
java.lang.String str)
Use an XPath string to select a nodelist. |
static NodeIterator |
XPathAPI.selectNodeIterator(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a nodelist. |
static NodeList |
XPathAPI.selectNodeList(Node contextNode,
java.lang.String str)
Use an XPath string to select a nodelist. |
static NodeList |
XPathAPI.selectNodeList(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a nodelist. |
static XObject |
XPathAPI.eval(Node contextNode,
java.lang.String str)
Evaluate XPath string to an XObject. |
static XObject |
XPathAPI.eval(Node contextNode,
java.lang.String str,
Node namespaceNode)
Evaluate XPath string to an XObject. |
static XObject |
XPathAPI.eval(Node contextNode,
java.lang.String str,
PrefixResolver prefixResolver)
Evaluate XPath string to an XObject. |
XObject |
VariableStack.getParamVariable(QName qname)
**For internal use only** Same as getVariable, except don't look in the global space. |
java.lang.Object |
VariableStack.getVariable(QName name)
**For internal use only** Given a name, return a string representing the value. |
void |
XPathContext.copyFromOtherLiaison(XPathContext from)
**For advanced use only** Copy attributes from another liaison. |
XObject |
XPathContext.getVariable(QName qname)
**For advanced use only** Given a name, locate a variable in the current context, and return the Object. |
java.lang.String |
XPathContext.getAbsoluteURI(java.lang.String urlString,
java.lang.String base)
**For advanced use only** Take a user string (system ID) return the url. |
Constructors in org.apache.xpath that throw SAXException | |
XPath.XPath(java.lang.String exprString,
Locator locator,
PrefixResolver prefixResolver,
int type)
Construct an XPath object. |
Uses of SAXException in org.apache.xpath.axes |
Methods in org.apache.xpath.axes that throw SAXException | |
XObject |
LocPathIterator.execute(XPathContext xctxt)
**For advanced use only** |
XObject |
UnionPathIterator.execute(XPathContext xctxt)
**For advanced use only** |
void |
AxesWalker.init(Compiler compiler,
int opPos,
int stepType)
Init an AxesWalker. |
void |
AxesWalker.resetProximityPositions()
Reset the proximity positions counts. |
void |
AxesWalker.initProximityPosition(int i)
Init the proximity position to zero for a forward axes. |
void |
PrecedingWalker.resetProximityPositions()
Reset the proximity positions counts. |
void |
FilterExprWalker.init(Compiler compiler,
int opPos,
int stepType)
Init a FilterExprWalker. |
Constructors in org.apache.xpath.axes that throw SAXException | |
LocPathIterator.LocPathIterator(Compiler compiler,
int opPos)
**For advanced use only** Create a LocPathIterator object. |
|
LocPathIterator.LocPathIterator(Compiler compiler,
int opPos,
boolean isMatchPattern)
**For advanced use only** Create a LocPathIterator object (for match patterns. |
|
UnionPathIterator.UnionPathIterator(Compiler compiler,
int opPos)
**For advanced use only** Constructor. |
Uses of SAXException in org.apache.xpath.compiler |
Methods in org.apache.xpath.compiler that throw SAXException | |
Expression |
Compiler.compile(int opPos)
**For advanced use only** Execute the XPath object from a given opcode position. |
Expression |
Compiler.locationPath(int opPos)
**For advanced use only** Execute a location path. |
Expression |
Compiler.predicate(int opPos)
**For advanced use only** Evaluate a predicate. |
Expression |
Compiler.locationPathPattern(int opPos)
Execute a a location path pattern. |
Expression[] |
Compiler.getCompiledPredicates(int opPos)
|
int |
Compiler.countPredicates(int opPos)
Count the number of predicates in the step. |
void |
Compiler.warn(int msg,
java.lang.Object[] args)
Warn the user of an problem. |
void |
Compiler.assert(boolean b,
java.lang.String msg)
Tell the user of an assertion error, and probably throw an exception. |
void |
Compiler.error(int msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
Function |
FuncLoader.getFunction()
**For advanced use only** |
static Function |
FunctionTable.getFunction(int which)
|
void |
XPathParser.initXPath(Compiler compiler,
java.lang.String expression,
PrefixResolver namespaceContext)
Given an string, init an XPath object for selections, in order that a parse doesn't have to be done each time the expression is evaluated. |
void |
XPathParser.initMatchPattern(Compiler compiler,
java.lang.String expression,
PrefixResolver namespaceContext)
Given an string, init an XPath object for pattern matches, in order that a parse doesn't have to be done each time the expression is evaluated. |
Uses of SAXException in org.apache.xpath.functions |
Methods in org.apache.xpath.functions that throw SAXException | |
XObject |
Function.execute(XPathContext xctxt)
**For advanced use only** Execute an XPath function object. |
XObject |
FuncFormatNumber.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncStartsWith.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncStringLength.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncNamespace.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncDoclocation.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncNormalizeSpace.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncTranslate.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncNot.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncExtFunction.execute(XPathContext xctxt)
Execute the function. |
int |
FuncLast.getCountOfContextNodeList(XPathContext xctxt)
**For advanced use only** Get the position in the current context node list. |
XObject |
FuncLast.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncGenerateId.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncString.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncContains.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncFalse.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncLocalPart.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncSubstringBefore.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncExtElementAvailable.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncCeiling.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncSubstring.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncRound.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncTrue.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncSystemProperty.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncPosition.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncLang.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncSubstringAfter.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncConcat.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncFloor.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncCurrent.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncNumber.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncQname.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncCount.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncBoolean.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncUnparsedEntityURI.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncSum.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncId.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
XObject |
FuncExtFunctionAvailable.execute(XPathContext xctxt)
**For advanced use only** Execute the function. |
Uses of SAXException in org.apache.xpath.objects |
Methods in org.apache.xpath.objects that throw SAXException | |
XObject |
XObject.execute(XPathContext xctxt)
For support of literal objects in xpaths. |
double |
XObject.num()
Cast result object to a number. |
boolean |
XObject.bool()
Cast result object to a boolean. |
NodeIterator |
XObject.nodeset()
Cast result object to a nodelist. |
NodeSet |
XObject.mutableNodeset()
Cast result object to a nodelist. |
java.lang.Object |
XObject.castToType(int t,
XPathContext support)
Cast object to type t. |
boolean |
XObject.lessThan(XObject obj2)
Tell if one object is less than the other. |
boolean |
XObject.lessThanOrEqual(XObject obj2)
Tell if one object is less than or equal to the other. |
boolean |
XObject.greaterThan(XObject obj2)
Tell if one object is less than the other. |
boolean |
XObject.greaterThanOrEqual(XObject obj2)
Tell if one object is less than the other. |
boolean |
XObject.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XObject.notEquals(XObject obj2)
Tell if two objects are functionally not equal. |
boolean |
XBoolean.equals(XObject obj2)
**For advanced use only** Tell if two objects are functionally equal. |
boolean |
XBooleanStatic.equals(XObject obj2)
**For internal use only** Tell if two objects are functionally equal. |
boolean |
XString.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XRTreeFrag.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XNumber.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XNodeSet.compare(XObject obj2,
org.apache.xpath.objects.Comparator comparator)
Tell if one object is less than the other. |
boolean |
XNodeSet.lessThan(XObject obj2)
Tell if one object is less than the other. |
boolean |
XNodeSet.lessThanOrEqual(XObject obj2)
Tell if one object is less than or equal to the other. |
boolean |
XNodeSet.greaterThan(XObject obj2)
Tell if one object is less than the other. |
boolean |
XNodeSet.greaterThanOrEqual(XObject obj2)
Tell if one object is less than the other. |
boolean |
XNodeSet.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XNodeSet.notEquals(XObject obj2)
Tell if two objects are functionally not equal. |
Uses of SAXException in org.apache.xpath.operations |
Uses of SAXException in org.apache.xpath.patterns |
Methods in org.apache.xpath.patterns that throw SAXException | |
XObject |
NodeTest.execute(XPathContext xctxt)
Test a node to see if it matches the given node test. |
XObject |
StepPattern.executeStep(XPathContext xctxt)
|
XObject |
StepPattern.executeRelativePathPattern(XPathContext xctxt)
|
XObject |
StepPattern.execute(XPathContext xctxt)
|
double |
StepPattern.getMatchScore(XPathContext xctxt,
Node context)
Get the match score of the given node. |
XObject |
FunctionPattern.execute(XPathContext xctxt)
Test a node to see if it matches the given node test. |
XObject |
UnionPattern.execute(XPathContext xctxt)
Test a node to see if it matches the given node test. |
XObject |
AncestorStepPattern.execute(XPathContext xctxt)
Overide the super method so that we can handle match patterns starting with a function such as id()// |
XObject |
AncestorStepPattern.executeRelativePathPattern(XPathContext xctxt)
|
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.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 |