Uses of Class
javax.xml.transform.TransformerException
| Package | Description |
|---|---|
| javax.xml.transform | |
| org.apache.xalan.extensions | |
| 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.templates |
Implements the
Templates interface,
and defines a set of classes that represent an XSLT stylesheet. |
| org.apache.xalan.transformer |
In charge of run-time transformations and the production of result trees.
|
| org.apache.xml.serializer.utils | |
| 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.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.domapi | |
| 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.jaxp | |
| 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.
|
-
Uses of TransformerException in javax.xml.transform
Subclasses of TransformerException in javax.xml.transform Modifier and Type Class Description classTransformerConfigurationExceptionIndicates a serious configuration error.Methods in javax.xml.transform with parameters of type TransformerException Modifier and Type Method Description voidErrorListener. error(TransformerException exception)Receive notification of a recoverable error.voidErrorListener. fatalError(TransformerException exception)Receive notification of a non-recoverable error.voidErrorListener. warning(TransformerException exception)Receive notification of a warning.Methods in javax.xml.transform that throw TransformerException Modifier and Type Method Description voidErrorListener. error(TransformerException exception)Receive notification of a recoverable error.voidErrorListener. fatalError(TransformerException exception)Receive notification of a non-recoverable error.SourceURIResolver. resolve(String href, String base)Called by the processor when it encounters an xsl:include, xsl:import, or document() function.abstract voidTransformer. transform(Source xmlSource, Result outputTarget)Transform the XMLSourceto aResult.voidErrorListener. warning(TransformerException exception)Receive notification of a warning. -
Uses of TransformerException in org.apache.xalan.extensions
Methods in org.apache.xalan.extensions that throw TransformerException Modifier and Type Method Description abstract ObjectExtensionHandler. callFunction(String funcName, Vector args, Object methodKey, ExpressionContext exprContext)Process a call to a function.abstract ObjectExtensionHandler. callFunction(FuncExtFunction extFunction, Vector args, ExpressionContext exprContext)Process a call to a function.booleanExtensionsTable. elementAvailable(String ns, String elemName)Execute the element-available() function.ObjectExtensionsTable. extFunction(String ns, String funcName, Vector argVec, Object methodKey, ExpressionContext exprContext)Handle an extension function.ObjectExtensionsTable. extFunction(FuncExtFunction extFunction, Vector argVec, ExpressionContext exprContext)Handle an extension function.booleanExtensionsTable. functionAvailable(String ns, String funcName)Execute the function-available() function.XObjectExpressionContext. getVariableOrParam(QName qname)Get a variable based on it's qualified name.XPathContextExpressionContext. getXPathContext()Get the XPathContext that owns this ExpressionContext.ExtensionHandlerExtensionNamespaceSupport. launch()Launch the ExtensionHandler that this ExtensionNamespaceSupport object defines.abstract voidExtensionHandler. processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey)Process a call to this extension namespace via an element.Constructors in org.apache.xalan.extensions that throw TransformerException Constructor Description ExtensionsTable(StylesheetRoot sroot)The constructor (called from TransformerImpl) registers the StylesheetRoot for the transformation and instantiates an ExtensionHandler for each extension namespace. -
Uses of TransformerException in org.apache.xalan.processor
Methods in org.apache.xalan.processor that throw TransformerException Modifier and Type Method Description XPathStylesheetHandler. createXPath(String str, ElemTemplateElement owningTemplate)Process an expression string into an XPath. -
Uses of TransformerException in org.apache.xalan.serialize
Methods in org.apache.xalan.serialize that throw TransformerException Modifier and Type Method Description static voidSerializerUtils. addAttribute(SerializationHandler handler, int attr)Copy an DOM attribute to the created output element, executing attribute templates as need be, and processing the xsl:use attribute.static voidSerializerUtils. addAttributes(SerializationHandler handler, int src)Copy DOM attributes to the result element.static voidSerializerUtils. processNSDecls(SerializationHandler handler, int src, int type, DTM dtm)Copy xmlns: attributes in if not already in scope. -
Uses of TransformerException in org.apache.xalan.templates
Methods in org.apache.xalan.templates that throw TransformerException Modifier and Type Method Description voidElemUse. applyAttrSets(TransformerImpl transformer, StylesheetRoot stylesheet)Add the attributes from the named attribute sets to the attribute list.voidElemApplyTemplates. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemCallTemplate. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemCopyOf. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemElement. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemExsltFunction. compose(StylesheetRoot sroot)Called after everything else has been recomposed, and allows the function to set remaining values that may be based on some other property that depends on recomposition.voidElemExtensionCall. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemExtensionDecl. compose(StylesheetRoot sroot)voidElemForEach. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemIf. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemLiteralResult. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemNumber. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemParam. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemPI. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemSort. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemTemplate. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemTemplateElement. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemValueOf. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemVariable. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemWhen. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidElemWithParam. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidKeyDeclaration. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidOutputProperties. compose(StylesheetRoot sroot)This function is called after everything else has been recomposed, and allows the template to set remaining values that may be based on some other property that depends on recomposition.voidOutputProperties. copyFrom(OutputProperties opsrc)Copy the keys and values from the source to this object.voidElemCallTemplate. endCompose(StylesheetRoot sroot)This after the template's children have been composed.voidElemForEach. endCompose(StylesheetRoot sroot)This after the template's children have been composed.voidElemTemplate. endCompose(StylesheetRoot sroot)This after the template's children have been composed.voidElemTemplateElement. endCompose(StylesheetRoot sroot)This after the template's children have been composed.voidElemVariable. endCompose(StylesheetRoot sroot)This after the template's children have been composed.voidFuncDocument. error(XPathContext xctxt, String msg, Object[] args)Tell the user of an error, and probably throw an exception.StringAVT. evaluate(XPathContext xctxt, int context, PrefixResolver nsNode)Evaluate the AVT and return a String.abstract voidAVTPart. evaluate(XPathContext xctxt, FastStringBuffer buf, int context, PrefixResolver nsNode)Write the evaluated value into the given string buffer.voidAVTPartXPath. evaluate(XPathContext xctxt, FastStringBuffer buf, int context, PrefixResolver nsNode)Write the value into the buffer.voidElemApplyImport. execute(TransformerImpl transformer)Execute the xsl:apply-imports transformation.voidElemApplyTemplates. execute(TransformerImpl transformer)Apply the context node to the matching templates.voidElemAttributeSet. execute(TransformerImpl transformer)Apply a set of attributes to the element.voidElemCallTemplate. execute(TransformerImpl transformer)Invoke a named template.voidElemChoose. execute(TransformerImpl transformer)Execute the xsl:choose transformation.voidElemComment. execute(TransformerImpl transformer)Execute the xsl:comment transformationvoidElemCopy. execute(TransformerImpl transformer)The xsl:copy element provides an easy way of copying the current node.voidElemCopyOf. execute(TransformerImpl transformer)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]).voidElemElement. execute(TransformerImpl transformer)Create an element in the result tree.voidElemExsltFuncResult. execute(TransformerImpl transformer)Generate the EXSLT function return value, and assign it to the variable index slot assigned for it in ElemExsltFunction compose().voidElemExsltFunction. execute(TransformerImpl transformer, XObject[] args)voidElemExtensionCall. execute(TransformerImpl transformer)Execute an extension.voidElemFallback. execute(TransformerImpl transformer)This is the normal call when xsl:fallback is instantiated.voidElemForEach. execute(TransformerImpl transformer)Execute the xsl:for-each transformationvoidElemIf. execute(TransformerImpl transformer)Conditionally execute a sub-template.voidElemLiteralResult. execute(TransformerImpl transformer)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.voidElemMessage. execute(TransformerImpl transformer)Send a message to diagnostics.voidElemNumber. execute(TransformerImpl transformer)Execute an xsl:number instruction.voidElemParam. execute(TransformerImpl transformer)Execute a variable declaration and push it onto the variable stack.voidElemPI. execute(TransformerImpl transformer)Create a processing instruction in the result tree.voidElemTemplate. execute(TransformerImpl transformer)Copy the template contents into the result tree.voidElemTemplateElement. execute(TransformerImpl transformer)Execute the element's primary function.voidElemTextLiteral. execute(TransformerImpl transformer)Copy the text literal to the result tree.voidElemUnknown. execute(TransformerImpl transformer)Execute an unknown element.voidElemUse. execute(TransformerImpl transformer)Copy attributes specified by use-attribute-sets to the result tree.voidElemValueOf. execute(TransformerImpl transformer)Execute the string expression and copy the text to the result tree.voidElemVariable. execute(TransformerImpl transformer)Execute a variable declaration and push it onto the variable stack.voidElemVariablePsuedo. execute(TransformerImpl transformer)Execute a variable declaration and push it onto the variable stack.XObjectFuncDocument. execute(XPathContext xctxt)Execute the function.XObjectFuncFormatNumb. execute(XPathContext xctxt)Execute the function.XObjectFuncKey. execute(XPathContext xctxt)Execute the function.XObjectXUnresolvedVariable. execute(XPathContext xctxt)For support of literal objects in xpaths.XObjectXUnresolvedVariableSimple. execute(XPathContext xctxt)For support of literal objects in xpaths.voidElemFallback. executeFallback(TransformerImpl transformer)Execute the fallback elements.StringElemExtensionCall. getAttribute(String rawName, Node sourceNode, TransformerImpl transformer)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}".intElemNumber. getPreviousNode(XPathContext xctxt, int pos)Get the previous node to be counted.intElemNumber. getTargetNode(XPathContext xctxt, int sourceNode)Get the target node that will be counted..ElemTemplateStylesheet. getTemplate(int i)Get an "xsl:template" property.ElemTemplateTemplateList. getTemplate(XPathContext xctxt, int targetNode, QName mode, boolean quietConflictWarnings, DTM dtm)Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.ElemTemplateTemplateList. getTemplate(XPathContext xctxt, int targetNode, QName mode, int maxImportLevel, int endImportLevel, boolean quietConflictWarnings, DTM dtm)Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.ElemTemplateStylesheetRoot. getTemplateComposed(XPathContext xctxt, int targetNode, QName mode, boolean quietConflictWarnings, DTM dtm)Get an "xsl:template" property by node match.ElemTemplateStylesheetRoot. getTemplateComposed(XPathContext xctxt, int targetNode, QName mode, int maxImportLevel, int endImportLevel, boolean quietConflictWarnings, DTM dtm)Get an "xsl:template" property by node match.ElemTemplateTemplateList. getTemplateFast(XPathContext xctxt, int targetNode, int expTypeID, QName mode, int maxImportLevel, boolean quietConflictWarnings, DTM dtm)Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.XObjectElemVariable. getValue(TransformerImpl transformer, int sourceNode)Get the XObject representation of the variable.XObjectElemWithParam. getValue(TransformerImpl transformer, int sourceNode)Get the XObject representation of the variable.WhiteSpaceInfoStylesheetRoot. getWhiteSpaceInfo(XPathContext support, int targetElement, DTM dtm)Get information about whether or not an element should strip whitespace.voidElemTemplateElement. recompose(StylesheetRoot root)This function is called during recomposition to control how this element is composed.voidOutputProperties. recompose(StylesheetRoot root)This function is called to recompose all of the output format extended elements.voidStylesheetComposed. recompose(Vector recomposableElements)Adds all recomposable values for this precedence level into the recomposableElements Vector that was passed in as the first parameter.voidStylesheetRoot. 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.voidStylesheetComposed. recomposeTemplates(boolean flushFirst)For compilation support, we need the option of overwriting (rather than appending to) previous composition.voidStylesheet. replaceTemplate(ElemTemplate v, int i)Replace an "xsl:template" property.protected StringElemAttribute. resolvePrefix(SerializationHandler rhandler, String prefix, String nodeNamespace)Resolve the namespace into a prefix.protected StringElemElement. resolvePrefix(SerializationHandler rhandler, String prefix, String nodeNamespace)Resolve the namespace into a prefix.voidElemLiteralResult. resolvePrefixTables()Augment resolvePrefixTables, resolving the namespace aliases once the superclass has resolved the tables.voidElemTemplateElement. resolvePrefixTables()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.voidElemExtensionDecl. runtimeInit(TransformerImpl transformer)This function will be called on top-level elements only, just before the transform begins.voidElemTemplateElement. runtimeInit(TransformerImpl transformer)This function will be called on top-level elements only, just before the transform begins.voidElemTemplateElement. setPrefixes(NamespaceSupport nsSupport)From the SAX2 helper class, set the namespace table for this element.voidElemTemplateElement. setPrefixes(NamespaceSupport nsSupport, boolean excludeXSLDecl)Copy the namespace declarations from the NamespaceSupport object.booleanElemTemplateElement. shouldStripWhiteSpace(XPathContext support, Element targetElement)Get information about whether or not an element should strip whitespace.booleanStylesheetRoot. shouldStripWhiteSpace(XPathContext support, int targetElement)Get information about whether or not an element should strip whitespace.DTMIteratorElemForEach. sortNodes(XPathContext xctxt, Vector keys, DTMIterator sourceNodes)Sort given nodesvoidElemApplyTemplates. transformSelectedNodes(TransformerImpl transformer)Perform a query if needed, and call transformNode for each child.voidElemForEach. transformSelectedNodes(TransformerImpl transformer)Perform a query if needed, and call transformNode for each child.voidFuncDocument. warn(XPathContext xctxt, String msg, Object[] args)Warn the user of a problem.voidFuncFormatNumb. warn(XPathContext xctxt, String msg, Object[] args)Warn the user of a problem.Constructors in org.apache.xalan.templates that throw TransformerException Constructor Description AVT(StylesheetHandler handler, String uri, String name, String rawName, String stringedValue, ElemTemplateElement owner)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(String val, PrefixResolver nsNode, XPathParser xpathProcessor, XPathFactory factory, XPathContext liaison)Construct a simple AVT part.ElemParam(ElemParam param)Copy constructor.ElemVariable(ElemVariable param)Copy constructor. -
Uses of TransformerException in org.apache.xalan.transformer
Methods in org.apache.xalan.transformer that throw TransformerException Modifier and Type Method Description booleanTransformerImpl. applyTemplateToNode(ElemTemplateElement xslInstruction, ElemTemplate template, int child)Given an element and mode, find the corresponding template and process the contents.static voidClonerToResultTree. cloneToResultTree(int node, int nodeType, DTM dtm, SerializationHandler rth, boolean shouldCloneAttributes)Clone an element with or without children.intCountersTable. countNode(XPathContext support, ElemNumber numberElem, int node)Count forward until the given node is found, or until we have looked to the given amount.SerializationHandlerTransformerImpl. createSerializationHandler(Result outputTarget)Create a result ContentHandler from a Result object, based on the current OutputProperties.SerializationHandlerTransformerImpl. createSerializationHandler(Result outputTarget, OutputProperties format)Create a ContentHandler from a Result object and an OutputProperties.booleanTransformerImpl. elementAvailable(String ns, String elemName)voidMsgMgr. error(SourceLocator srcLctr, String msg)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, String msg, Exception e)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, String msg, Object[] args)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, String msg, Object[] args, Exception e)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg)Tell the user of an error, and probably throw an exception.voidMsgMgr. error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object[] args)Tell the user of an error, and probably throw an exception.voidTransformerImpl. executeChildTemplates(ElemTemplateElement elem, boolean shouldAddAttrs)Execute each of the children of a template element.voidTransformerImpl. executeChildTemplates(ElemTemplateElement elem, Node context, QName mode, ContentHandler handler)Execute each of the children of a template element.voidTransformerImpl. executeChildTemplates(ElemTemplateElement elem, ContentHandler handler)Execute each of the children of a template element.ObjectTransformerImpl. extFunction(String ns, String funcName, Vector argVec, Object methodKey)ObjectTransformerImpl. extFunction(FuncExtFunction extFunction, Vector argVec)booleanTransformerImpl. functionAvailable(String ns, String funcName)XNodeSetKeyManager. getNodeSetDTMByKey(XPathContext xctxt, int doc, QName name, XMLString ref, PrefixResolver nscontext)Given a valid element key, return the corresponding node list.voidMsgMgr. message(SourceLocator srcLctr, String msg, boolean terminate)Warn the user of a problem.VectorTransformerImpl. processSortKeys(ElemForEach foreach, int sourceNodeContext)Get the keys for the xsl:sort elements.protected voidTransformerImpl. pushGlobalVars(int contextNode)Internal -- push the global variables from the Stylesheet onto the context's runtime variable stack.voidNodeSorter. sort(DTMIterator v, Vector keys, XPathContext support)Given a vector of nodes, sort each node according to the criteria in the keys.static SerializerSerializerSwitcher. switchSerializerIfHTML(String ns, String localName, Properties props, Serializer oldSerializer)Switch to HTML serializer if element is HTMLstatic voidSerializerSwitcher. switchSerializerIfHTML(TransformerImpl transformer, String ns, String localName)Switch to HTML serializer if element is HTMLvoidTransformerIdentityImpl. transform(Source source, Result outputTarget)Process the source tree to the output result.voidTransformerImpl. transform(Source source)Process the source tree to SAX parse events.voidTransformerImpl. transform(Source source, boolean shouldRelease)Process the source tree to SAX parse events.voidTransformerImpl. transform(Source xmlSource, Result outputTarget)Process the source tree to the output result.voidTransformerImpl. transform(Source xmlSource, Result outputTarget, boolean shouldRelease)Process the source tree to the output result.voidTransformerImpl. transformNode(int node)Process the source node to the output result, if the processor supports the "http://xml.org/trax/features/dom/input" feature.voidTransformerImpl. transformNode(int node, Result outputTarget)Process the source node to the output result, if the processor supports the "http://xml.org/trax/features/dom/input" feature.intTransformerImpl. transformToGlobalRTF(ElemTemplateElement templateParent)Given a stylesheet element, create a result tree fragment from it's contents.intTransformerImpl. transformToRTF(ElemTemplateElement templateParent)Given a stylesheet element, create a result tree fragment from it's contents.StringTransformerImpl. transformToString(ElemTemplateElement elem)Take the contents of a template element, process it, and convert it to a string.voidMsgMgr. warn(SourceLocator srcLctr, String msg)Warn the user of a problem.voidMsgMgr. warn(SourceLocator srcLctr, String msg, Object[] args)Warn the user of a problem.voidMsgMgr. warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg)Warn the user of a problem.voidMsgMgr. warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, Object[] args)Warn the user of a problem.Constructors in org.apache.xalan.transformer that throw TransformerException Constructor Description KeyTable(int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt)Build a keys table. -
Uses of TransformerException in org.apache.xml.serializer.utils
Methods in org.apache.xml.serializer.utils that throw TransformerException Modifier and Type Method Description static StringSystemIDResolver. getAbsoluteURI(String urlString, String base)Take a SystemID string and try to turn it into a good absolute URI. -
Uses of TransformerException in org.apache.xml.utils
Methods in org.apache.xml.utils with parameters of type TransformerException Modifier and Type Method Description static voidDefaultErrorHandler. ensureLocationSet(TransformerException exception)voidDefaultErrorHandler. error(TransformerException exception)Receive notification of a recoverable error.voidDefaultErrorHandler. fatalError(TransformerException exception)Receive notification of a non-recoverable error.static voidDefaultErrorHandler. printLocation(PrintStream pw, TransformerException exception)voidDefaultErrorHandler. warning(TransformerException exception)Receive notification of a warning.Methods in org.apache.xml.utils that throw TransformerException Modifier and Type Method Description voidDOM2Helper. checkNode(Node node)Deprecated.Check node to see if it was created by a DOM implementation that this helper is intended to support.voidDefaultErrorHandler. error(TransformerException exception)Receive notification of a recoverable error.voidDefaultErrorHandler. fatalError(TransformerException exception)Receive notification of a non-recoverable error.static StringSystemIDResolver. getAbsoluteURI(String urlString, String base)Take a SystemID string and try to turn it into a good absolute URI.voidDOM2Helper. parse(InputSource source)Deprecated.Parse an XML document.booleanDOMHelper. shouldStripSourceNode(Node textNode)Deprecated.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.voidDefaultErrorHandler. warning(TransformerException exception)Receive notification of a warning. -
Uses of TransformerException in org.apache.xpath
Subclasses of TransformerException in org.apache.xpath Modifier and Type Class Description classXPathExceptionThis class implements an exception object that all XPath classes will throw in case of an error.classXPathProcessorExceptionDerived from XPathException in order that XPath processor exceptions may be specifically caught.Methods in org.apache.xpath that throw TransformerException Modifier and Type Method Description DTMIteratorExpression. asIterator(XPathContext xctxt, int contextNode)Given an select expression and a context, evaluate the XPath and return the resulting iterator.DTMIteratorExpression. asIteratorRaw(XPathContext xctxt, int contextNode)Given an select expression and a context, evaluate the XPath and return the resulting iterator, but do not clone.intExpression. asNode(XPathContext xctxt)Return the first node out of the nodeset, if this expression is a nodeset expression.booleanExpression. bool(XPathContext xctxt)Evaluate expression to a boolean.booleanXPath. bool(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext)Given an expression and a context, evaluate the XPath and return the result.booleanExtensionsProvider. elementAvailable(String ns, String elemName)Is the extension element available?voidExpression. error(XPathContext xctxt, String msg, Object[] args)Tell the user of an error, and probably throw an exception.voidXPath. error(XPathContext xctxt, int sourceNode, String msg, Object[] args)Tell the user of an error, and probably throw an exception.XObjectCachedXPathAPI. eval(Node contextNode, String str)Evaluate XPath string to an XObject.XObjectCachedXPathAPI. eval(Node contextNode, String str, PrefixResolver prefixResolver)Evaluate XPath string to an XObject.XObjectCachedXPathAPI. eval(Node contextNode, String str, Node namespaceNode)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str, PrefixResolver prefixResolver)Evaluate XPath string to an XObject.static XObjectXPathAPI. eval(Node contextNode, String str, Node namespaceNode)Evaluate XPath string to an XObject.abstract XObjectExpression. execute(XPathContext xctxt)Execute an expression in the XPath runtime context, and return the result of the expression.XObjectExpression. execute(XPathContext xctxt, boolean destructiveOK)Execute an expression in the XPath runtime context, and return the result of the expression, but tell that a "safe" object doesn't have to be returned.XObjectExpression. execute(XPathContext xctxt, int currentNode)Execute an expression in the XPath runtime context, and return the result of the expression.XObjectExpression. execute(XPathContext xctxt, int currentNode, DTM dtm, int expType)Execute an expression in the XPath runtime context, and return the result of the expression.XObjectXPath. execute(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext)Given an expression and a context, evaluate the XPath and return the result.XObjectXPath. execute(XPathContext xctxt, Node contextNode, PrefixResolver namespaceContext)Given an expression and a context, evaluate the XPath and return the result.voidExpression. executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler)Execute an expression in the XPath runtime context, and return the result of the expression.ObjectExtensionsProvider. extFunction(String ns, String funcName, Vector argVec, Object methodKey)Execute the extension function.ObjectExtensionsProvider. extFunction(FuncExtFunction extFunction, Vector argVec)Execute the extension function.booleanExtensionsProvider. functionAvailable(String ns, String funcName)Is the extension function available?XObjectVariableStack. getGlobalVariable(XPathContext xctxt, int index)Get a global variable or parameter from the global stack frame.XObjectVariableStack. getGlobalVariable(XPathContext xctxt, int index, boolean destructiveOK)Get a global variable or parameter from the global stack frame.XObjectVariableStack. getLocalVariable(int index, int frame)Get a local variable or parameter in the current stack frame.XObjectVariableStack. getLocalVariable(XPathContext xctxt, int index)Get a local variable or parameter in the current stack frame.XObjectVariableStack. getLocalVariable(XPathContext xctxt, int index, boolean destructiveOK)Get a local variable or parameter in the current stack frame.doubleXPath. getMatchScore(XPathContext xctxt, int context)Get the match score of the given node.intSourceTreeManager. getSourceTree(String base, String urlString, SourceLocator locator, XPathContext xctxt)Get the source tree from the a base URL and a URL string.intSourceTreeManager. getSourceTree(Source source, SourceLocator locator, XPathContext xctxt)Get the source tree from the input source.XObjectVariableStack. getVariableOrParam(XPathContext xctxt, QName qname)Get a variable based on it's qualified name.XObjectXPathContext.XPathExpressionContext. getVariableOrParam(QName qname)Get a variable based on it's qualified name.static XMLReaderSourceTreeManager. getXMLReader(Source inputSource, SourceLocator locator)This method returns the SAX2 parser to use with the InputSource obtained from this URI.booleanVariableStack. isLocalSet(int index)Tell if a local variable has been set or not.doubleExpression. num(XPathContext xctxt)Evaluate expression to a number.intSourceTreeManager. parseToNode(Source source, SourceLocator locator, XPathContext xctxt)Try to create a DOM source tree from the input source.SourceSourceTreeManager. resolveURI(String base, String urlString, SourceLocator locator)This will be called by the processor when it encounters an xsl:include, xsl:import, or document() function.NodeIteratorCachedXPathAPI. selectNodeIterator(Node contextNode, String str)Use an XPath string to select a nodelist.NodeIteratorCachedXPathAPI. selectNodeIterator(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.static NodeIteratorXPathAPI. selectNodeIterator(Node contextNode, String str)Use an XPath string to select a nodelist.static NodeIteratorXPathAPI. selectNodeIterator(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.NodeListCachedXPathAPI. selectNodeList(Node contextNode, String str)Use an XPath string to select a nodelist.NodeListCachedXPathAPI. selectNodeList(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.static NodeListXPathAPI. selectNodeList(Node contextNode, String str)Use an XPath string to select a nodelist.static NodeListXPathAPI. selectNodeList(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a nodelist.NodeCachedXPathAPI. selectSingleNode(Node contextNode, String str)Use an XPath string to select a single node.NodeCachedXPathAPI. selectSingleNode(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a single node.static NodeXPathAPI. selectSingleNode(Node contextNode, String str)Use an XPath string to select a single node.static NodeXPathAPI. selectSingleNode(Node contextNode, String str, Node namespaceNode)Use an XPath string to select a single node.booleanWhitespaceStrippingElementMatcher. shouldStripWhiteSpace(XPathContext support, Element targetElement)Get information about whether or not an element should strip whitespace.voidExpression. warn(XPathContext xctxt, String msg, Object[] args)Warn the user of an problem.voidXPath. warn(XPathContext xctxt, int sourceNode, String msg, Object[] args)Warn the user of an problem.XMLStringExpression. xstr(XPathContext xctxt)Cast result object to a string.Constructors in org.apache.xpath that throw TransformerException Constructor Description XPath(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type)Construct an XPath object.XPath(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type, ErrorListener errorListener)Construct an XPath object.XPath(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type, ErrorListener errorListener, FunctionTable aTable)Construct an XPath object. -
Uses of TransformerException in org.apache.xpath.axes
Methods in org.apache.xpath.axes that throw TransformerException Modifier and Type Method Description DTMIteratorLocPathIterator. asIterator(XPathContext xctxt, int contextNode)Given an select expression and a context, evaluate the XPath and return the resulting iterator.intChildIterator. asNode(XPathContext xctxt)Return the first node out of the nodeset, if this expression is a nodeset expression.intDescendantIterator. asNode(XPathContext xctxt)Return the first node out of the nodeset, if this expression is a nodeset expression.intLocPathIterator. asNode(XPathContext xctxt)Return the first node out of the nodeset, if this expression is a nodeset expression.intSelfIteratorNoPredicate. asNode(XPathContext xctxt)Return the first node out of the nodeset, if this expression is a nodeset expression.booleanLocPathIterator. bool(XPathContext xctxt)Evaluate this operation directly to a boolean.protected LocPathIteratorUnionPathIterator. createDTMIterator(Compiler compiler, int opPos)Create a new location path iterator.static LocPathIteratorUnionPathIterator. createUnionIterator(Compiler compiler, int opPos)This will return an iterator capable of handling the union of paths given.XObjectLocPathIterator. execute(XPathContext xctxt)Execute this iterator, meaning create a clone that can store state, and initialize it for fast execution from the current runtime state.voidLocPathIterator. executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler)Execute an expression in the XPath runtime context, and return the result of the expression.static intWalkerFactory. getAxisFromStep(Compiler compiler, int stepOpCodePos)Special purpose function to see if we can optimize the pattern for a DescendantIterator.voidAxesWalker. init(Compiler compiler, int opPos, int stepType)Initialize an AxesWalker during the parse of the XPath expression.voidFilterExprWalker. init(Compiler compiler, int opPos, int stepType)Init a FilterExprWalker.protected voidPredicatedNodeTest. initPredicateInfo(Compiler compiler, int opPos)Init predicate info.voidPredicatedNodeTest. initProximityPosition(int i)Init the proximity position to zero for a forward axes.protected voidUnionPathIterator. loadLocationPaths(Compiler compiler, int opPos, int count)Initialize the location path iterators.static booleanWalkerFactory. mightBeProximate(Compiler compiler, int opPos, int stepType)Tell if the predicates need to have proximity knowledge.static DTMIteratorWalkerFactory. newDTMIterator(Compiler compiler, int opPos, boolean isTopLevel)Create a new LocPathIterator iterator.Constructors in org.apache.xpath.axes that throw TransformerException Constructor Description BasicTestIterator(Compiler compiler, int opPos, int analysis)Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions.BasicTestIterator(Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers)Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions.LocPathIterator(Compiler compiler, int opPos, int analysis)Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions.LocPathIterator(Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers)Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions.OneStepIterator(DTMAxisIterator iterator, int axis)Create a OneStepIterator object.SelfIteratorNoPredicate()Create a SelfIteratorNoPredicate object.UnionPathIterator(Compiler compiler, int opPos)Create a UnionPathIterator object, including creation of location path iterators from the opcode list, and call back into the Compiler to create predicate expressions. -
Uses of TransformerException in org.apache.xpath.compiler
Methods in org.apache.xpath.compiler that throw TransformerException Modifier and Type Method Description protected booleanXPathParser. AbbreviatedNodeTestStep(boolean isLeadingSlashPermitted)AbbreviatedNodeTestStep ::= '@'? NodeTest Predicateprotected intXPathParser. AdditiveExpr(int addPos)This has to handle construction of the operations so that they are evaluated in pre-fix order.protected ExpressionCompiler. and(int opPos)Compile an 'and' operation.protected voidXPathParser. AndExpr()AndExpr ::= EqualityExpr | AndExpr 'and' EqualityExprprotected ExpressionCompiler. arg(int opPos)Compile a function argument.protected voidXPathParser. Argument()Argument ::= Exprprotected intXPathParser. AxisName()Basis ::= AxisName '::' NodeTest | AbbreviatedBasisprotected voidXPathParser. Basis()Basis ::= AxisName '::' NodeTest | AbbreviatedBasisprotected ExpressionCompiler. bool(int opPos)Compile a 'boolean(...)' operation.protected voidXPathParser. BooleanExpr()StringExpr ::= ExprExpressionCompiler. compile(int opPos)Execute the XPath object from a given opcode position.intCompiler. countPredicates(int opPos)Count the number of predicates in the step.protected ExpressionCompiler. div(int opPos)Compile a 'div' operation.protected intXPathParser. EqualityExpr(int addPos)protected ExpressionCompiler. equals(int opPos)Compile a '=' operation.voidCompiler. error(String msg, Object[] args)Tell the user of an error, and probably throw an exception.voidOpMap. error(String msg, Object[] args)Tell the user of an error, and probably throw an exception.protected voidXPathParser. Expr()Expr ::= OrExprprotected intXPathParser. FilterExpr()FilterExpr ::= PrimaryExpr | FilterExpr Predicateprotected booleanXPathParser. FunctionCall()FunctionCall ::= FunctionName '(' ( Argument ( ',' Argument)*)? ')'Expression[]Compiler. getCompiledPredicates(int opPos)Compile a zero or more predicates for a given match pattern.intOpMap. getFirstPredicateOpPos(int opPos)Given an FROM_stepType position, return the position of the first predicate, if there is one, or else this will point to the end of the FROM_stepType.protected ExpressionCompiler. group(int opPos)Compile an expression group.protected ExpressionCompiler. gt(int opPos)Compile a '>' operation.protected ExpressionCompiler. gte(int opPos)Compile a '>=' operation.protected voidXPathParser. IdKeyPattern()IdKeyPattern ::= 'id' '(' Literal ')' | 'key' '(' Literal ',' Literal ')' (Also handle doc())voidXPathParser. initMatchPattern(Compiler compiler, 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.voidXPathParser. initXPath(Compiler compiler, 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.protected voidXPathParser. Literal()The value of the Literal is the sequence of characters inside the " or ' characters>.ExpressionCompiler. locationPath(int opPos)Compile a location path.protected voidXPathParser. LocationPath()LocationPath ::= RelativeLocationPath | AbsoluteLocationPathExpressionCompiler. locationPathPattern(int opPos)Compile a location match pattern unit expression.protected voidXPathParser. LocationPathPattern()LocationPathPattern ::= '/' RelativePathPattern? | IdKeyPattern (('/' | '//') RelativePathPattern)? | '//'? RelativePathPatternprotected ExpressionCompiler. lt(int opPos)Compile a '<' operation.protected ExpressionCompiler. lte(int opPos)Compile a '<=' operation.protected ExpressionCompiler. matchPattern(int opPos)Compile an entire match pattern expression.protected ExpressionCompiler. minus(int opPos)Compile a '-' operation.protected ExpressionCompiler. mod(int opPos)Compile a 'mod' operation.protected ExpressionCompiler. mult(int opPos)Compile a '*' operation.protected intXPathParser. MultiplicativeExpr(int addPos)This has to handle construction of the operations so that they are evaluated in pre-fix order.protected ExpressionCompiler. neg(int opPos)Compile a unary '-' operation.protected voidXPathParser. NodeTest(int axesType)NodeTest ::= WildcardName | NodeType '(' ')' | 'processing-instruction' '(' Literal ')'protected ExpressionCompiler. notequals(int opPos)Compile a '!=' operation.protected ExpressionCompiler. number(int opPos)Compile a 'number(...)' operation.protected voidXPathParser. Number()Number ::= [0-9]+('.'[0-9]+)? | '.'[0-9]+protected voidXPathParser. NumberExpr()NumberExpr ::= Exprprotected ExpressionCompiler. or(int opPos)Compile an 'or' operation.protected voidXPathParser. OrExpr()OrExpr ::= AndExpr | OrExpr 'or' AndExprprotected voidXPathParser. PathExpr()PathExpr ::= LocationPath | FilterExpr | FilterExpr '/' RelativeLocationPath | FilterExpr '//' RelativeLocationPathprotected voidXPathParser. Pattern()Pattern ::= LocationPathPattern | Pattern '|' LocationPathPatternprotected ExpressionCompiler. plus(int opPos)Compile a '+' operation.ExpressionCompiler. predicate(int opPos)Compile a location step predicate expression.protected voidXPathParser. Predicate()Predicate ::= '[' PredicateExpr ']'protected voidXPathParser. PredicateExpr()PredicateExpr ::= Exprprotected booleanXPathParser. PrimaryExpr()PrimaryExpr ::= VariableReference | '(' Expr ')' | Literal | Number | FunctionCallprotected voidXPathParser. QName()QName ::= (Prefix ':')? LocalPart Prefix ::= NCName LocalPart ::= NCNameprotected intXPathParser. RelationalExpr(int addPos).protected booleanXPathParser. RelativeLocationPath()RelativeLocationPath ::= Step | RelativeLocationPath '/' Step | AbbreviatedRelativeLocationPathprotected voidXPathParser. RelativePathPattern()RelativePathPattern ::= StepPattern | RelativePathPattern '/' StepPattern | RelativePathPattern '//' StepPatternprotected booleanXPathParser. Step()Step ::= Basis Predicate | AbbreviatedStepprotected StepPatternCompiler. stepPattern(int opPos, int stepCount, StepPattern ancestorPattern)Compile a step pattern unit expression, used for both location paths and match patterns.protected booleanXPathParser. StepPattern(boolean isLeadingSlashPermitted)StepPattern ::= AbbreviatedNodeTestStepprotected ExpressionCompiler. string(int opPos)Compile a 'string(...)' operation.protected voidXPathParser. StringExpr()StringExpr ::= Exprprotected voidXPathParser. UnaryExpr()UnaryExpr ::= UnionExpr | '-' UnaryExprprotected ExpressionCompiler. union(int opPos)Compile a location path union.protected voidXPathParser. UnionExpr()The context of the right hand side expressions is the context of the left hand side expression.protected ExpressionCompiler. variable(int opPos)Compile a variable reference.voidCompiler. warn(String msg, Object[] args)Warn the user of an problem. -
Uses of TransformerException in org.apache.xpath.domapi
Subclasses of TransformerException in org.apache.xpath.domapi Modifier and Type Class Description classXPathStylesheetDOM3ExceptionA new exception to add support for DOM Level 3 XPath API. -
Uses of TransformerException in org.apache.xpath.functions
Methods in org.apache.xpath.functions that throw TransformerException Modifier and Type Method Description XObjectFuncBoolean. execute(XPathContext xctxt)Execute the function.XObjectFuncCeiling. execute(XPathContext xctxt)Execute the function.XObjectFuncConcat. execute(XPathContext xctxt)Execute the function.XObjectFuncContains. execute(XPathContext xctxt)Execute the function.XObjectFuncCount. execute(XPathContext xctxt)Execute the function.XObjectFuncCurrent. execute(XPathContext xctxt)Execute the function.XObjectFuncDoclocation. execute(XPathContext xctxt)Execute the function.XObjectFuncExtElementAvailable. execute(XPathContext xctxt)Execute the function.XObjectFuncExtFunction. execute(XPathContext xctxt)Execute the function.XObjectFuncExtFunctionAvailable. execute(XPathContext xctxt)Execute the function.XObjectFuncFalse. execute(XPathContext xctxt)Execute the function.XObjectFuncFloor. execute(XPathContext xctxt)Execute the function.XObjectFuncGenerateId. execute(XPathContext xctxt)Execute the function.XObjectFuncId. execute(XPathContext xctxt)Execute the function.XObjectFuncLang. execute(XPathContext xctxt)Execute the function.XObjectFuncLast. execute(XPathContext xctxt)Execute the function.XObjectFuncLocalPart. execute(XPathContext xctxt)Execute the function.XObjectFuncNamespace. execute(XPathContext xctxt)Execute the function.XObjectFuncNormalizeSpace. execute(XPathContext xctxt)Execute the function.XObjectFuncNot. execute(XPathContext xctxt)Execute the function.XObjectFuncNumber. execute(XPathContext xctxt)Execute the function.XObjectFuncPosition. execute(XPathContext xctxt)Execute the function.XObjectFuncQname. execute(XPathContext xctxt)Execute the function.XObjectFuncRound. execute(XPathContext xctxt)Execute the function.XObjectFuncStartsWith. execute(XPathContext xctxt)Execute the function.XObjectFuncString. execute(XPathContext xctxt)Execute the function.XObjectFuncStringLength. execute(XPathContext xctxt)Execute the function.XObjectFuncSubstring. execute(XPathContext xctxt)Execute the function.XObjectFuncSubstringAfter. execute(XPathContext xctxt)Execute the function.XObjectFuncSubstringBefore. execute(XPathContext xctxt)Execute the function.XObjectFuncSum. execute(XPathContext xctxt)Execute the function.XObjectFuncSystemProperty. execute(XPathContext xctxt)Execute the function.XObjectFunction. execute(XPathContext xctxt)Execute an XPath function object.XObjectFuncTranslate. execute(XPathContext xctxt)Execute the function.XObjectFuncTrue. execute(XPathContext xctxt)Execute the function.XObjectFuncUnparsedEntityURI. execute(XPathContext xctxt)Execute the function.voidFuncNormalizeSpace. executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler)Execute an expression in the XPath runtime context, and return the result of the expression.protected intFunctionDef1Arg. getArg0AsNode(XPathContext xctxt)Execute the first argument expression that is expected to return a nodeset.protected doubleFunctionDef1Arg. getArg0AsNumber(XPathContext xctxt)Execute the first argument expression that is expected to return a number.protected XMLStringFunctionDef1Arg. getArg0AsString(XPathContext xctxt)Execute the first argument expression that is expected to return a string.intFuncLast. getCountOfContextNodeList(XPathContext xctxt)Get the position in the current context node list. -
Uses of TransformerException in org.apache.xpath.jaxp
Methods in org.apache.xpath.jaxp that throw TransformerException Modifier and Type Method Description booleanJAXPExtensionsProvider. elementAvailable(String ns, String elemName)Is the extension element available?ObjectXPathExpressionImpl. eval(Object item, QName returnType)ObjectJAXPExtensionsProvider. extFunction(String ns, String funcName, Vector argVec, Object methodKey)Execute the extension function.ObjectJAXPExtensionsProvider. extFunction(FuncExtFunction extFunction, Vector argVec)Execute the extension function.booleanJAXPExtensionsProvider. functionAvailable(String ns, String funcName)Is the extension function available?XObjectJAXPVariableStack. getVariableOrParam(XPathContext xctxt, QName qname) -
Uses of TransformerException in org.apache.xpath.objects
Methods in org.apache.xpath.objects that throw TransformerException Modifier and Type Method Description booleanXObject. bool()Cast result object to a boolean.booleanXObject. boolWithSideEffects()Cast result object to a boolean, but allow side effects, such as the incrementing of an iterator.ObjectXObject. castToType(int t, XPathContext support)Cast object to type t.booleanXNodeSet. compare(XObject obj2, org.apache.xpath.objects.Comparator comparator)Tell if one object is less than the other.protected voidXObject. error(String msg)Tell the user of an error, and probably throw an exception.protected voidXObject. error(String msg, Object[] args)Tell the user of an error, and probably throw an exception.XObjectXObject. execute(XPathContext xctxt)For support of literal objects in xpaths.XObjectXRTreeFragSelectWrapper. execute(XPathContext xctxt)For support of literal objects in xpaths.booleanXNodeSet. greaterThan(XObject obj2)Tell if one object is less than the other.booleanXObject. greaterThan(XObject obj2)Tell if one object is greater than the other.booleanXNodeSet. greaterThanOrEqual(XObject obj2)Tell if one object is less than the other.booleanXObject. greaterThanOrEqual(XObject obj2)Tell if one object is greater than or equal to the other.DTMIteratorXObject. iter()Cast result object to a nodelist.booleanXNodeSet. lessThan(XObject obj2)Tell if one object is less than the other.booleanXObject. lessThan(XObject obj2)Tell if one object is less than the other.booleanXNodeSet. lessThanOrEqual(XObject obj2)Tell if one object is less than or equal to the other.booleanXObject. lessThanOrEqual(XObject obj2)Tell if one object is less than or equal to the other.NodeSetDTMXObject. mutableNodeset()Cast result object to a nodelist.NodeListXNodeSet. nodelist()Cast result object to a nodelist.NodeListXNodeSetForDOM. nodelist()Cast result object to a nodelist.NodeListXObject. nodelist()Cast result object to a nodelist.NodeIteratorXNodeSet. nodeset()Cast result object to a nodelist.NodeIteratorXNodeSetForDOM. nodeset()Cast result object to a nodelist.NodeIteratorXObject. nodeset()Cast result object to a nodelist.booleanXNodeSet. notEquals(XObject obj2)Tell if two objects are functionally not equal.booleanXObject. notEquals(XObject obj2)Tell if two objects are functionally not equal.doubleXNumber. num(XPathContext xctxt)Evaluate expression to a number.doubleXObject. num()Cast result object to a number.doubleXRTreeFrag. num()Cast result object to a number.doubleXRTreeFragSelectWrapper. num()Cast result object to a number.doubleXObject. numWithSideEffects()Cast result object to a number, but allow side effects, such as the incrementing of an iterator. -
Uses of TransformerException in org.apache.xpath.operations
Methods in org.apache.xpath.operations that throw TransformerException Modifier and Type Method Description booleanAnd. bool(XPathContext xctxt)Evaluate this operation directly to a boolean.booleanBool. bool(XPathContext xctxt)Evaluate this operation directly to a boolean.booleanEquals. bool(XPathContext xctxt)Execute a binary operation by calling execute on each of the operands, and then calling the operate method on the derived class.booleanOr. bool(XPathContext xctxt)Evaluate this operation directly to a boolean.XObjectAnd. execute(XPathContext xctxt)AND two expressions and return the boolean result.XObjectOperation. execute(XPathContext xctxt)Execute a binary operation by calling execute on each of the operands, and then calling the operate method on the derived class.XObjectOr. execute(XPathContext xctxt)OR two expressions and return the boolean result.XObjectUnaryOperation. execute(XPathContext xctxt)Execute the operand and apply the unary operation to the result.XObjectVariable. execute(XPathContext xctxt)Execute an expression in the XPath runtime context, and return the result of the expression.XObjectVariable. execute(XPathContext xctxt, boolean destructiveOK)Dereference the variable, and return the reference value.XObjectVariableSafeAbsRef. execute(XPathContext xctxt, boolean destructiveOK)Dereference the variable, and return the reference value.doubleDiv. num(XPathContext xctxt)Evaluate this operation directly to a double.doubleMinus. num(XPathContext xctxt)Evaluate this operation directly to a double.doubleMod. num(XPathContext xctxt)Evaluate this operation directly to a double.doubleMult. num(XPathContext xctxt)Evaluate this operation directly to a double.doubleNeg. num(XPathContext xctxt)Evaluate this operation directly to a double.doubleNumber. num(XPathContext xctxt)Evaluate this operation directly to a double.doublePlus. num(XPathContext xctxt)Evaluate this operation directly to a double.XObjectBool. operate(XObject right)Apply the operation to two operands, and return the result.XObjectDiv. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectEquals. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectGt. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectGte. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectLt. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectLte. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectMinus. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectMod. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectMult. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectNeg. operate(XObject right)Apply the operation to two operands, and return the result.XObjectNotEquals. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectNumber. operate(XObject right)Apply the operation to two operands, and return the result.XObjectOperation. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectPlus. operate(XObject left, XObject right)Apply the operation to two operands, and return the result.XObjectQuo. operate(XObject left, XObject right)Deprecated.Apply the operation to two operands, and return the result.XObjectString. operate(XObject right)Apply the operation to two operands, and return the result.abstract XObjectUnaryOperation. operate(XObject right)Apply the operation to two operands, and return the result. -
Uses of TransformerException in org.apache.xpath.patterns
Methods in org.apache.xpath.patterns that throw TransformerException Modifier and Type Method Description XObjectContextMatchStepPattern. execute(XPathContext xctxt)Execute this pattern step, including predicates.XObjectFunctionPattern. execute(XPathContext xctxt)Test a node to see if it matches the given node test.XObjectFunctionPattern. execute(XPathContext xctxt, int context)Test a node to see if it matches the given node test.XObjectFunctionPattern. execute(XPathContext xctxt, int context, DTM dtm, int expType)Test a node to see if it matches the given node test.XObjectNodeTest. execute(XPathContext xctxt)Test the current node to see if it matches the given node test.XObjectNodeTest. execute(XPathContext xctxt, int context)Tell what the test score is for the given node.XObjectNodeTest. execute(XPathContext xctxt, int context, DTM dtm, int expType)Tell what the test score is for the given node.XObjectStepPattern. execute(XPathContext xctxt)Execute this pattern step, including predicates.XObjectStepPattern. execute(XPathContext xctxt, int currentNode)Execute this pattern step, including predicates.XObjectStepPattern. execute(XPathContext xctxt, int currentNode, DTM dtm, int expType)Execute an expression in the XPath runtime context, and return the result of the expression.XObjectUnionPattern. execute(XPathContext xctxt)Test a node to see if it matches any of the patterns in the union.protected booleanStepPattern. executePredicates(XPathContext xctxt, DTM dtm, int currentNode)Execute the predicates on this step to determine if the current node should be filtered or accepted.XObjectContextMatchStepPattern. executeRelativePathPattern(XPathContext xctxt, StepPattern prevStep)Execute the match pattern step relative to another step.protected XObjectStepPattern. executeRelativePathPattern(XPathContext xctxt, DTM dtm, int currentNode)Execute the match pattern step relative to another step.doubleStepPattern. getMatchScore(XPathContext xctxt, int context)Get the match score of the given node.