|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TransformerException | |
javax.xml.transform | |
org.apache.xalan.extensions | Implementation of Xalan Extension Mechanism. |
org.apache.xalan.lib | Extension elements and functions shipped with Xalan-Java, including EXSLT functions. |
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.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.xsltc.trax | |
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 | Implements DOM Level 3 XPath API |
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 | |
interface |
TransformerConfigurationException
Indicates a serious configuration error. |
Methods in javax.xml.transform with parameters of type TransformerException | |
void |
ErrorListener.warning(TransformerException exception)
Receive notification of a warning. |
void |
ErrorListener.error(TransformerException exception)
Receive notification of a recoverable error. |
void |
ErrorListener.fatalError(TransformerException exception)
Receive notification of a non-recoverable error. |
Methods in javax.xml.transform that throw TransformerException | |
abstract void |
Transformer.transform(Source xmlSource,
Result outputTarget)
Transform the XML Source to a Result . |
Source |
URIResolver.resolve(java.lang.String href,
java.lang.String base)
Called by the processor when it encounters an xsl:include, xsl:import, or document() function. |
void |
ErrorListener.warning(TransformerException exception)
Receive notification of a warning. |
void |
ErrorListener.error(TransformerException exception)
Receive notification of a recoverable error. |
void |
ErrorListener.fatalError(TransformerException exception)
Receive notification of a non-recoverable error. |
Uses of TransformerException in org.apache.xalan.extensions |
Methods in org.apache.xalan.extensions that throw TransformerException | |
XObject |
ExpressionContext.getVariableOrParam(QName qname)
Get a variable based on it's qualified name. |
XPathContext |
ExpressionContext.getXPathContext()
Get the XPathContext that owns this ExpressionContext. |
abstract java.lang.Object |
ExtensionHandler.callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
ExpressionContext exprContext)
Process a call to a function. |
abstract java.lang.Object |
ExtensionHandler.callFunction(FuncExtFunction extFunction,
java.util.Vector args,
ExpressionContext exprContext)
Process a call to a function. |
abstract void |
ExtensionHandler.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
void |
ExtensionHandlerExsltFunction.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey)
Required by ExtensionHandler (an abstract method). |
java.lang.Object |
ExtensionHandlerExsltFunction.callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
ExpressionContext exprContext)
Execute the EXSLT function and return the result value. |
java.lang.Object |
ExtensionHandlerExsltFunction.callFunction(FuncExtFunction extFunction,
java.util.Vector args,
ExpressionContext exprContext)
Execute the EXSLT function and return the result value. |
java.lang.Object |
ExtensionHandlerJavaPackage.callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
ExpressionContext exprContext)
Process a call to a function in the package java namespace. |
java.lang.Object |
ExtensionHandlerJavaPackage.callFunction(FuncExtFunction extFunction,
java.util.Vector args,
ExpressionContext exprContext)
Process a call to an XPath extension function |
void |
ExtensionHandlerJavaPackage.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey)
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. |
java.lang.Object |
ExtensionHandlerJavaClass.callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
ExpressionContext exprContext)
Process a call to a function in the java class represented by this ExtensionHandlerJavaClass |
java.lang.Object |
ExtensionHandlerJavaClass.callFunction(FuncExtFunction extFunction,
java.util.Vector args,
ExpressionContext exprContext)
Process a call to an XPath extension function |
void |
ExtensionHandlerJavaClass.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey)
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)
Process a call to a function. |
java.lang.Object |
ExtensionHandlerGeneral.callFunction(FuncExtFunction extFunction,
java.util.Vector args,
ExpressionContext exprContext)
Process a call to an XPath extension function |
void |
ExtensionHandlerGeneral.processElement(java.lang.String localPart,
ElemTemplateElement element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
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. |
java.lang.Object |
ExtensionsTable.extFunction(FuncExtFunction extFunction,
java.util.Vector argVec,
ExpressionContext exprContext)
Handle an extension function. |
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. |
ExtensionHandler |
ExtensionNamespaceSupport.launch()
Launch the ExtensionHandler that this ExtensionNamespaceSupport object defines. |
Constructors in org.apache.xalan.extensions that throw TransformerException | |
ExtensionHandlerGeneral.ExtensionHandlerGeneral(java.lang.String namespaceUri,
StringVector elemNames,
StringVector funcNames,
java.lang.String scriptLang,
java.lang.String scriptSrcURL,
java.lang.String scriptSrc,
java.lang.String systemId)
Construct a new extension namespace handler given all the information needed. |
|
ExtensionsTable.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.lib |
Methods in org.apache.xalan.lib that throw TransformerException | |
void |
PipeDocument.pipeDocument(XSLProcessorContext context,
ElemExtensionCall elem)
Extension element for piping an XML document through a series of 1 or more transformations. |
void |
PipeDocument.usePipe(java.util.Vector vTHandler,
java.lang.String source,
java.lang.String target)
Uses a Vector of TransformerHandlers to pipe XML input document through a series of 1 or more transformations. |
void |
Redirect.open(XSLProcessorContext context,
ElemExtensionCall elem)
Open the given file and put it in the XML, HTML, or Text formatter listener's table. |
void |
Redirect.write(XSLProcessorContext context,
ElemExtensionCall elem)
Write the evalutation of the element children to the given file. |
void |
Redirect.close(XSLProcessorContext context,
ElemExtensionCall elem)
Close the given file and remove it from the formatter listener's table. |
SerializationHandler |
Redirect.createSerializationHandler(TransformerImpl transformer,
java.io.FileOutputStream ostream,
java.io.File file,
OutputProperties format)
A class that extends this one could over-ride this public method and receive a callback for the creation of the serializer used in the redirection. |
Uses of TransformerException in org.apache.xalan.processor |
Methods in org.apache.xalan.processor that throw TransformerException | |
XPath |
StylesheetHandler.createXPath(java.lang.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 | |
static void |
SerializerUtils.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 void |
SerializerUtils.addAttributes(SerializationHandler handler,
int src)
Copy DOM attributes to the result element. |
static void |
SerializerUtils.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 | |
void |
ElemTemplateElement.runtimeInit(TransformerImpl transformer)
This function will be called on top-level elements only, just before the transform begins. |
void |
ElemTemplateElement.execute(TransformerImpl transformer)
Execute the element's primary function. |
void |
ElemTemplateElement.recompose(StylesheetRoot root)
This function is called during recomposition to control how this element is composed. |
void |
ElemTemplateElement.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. |
void |
ElemTemplateElement.endCompose(StylesheetRoot sroot)
This after the template's children have been composed. |
void |
ElemTemplateElement.setPrefixes(NamespaceSupport nsSupport)
From the SAX2 helper class, set the namespace table for this element. |
void |
ElemTemplateElement.setPrefixes(NamespaceSupport nsSupport,
boolean excludeXSLDecl)
Copy the namespace declarations from the NamespaceSupport object. |
void |
ElemTemplateElement.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. |
boolean |
ElemTemplateElement.shouldStripWhiteSpace(XPathContext support,
Element targetElement)
Get information about whether or not an element should strip whitespace. |
void |
ElemTemplate.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. |
void |
ElemTemplate.endCompose(StylesheetRoot sroot)
This after the template's children have been composed. |
void |
ElemTemplate.execute(TransformerImpl transformer)
Copy the template contents into the result tree. |
void |
ElemExsltFunction.execute(TransformerImpl transformer,
XObject[] args)
|
void |
ElemExsltFunction.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. |
XObject |
FuncFormatNumb.execute(XPathContext xctxt)
Execute the function. |
void |
FuncFormatNumb.warn(XPathContext xctxt,
java.lang.String msg,
java.lang.Object[] args)
Warn the user of a problem. |
void |
ElemFallback.execute(TransformerImpl transformer)
This is the normal call when xsl:fallback is instantiated. |
void |
ElemFallback.executeFallback(TransformerImpl transformer)
Execute the fallback elements. |
void |
OutputProperties.recompose(StylesheetRoot root)
This function is called to recompose all of the output format extended elements. |
void |
OutputProperties.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. |
void |
OutputProperties.copyFrom(OutputProperties opsrc)
Copy the keys and values from the source to this object. |
void |
ElemUse.applyAttrSets(TransformerImpl transformer,
StylesheetRoot stylesheet)
Add the attributes from the named attribute sets to the attribute list. |
void |
ElemUse.execute(TransformerImpl transformer)
Copy attributes specified by use-attribute-sets to the result tree. |
void |
ElemLiteralResult.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. |
void |
ElemLiteralResult.resolvePrefixTables()
Augment resolvePrefixTables, resolving the namespace aliases once the superclass has resolved the tables. |
void |
ElemLiteralResult.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. |
void |
ElemUnknown.execute(TransformerImpl transformer)
Execute an unknown element. |
void |
ElemVariable.execute(TransformerImpl transformer)
Execute a variable declaration and push it onto the variable stack. |
XObject |
ElemVariable.getValue(TransformerImpl transformer,
int sourceNode)
Get the XObject representation of the variable. |
void |
ElemVariable.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. |
void |
ElemVariable.endCompose(StylesheetRoot sroot)
This after the template's children have been composed. |
void |
ElemExsltFuncResult.execute(TransformerImpl transformer)
Generate the EXSLT function return value, and assign it to the variable index slot assigned for it in ElemExsltFunction compose(). |
XObject |
XUnresolvedVariable.execute(XPathContext xctxt)
For support of literal objects in xpaths. |
void |
ElemIf.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. |
void |
ElemIf.execute(TransformerImpl transformer)
Conditionally execute a sub-template. |
void |
ElemComment.execute(TransformerImpl transformer)
Execute the xsl:comment transformation |
void |
ElemValueOf.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. |
void |
ElemValueOf.execute(TransformerImpl transformer)
Execute the string expression and copy the text 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. |
void |
StylesheetComposed.recompose(java.util.Vector recomposableElements)
Adds all recomposable values for this precedence level into the recomposableElements Vector that was passed in as the first parameter. |
void |
StylesheetComposed.recomposeTemplates(boolean flushFirst)
For compilation support, we need the option of overwriting (rather than appending to) previous composition. |
void |
ElemPI.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. |
void |
ElemPI.execute(TransformerImpl transformer)
Create a processing instruction in the result tree. |
void |
ElemForEach.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. |
void |
ElemForEach.endCompose(StylesheetRoot sroot)
This after the template's children have been composed. |
void |
ElemForEach.execute(TransformerImpl transformer)
Execute the xsl:for-each transformation |
DTMIterator |
ElemForEach.sortNodes(XPathContext xctxt,
java.util.Vector keys,
DTMIterator sourceNodes)
Sort given nodes |
void |
ElemForEach.transformSelectedNodes(TransformerImpl transformer)
Perform a query if needed, and call transformNode for each child. |
void |
ElemTextLiteral.execute(TransformerImpl transformer)
Copy the text literal to the result tree. |
void |
ElemElement.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. |
void |
ElemElement.execute(TransformerImpl transformer)
Create an element in the result tree. |
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. |
ElemTemplate |
StylesheetRoot.getTemplateComposed(XPathContext xctxt,
int targetNode,
QName mode,
boolean quietConflictWarnings,
DTM dtm)
Get an "xsl:template" property by node match. |
ElemTemplate |
StylesheetRoot.getTemplateComposed(XPathContext xctxt,
int targetNode,
QName mode,
int maxImportLevel,
int endImportLevel,
boolean quietConflictWarnings,
DTM dtm)
Get an "xsl:template" property by node match. |
WhiteSpaceInfo |
StylesheetRoot.getWhiteSpaceInfo(XPathContext support,
int targetElement,
DTM dtm)
Get information about whether or not an element should strip whitespace. |
boolean |
StylesheetRoot.shouldStripWhiteSpace(XPathContext support,
int targetElement)
Get information about whether or not an element should strip whitespace. |
abstract void |
AVTPart.evaluate(XPathContext xctxt,
FastStringBuffer buf,
int context,
PrefixResolver nsNode)
Write the evaluated value into the given string buffer. |
void |
KeyDeclaration.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. |
void |
ElemExtensionDecl.compose(StylesheetRoot sroot)
|
void |
ElemExtensionDecl.runtimeInit(TransformerImpl transformer)
This function will be called on top-level elements only, just before the transform begins. |
void |
ElemCopy.execute(TransformerImpl transformer)
The xsl:copy element provides an easy way of copying the current node. |
void |
ElemCallTemplate.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. |
void |
ElemCallTemplate.endCompose(StylesheetRoot sroot)
This after the template's children have been composed. |
void |
ElemCallTemplate.execute(TransformerImpl transformer)
Invoke a named template. |
void |
ElemApplyTemplates.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. |
void |
ElemApplyTemplates.execute(TransformerImpl transformer)
Apply the context node to the matching templates. |
void |
ElemApplyTemplates.transformSelectedNodes(TransformerImpl transformer)
Perform a query if needed, and call transformNode for each child. |
void |
ElemChoose.execute(TransformerImpl transformer)
Execute the xsl:choose transformation. |
void |
AVTPartXPath.evaluate(XPathContext xctxt,
FastStringBuffer buf,
int context,
PrefixResolver nsNode)
Write the value into the buffer. |
XObject |
FuncDocument.execute(XPathContext xctxt)
Execute the function. |
void |
FuncDocument.error(XPathContext xctxt,
java.lang.String msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
void |
FuncDocument.warn(XPathContext xctxt,
java.lang.String msg,
java.lang.Object[] args)
Warn the user of a problem. |
java.lang.String |
AVT.evaluate(XPathContext xctxt,
int context,
PrefixResolver nsNode)
Evaluate the AVT and return a String. |
void |
ElemParam.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. |
void |
ElemParam.execute(TransformerImpl transformer)
Execute a variable declaration and push it onto the variable stack. |
void |
ElemVariablePsuedo.execute(TransformerImpl transformer)
Execute a variable declaration and push it onto the variable stack. |
XObject |
XUnresolvedVariableSimple.execute(XPathContext xctxt)
For support of literal objects in xpaths. |
void |
ElemCopyOf.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. |
void |
ElemCopyOf.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]). |
XObject |
FuncKey.execute(XPathContext xctxt)
Execute the function. |
void |
ElemExtensionCall.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. |
void |
ElemExtensionCall.execute(TransformerImpl transformer)
Execute an extension. |
java.lang.String |
ElemExtensionCall.getAttribute(java.lang.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}". |
void |
ElemSort.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. |
void |
ElemWhen.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. |
void |
ElemApplyImport.execute(TransformerImpl transformer)
Execute the xsl:apply-imports transformation. |
void |
ElemAttributeSet.execute(TransformerImpl transformer)
Apply a set of attributes to the element. |
void |
ElemNumber.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. |
void |
ElemNumber.execute(TransformerImpl transformer)
Execute an xsl:number instruction. |
int |
ElemNumber.getPreviousNode(XPathContext xctxt,
int pos)
Get the previous node to be counted. |
int |
ElemNumber.getTargetNode(XPathContext xctxt,
int sourceNode)
Get the target node that will be counted.. |
ElemTemplate |
TemplateList.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. |
ElemTemplate |
TemplateList.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. |
ElemTemplate |
TemplateList.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. |
void |
ElemMessage.execute(TransformerImpl transformer)
Send a message to diagnostics. |
void |
ElemWithParam.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. |
XObject |
ElemWithParam.getValue(TransformerImpl transformer,
int sourceNode)
Get the XObject representation of the variable. |
Constructors in org.apache.xalan.templates that throw TransformerException | |
ElemVariable.ElemVariable(ElemVariable param)
Copy constructor. |
|
AVTPartXPath.AVTPartXPath(java.lang.String val,
PrefixResolver nsNode,
XPathParser xpathProcessor,
XPathFactory factory,
XPathContext liaison)
Construct a simple AVT part. |
|
AVT.AVT(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.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. |
|
ElemParam.ElemParam(ElemParam param)
Copy constructor. |
Uses of TransformerException in org.apache.xalan.trace |
Methods in org.apache.xalan.trace that throw TransformerException | |
void |
TraceListenerEx.selectEnd(EndSelectionEvent ev)
Method that is called after an xsl:apply-templates or xsl:for-each selection occurs. |
void |
TraceManager.fireSelectedEvent(int sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Fire a selection event. |
void |
TraceManager.fireSelectedEndEvent(int sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Fire a selection event. |
void |
TraceManager.fireSelectedEndEvent(EndSelectionEvent se)
Fire a selection event. |
void |
TraceManager.fireSelectedEvent(SelectionEvent se)
Fire a selection event. |
void |
PrintTraceListener.selected(SelectionEvent ev)
Method that is called just after a select attribute has been evaluated. |
void |
PrintTraceListener.selectEnd(EndSelectionEvent ev)
Method that is called after an xsl:apply-templates or xsl:for-each selection occurs. |
void |
TraceListener.selected(SelectionEvent ev)
Method that is called just after the formatter listener is called. |
Uses of TransformerException in org.apache.xalan.transformer |
Methods in org.apache.xalan.transformer that throw TransformerException | |
int |
CountersTable.countNode(XPathContext support,
ElemNumber numberElem,
int node)
Count forward until the given node is found, or until we have looked to the given amount. |
boolean |
TransformerImpl.functionAvailable(java.lang.String ns,
java.lang.String funcName)
|
boolean |
TransformerImpl.elementAvailable(java.lang.String ns,
java.lang.String elemName)
|
java.lang.Object |
TransformerImpl.extFunction(java.lang.String ns,
java.lang.String funcName,
java.util.Vector argVec,
java.lang.Object methodKey)
|
java.lang.Object |
TransformerImpl.extFunction(FuncExtFunction extFunction,
java.util.Vector argVec)
|
void |
TransformerImpl.transform(Source source)
Process the source tree to SAX parse events. |
void |
TransformerImpl.transform(Source source,
boolean shouldRelease)
Process the source tree to SAX parse events. |
SerializationHandler |
TransformerImpl.createSerializationHandler(Result outputTarget)
Create a result ContentHandler from a Result object, based on the current OutputProperties. |
SerializationHandler |
TransformerImpl.createSerializationHandler(Result outputTarget,
OutputProperties format)
Create a ContentHandler from a Result object and an OutputProperties. |
void |
TransformerImpl.transform(Source xmlSource,
Result outputTarget)
Process the source tree to the output result. |
void |
TransformerImpl.transform(Source xmlSource,
Result outputTarget,
boolean shouldRelease)
Process the source tree to the output result. |
void |
TransformerImpl.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. |
void |
TransformerImpl.transformNode(int node)
Process the source node to the output result, if the processor supports the "http://xml.org/trax/features/dom/input" feature. |
int |
TransformerImpl.transformToRTF(ElemTemplateElement templateParent)
Given a stylesheet element, create a result tree fragment from it's contents. |
int |
TransformerImpl.transformToGlobalRTF(ElemTemplateElement templateParent)
Given a stylesheet element, create a result tree fragment from it's contents. |
java.lang.String |
TransformerImpl.transformToString(ElemTemplateElement elem)
Take the contents of a template element, process it, and convert it to a string. |
boolean |
TransformerImpl.applyTemplateToNode(ElemTemplateElement xslInstruction,
ElemTemplate template,
int child)
Given an element and mode, find the corresponding template and process the contents. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
Node context,
QName mode,
ContentHandler handler)
Execute each of the children of a template element. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
boolean shouldAddAttrs)
Execute each of the children of a template element. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
ContentHandler handler)
Execute each of the children of a template element. |
java.util.Vector |
TransformerImpl.processSortKeys(ElemForEach foreach,
int sourceNodeContext)
Get the keys for the xsl:sort elements. |
void |
TransformerImpl.executeFromSnapshot(TransformSnapshot ts)
Deprecated. This is an internal tooling API that nobody seems to be using |
static void |
ClonerToResultTree.cloneToResultTree(int node,
int nodeType,
DTM dtm,
SerializationHandler rth,
boolean shouldCloneAttributes)
Clone an element with or without children. |
void |
NodeSorter.sort(DTMIterator v,
java.util.Vector keys,
XPathContext support)
Given a vector of nodes, sort each node according to the criteria in the keys. |
void |
TransformerIdentityImpl.transform(Source source,
Result outputTarget)
Process the source tree to the output result. |
static void |
SerializerSwitcher.switchSerializerIfHTML(TransformerImpl transformer,
java.lang.String ns,
java.lang.String localName)
Switch to HTML serializer if element is HTML |
static Serializer |
SerializerSwitcher.switchSerializerIfHTML(java.lang.String ns,
java.lang.String localName,
java.util.Properties props,
Serializer oldSerializer)
Switch to HTML serializer if element is HTML |
void |
StackGuard.checkForInfinateLoop()
Check if we are in an infinite loop |
void |
MsgMgr.message(SourceLocator srcLctr,
java.lang.String msg,
boolean terminate)
Warn the user of a problem. |
void |
MsgMgr.warn(SourceLocator srcLctr,
java.lang.String msg)
Warn the user of a problem. |
void |
MsgMgr.warn(SourceLocator srcLctr,
java.lang.String msg,
java.lang.Object[] args)
Warn the user of a problem. |
void |
MsgMgr.warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg)
Warn the user of a problem. |
void |
MsgMgr.warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg,
java.lang.Object[] args)
Warn the user of a problem. |
void |
MsgMgr.error(SourceLocator srcLctr,
java.lang.String msg)
Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
java.lang.String msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
java.lang.String msg,
java.lang.Exception e)
Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
java.lang.String msg,
java.lang.Object[] args,
java.lang.Exception e)
Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg)
Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
java.lang.String msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
XNodeSet |
KeyManager.getNodeSetDTMByKey(XPathContext xctxt,
int doc,
QName name,
XMLString ref,
PrefixResolver nscontext)
Given a valid element key, return the corresponding node list. |
Constructors in org.apache.xalan.transformer that throw TransformerException | |
KeyTable.KeyTable(int doc,
PrefixResolver nscontext,
QName name,
java.util.Vector keyDeclarations,
XPathContext xctxt)
Build a keys table. |
Uses of TransformerException in org.apache.xalan.xsltc.trax |
Methods in org.apache.xalan.xsltc.trax with parameters of type TransformerException | |
void |
TransformerFactoryImpl.error(TransformerException e)
Receive notification of a recoverable error. |
void |
TransformerFactoryImpl.fatalError(TransformerException e)
Receive notification of a non-recoverable error. |
void |
TransformerFactoryImpl.warning(TransformerException e)
Receive notification of a warning. |
void |
TransformerImpl.error(TransformerException e)
Receive notification of a recoverable error. |
void |
TransformerImpl.fatalError(TransformerException e)
Receive notification of a non-recoverable error. |
void |
TransformerImpl.warning(TransformerException e)
Receive notification of a warning. |
Methods in org.apache.xalan.xsltc.trax that throw TransformerException | |
void |
TransformerFactoryImpl.error(TransformerException e)
Receive notification of a recoverable error. |
void |
TransformerFactoryImpl.fatalError(TransformerException e)
Receive notification of a non-recoverable error. |
void |
TransformerFactoryImpl.warning(TransformerException e)
Receive notification of a warning. |
void |
TransformerImpl.transform(Source source,
Result result)
Implements JAXP's Transformer.transform() |
SerializationHandler |
TransformerImpl.getOutputHandler(Result result)
Create an output handler for the transformation output based on the type and contents of the TrAX Result object passed to the transform() method. |
void |
TransformerImpl.error(TransformerException e)
Receive notification of a recoverable error. |
void |
TransformerImpl.fatalError(TransformerException e)
Receive notification of a non-recoverable error. |
void |
TransformerImpl.warning(TransformerException e)
Receive notification of a warning. |
Uses of TransformerException in org.apache.xml.serializer.utils |
Methods in org.apache.xml.serializer.utils that throw TransformerException | |
static java.lang.String |
SystemIDResolver.getAbsoluteURI(java.lang.String urlString,
java.lang.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 | |
void |
DefaultErrorHandler.warning(TransformerException exception)
Receive notification of a warning. |
void |
DefaultErrorHandler.error(TransformerException exception)
Receive notification of a recoverable error. |
void |
DefaultErrorHandler.fatalError(TransformerException exception)
Receive notification of a non-recoverable error. |
static void |
DefaultErrorHandler.ensureLocationSet(TransformerException exception)
|
static void |
DefaultErrorHandler.printLocation(java.io.PrintStream pw,
TransformerException exception)
|
void |
ListingErrorHandler.warning(TransformerException exception)
Receive notification of a warning. |
void |
ListingErrorHandler.error(TransformerException exception)
Receive notification of a recoverable error. |
void |
ListingErrorHandler.fatalError(TransformerException exception)
Receive notification of a non-recoverable error. |
Methods in org.apache.xml.utils that throw TransformerException | |
static java.lang.String |
SystemIDResolver.getAbsoluteURI(java.lang.String urlString,
java.lang.String base)
Take a SystemID string and try to turn it into a good absolute URI. |
void |
RawCharacterHandler.charactersRaw(char[] ch,
int start,
int length)
Serialize the characters without escaping. |
void |
DefaultErrorHandler.warning(TransformerException exception)
Receive notification of a warning. |
void |
DefaultErrorHandler.error(TransformerException exception)
Receive notification of a recoverable error. |
void |
DefaultErrorHandler.fatalError(TransformerException exception)
Receive notification of a non-recoverable error. |
void |
ListingErrorHandler.warning(TransformerException exception)
Receive notification of a warning. |
void |
ListingErrorHandler.error(TransformerException exception)
Receive notification of a recoverable error. |
void |
ListingErrorHandler.fatalError(TransformerException exception)
Receive notification of a non-recoverable error. |
boolean |
DOMHelper.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. |
void |
DOM2Helper.checkNode(Node node)
Deprecated. Check node to see if it was created by a DOM implementation that this helper is intended to support. |
void |
DOM2Helper.parse(InputSource source)
Deprecated. Parse an XML document. |
Uses of TransformerException in org.apache.xpath |
Subclasses of TransformerException 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 TransformerException | |
XObject |
Expression.execute(XPathContext xctxt,
int currentNode)
Execute an expression in the XPath runtime context, and return the result of the expression. |
XObject |
Expression.execute(XPathContext xctxt,
int currentNode,
DTM dtm,
int expType)
Execute an expression in the XPath runtime context, and return the result of the expression. |
abstract XObject |
Expression.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression. |
XObject |
Expression.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. |
double |
Expression.num(XPathContext xctxt)
Evaluate expression to a number. |
boolean |
Expression.bool(XPathContext xctxt)
Evaluate expression to a boolean. |
XMLString |
Expression.xstr(XPathContext xctxt)
Cast result object to a string. |
int |
Expression.asNode(XPathContext xctxt)
Return the first node out of the nodeset, if this expression is a nodeset expression. |
DTMIterator |
Expression.asIterator(XPathContext xctxt,
int contextNode)
Given an select expression and a context, evaluate the XPath and return the resulting iterator. |
DTMIterator |
Expression.asIteratorRaw(XPathContext xctxt,
int contextNode)
Given an select expression and a context, evaluate the XPath and return the resulting iterator, but do not clone. |
void |
Expression.executeCharsToContentHandler(XPathContext xctxt,
ContentHandler handler)
Execute an expression in the XPath runtime context, and return the result of the expression. |
void |
Expression.warn(XPathContext xctxt,
java.lang.String msg,
java.lang.Object[] args)
Warn the user of an problem. |
void |
Expression.error(XPathContext xctxt,
java.lang.String msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
boolean |
WhitespaceStrippingElementMatcher.shouldStripWhiteSpace(XPathContext support,
Element targetElement)
Get information about whether or not an element should strip whitespace. |
Source |
SourceTreeManager.resolveURI(java.lang.String base,
java.lang.String urlString,
SourceLocator locator)
This will be called by the processor when it encounters an xsl:include, xsl:import, or document() function. |
int |
SourceTreeManager.getSourceTree(java.lang.String base,
java.lang.String urlString,
SourceLocator locator,
XPathContext xctxt)
Get the source tree from the a base URL and a URL string. |
int |
SourceTreeManager.getSourceTree(Source source,
SourceLocator locator,
XPathContext xctxt)
Get the source tree from the input source. |
int |
SourceTreeManager.parseToNode(Source source,
SourceLocator locator,
XPathContext xctxt)
Try to create a DOM source tree from the input source. |
static XMLReader |
SourceTreeManager.getXMLReader(Source inputSource,
SourceLocator locator)
This method returns the SAX2 parser to use with the InputSource obtained from this URI. |
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.getLocalVariable(XPathContext xctxt,
int index)
Get a local variable or parameter in the current stack frame. |
XObject |
VariableStack.getLocalVariable(int index,
int frame)
Get a local variable or parameter in the current stack frame. |
XObject |
VariableStack.getLocalVariable(XPathContext xctxt,
int index,
boolean destructiveOK)
Get a local variable or parameter in the current stack frame. |
boolean |
VariableStack.isLocalSet(int index)
Tell if a local variable has been set or not. |
XObject |
VariableStack.getGlobalVariable(XPathContext xctxt,
int index)
Get a global variable or parameter from the global stack frame. |
XObject |
VariableStack.getGlobalVariable(XPathContext xctxt,
int index,
boolean destructiveOK)
Get a global variable or parameter from the global stack frame. |
XObject |
VariableStack.getVariableOrParam(XPathContext xctxt,
QName qname)
Get a variable based on it's qualified name. |
XObject |
XPathContext.XPathExpressionContext.getVariableOrParam(QName qname)
Get a variable based on it's qualified name. |
Node |
CachedXPathAPI.selectSingleNode(Node contextNode,
java.lang.String str)
Use an XPath string to select a single node. |
Node |
CachedXPathAPI.selectSingleNode(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a single node. |
NodeIterator |
CachedXPathAPI.selectNodeIterator(Node contextNode,
java.lang.String str)
Use an XPath string to select a nodelist. |
NodeIterator |
CachedXPathAPI.selectNodeIterator(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a nodelist. |
NodeList |
CachedXPathAPI.selectNodeList(Node contextNode,
java.lang.String str)
Use an XPath string to select a nodelist. |
NodeList |
CachedXPathAPI.selectNodeList(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a nodelist. |
XObject |
CachedXPathAPI.eval(Node contextNode,
java.lang.String str)
Evaluate XPath string to an XObject. |
XObject |
CachedXPathAPI.eval(Node contextNode,
java.lang.String str,
Node namespaceNode)
Evaluate XPath string to an XObject. |
XObject |
CachedXPathAPI.eval(Node contextNode,
java.lang.String str,
PrefixResolver prefixResolver)
Evaluate XPath string to an XObject. |
boolean |
ExtensionsProvider.functionAvailable(java.lang.String ns,
java.lang.String funcName)
Is the extension function available? |
boolean |
ExtensionsProvider.elementAvailable(java.lang.String ns,
java.lang.String elemName)
Is the extension element available? |
java.lang.Object |
ExtensionsProvider.extFunction(java.lang.String ns,
java.lang.String funcName,
java.util.Vector argVec,
java.lang.Object methodKey)
Execute the extension function. |
java.lang.Object |
ExtensionsProvider.extFunction(FuncExtFunction extFunction,
java.util.Vector argVec)
Execute the extension function. |
XObject |
XPath.execute(XPathContext xctxt,
Node contextNode,
PrefixResolver namespaceContext)
Given an expression and a context, evaluate the XPath and return the result. |
XObject |
XPath.execute(XPathContext xctxt,
int contextNode,
PrefixResolver namespaceContext)
Given an expression and a context, evaluate the XPath and return the result. |
boolean |
XPath.bool(XPathContext xctxt,
int contextNode,
PrefixResolver namespaceContext)
Given an expression and a context, evaluate the XPath and return the result. |
double |
XPath.getMatchScore(XPathContext xctxt,
int context)
Get the match score of the given node. |
void |
XPath.warn(XPathContext xctxt,
int sourceNode,
java.lang.String msg,
java.lang.Object[] args)
Warn the user of an problem. |
void |
XPath.error(XPathContext xctxt,
int sourceNode,
java.lang.String msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
Constructors in org.apache.xpath that throw TransformerException | |
XPath.XPath(java.lang.String exprString,
SourceLocator locator,
PrefixResolver prefixResolver,
int type,
ErrorListener errorListener)
Construct an XPath object. |
|
XPath.XPath(java.lang.String exprString,
SourceLocator locator,
PrefixResolver prefixResolver,
int type,
ErrorListener errorListener,
FunctionTable aTable)
Construct an XPath object. |
|
XPath.XPath(java.lang.String exprString,
SourceLocator locator,
PrefixResolver prefixResolver,
int type)
Construct an XPath object. |
Uses of TransformerException in org.apache.xpath.axes |
Methods in org.apache.xpath.axes that throw TransformerException | |
void |
PredicatedNodeTest.initProximityPosition(int i)
Init the proximity position to zero for a forward axes. |
XObject |
LocPathIterator.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. |
void |
LocPathIterator.executeCharsToContentHandler(XPathContext xctxt,
ContentHandler handler)
Execute an expression in the XPath runtime context, and return the result of the expression. |
DTMIterator |
LocPathIterator.asIterator(XPathContext xctxt,
int contextNode)
Given an select expression and a context, evaluate the XPath and return the resulting iterator. |
int |
LocPathIterator.asNode(XPathContext xctxt)
Return the first node out of the nodeset, if this expression is a nodeset expression. |
boolean |
LocPathIterator.bool(XPathContext xctxt)
Evaluate this operation directly to a boolean. |
static LocPathIterator |
UnionPathIterator.createUnionIterator(Compiler compiler,
int opPos)
This will return an iterator capable of handling the union of paths given. |
int |
ChildIterator.asNode(XPathContext xctxt)
Return the first node out of the nodeset, if this expression is a nodeset expression. |
void |
AxesWalker.init(Compiler compiler,
int opPos,
int stepType)
Initialize an AxesWalker during the parse of the XPath expression. |
void |
FilterExprWalker.init(Compiler compiler,
int opPos,
int stepType)
Init a FilterExprWalker. |
int |
DescendantIterator.asNode(XPathContext xctxt)
Return the first node out of the nodeset, if this expression is a nodeset expression. |
int |
SelfIteratorNoPredicate.asNode(XPathContext xctxt)
Return the first node out of the nodeset, if this expression is a nodeset expression. |
static DTMIterator |
WalkerFactory.newDTMIterator(Compiler compiler,
int opPos,
boolean isTopLevel)
Create a new LocPathIterator iterator. |
static int |
WalkerFactory.getAxisFromStep(Compiler compiler,
int stepOpCodePos)
Special purpose function to see if we can optimize the pattern for a DescendantIterator. |
static boolean |
WalkerFactory.mightBeProximate(Compiler compiler,
int opPos,
int stepType)
Tell if the predicates need to have proximity knowledge. |
Constructors in org.apache.xpath.axes that throw TransformerException | |
UnionPathIterator.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. |
|
OneStepIterator.OneStepIterator(DTMAxisIterator iterator,
int axis)
Create a OneStepIterator object. |
|
SelfIteratorNoPredicate.SelfIteratorNoPredicate()
Create a SelfIteratorNoPredicate object. |
Uses of TransformerException in org.apache.xpath.compiler |
Methods in org.apache.xpath.compiler that throw TransformerException | |
int |
OpMap.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. |
void |
OpMap.error(java.lang.String msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
Expression |
Compiler.compile(int opPos)
Execute the XPath object from a given opcode position. |
Expression |
Compiler.locationPath(int opPos)
Compile a location path. |
Expression |
Compiler.predicate(int opPos)
Compile a location step predicate expression. |
Expression |
Compiler.locationPathPattern(int opPos)
Compile a location match pattern unit expression. |
Expression[] |
Compiler.getCompiledPredicates(int opPos)
Compile a zero or more predicates for a given match pattern. |
int |
Compiler.countPredicates(int opPos)
Count the number of predicates in the step. |
void |
Compiler.warn(java.lang.String msg,
java.lang.Object[] args)
Warn the user of an problem. |
void |
Compiler.error(java.lang.String msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
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 TransformerException in org.apache.xpath.domapi |
Subclasses of TransformerException in org.apache.xpath.domapi | |
interface |
XPathStylesheetDOM3Exception
A 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 | |
XObject |
Function.execute(XPathContext xctxt)
Execute an XPath function object. |
XObject |
FuncStringLength.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncCeiling.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncLocalPart.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncLang.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncString.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncNumber.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncSystemProperty.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncExtElementAvailable.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncNamespace.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncTranslate.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncId.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncSubstringBefore.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncPosition.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncBoolean.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncExtFunctionAvailable.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncStartsWith.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncFloor.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncExtFunction.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncRound.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncSum.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncGenerateId.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncNormalizeSpace.execute(XPathContext xctxt)
Execute the function. |
void |
FuncNormalizeSpace.executeCharsToContentHandler(XPathContext xctxt,
ContentHandler handler)
Execute an expression in the XPath runtime context, and return the result of the expression. |
XObject |
FuncConcat.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncCount.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncNot.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncUnparsedEntityURI.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncQname.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncSubstring.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncTrue.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncDoclocation.execute(XPathContext xctxt)
Execute the function. |
int |
FuncLast.getCountOfContextNodeList(XPathContext xctxt)
Get the position in the current context node list. |
XObject |
FuncLast.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncFalse.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncSubstringAfter.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncCurrent.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncContains.execute(XPathContext xctxt)
Execute the function. |
Uses of TransformerException in org.apache.xpath.jaxp |
Methods in org.apache.xpath.jaxp that throw TransformerException | |
boolean |
JAXPExtensionsProvider.functionAvailable(java.lang.String ns,
java.lang.String funcName)
Is the extension function available? |
boolean |
JAXPExtensionsProvider.elementAvailable(java.lang.String ns,
java.lang.String elemName)
Is the extension element available? |
java.lang.Object |
JAXPExtensionsProvider.extFunction(java.lang.String ns,
java.lang.String funcName,
java.util.Vector argVec,
java.lang.Object methodKey)
Execute the extension function. |
java.lang.Object |
JAXPExtensionsProvider.extFunction(FuncExtFunction extFunction,
java.util.Vector argVec)
Execute the extension function. |
java.lang.Object |
XPathExpressionImpl.eval(java.lang.Object item,
QName returnType)
|
XObject |
JAXPVariableStack.getVariableOrParam(XPathContext xctxt,
QName qname)
|
Uses of TransformerException in org.apache.xpath.objects |
Methods in org.apache.xpath.objects that throw TransformerException | |
XObject |
XObject.execute(XPathContext xctxt)
For support of literal objects in xpaths. |
double |
XObject.num()
Cast result object to a number. |
double |
XObject.numWithSideEffects()
Cast result object to a number, but allow side effects, such as the incrementing of an iterator. |
boolean |
XObject.bool()
Cast result object to a boolean. |
boolean |
XObject.boolWithSideEffects()
Cast result object to a boolean, but allow side effects, such as the incrementing of an iterator. |
DTMIterator |
XObject.iter()
Cast result object to a nodelist. |
NodeIterator |
XObject.nodeset()
Cast result object to a nodelist. |
NodeList |
XObject.nodelist()
Cast result object to a nodelist. |
NodeSetDTM |
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 greater than the other. |
boolean |
XObject.greaterThanOrEqual(XObject obj2)
Tell if one object is greater than or equal to the other. |
boolean |
XObject.notEquals(XObject obj2)
Tell if two objects are functionally not equal. |
double |
XRTreeFrag.num()
Cast result object to a number. |
NodeIterator |
XNodeSet.nodeset()
Cast result object to a nodelist. |
NodeList |
XNodeSet.nodelist()
Cast result object to a nodelist. |
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.notEquals(XObject obj2)
Tell if two objects are functionally not equal. |
NodeIterator |
XNodeSetForDOM.nodeset()
Cast result object to a nodelist. |
NodeList |
XNodeSetForDOM.nodelist()
Cast result object to a nodelist. |
double |
XNumber.num(XPathContext xctxt)
Evaluate expression to a number. |
XObject |
XRTreeFragSelectWrapper.execute(XPathContext xctxt)
For support of literal objects in xpaths. |
double |
XRTreeFragSelectWrapper.num()
Cast result object to a number. |
Uses of TransformerException in org.apache.xpath.operations |
Methods in org.apache.xpath.operations that throw TransformerException | |
XObject |
Operation.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. |
XObject |
Operation.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
XObject |
Mult.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
double |
Mult.num(XPathContext xctxt)
Evaluate this operation directly to a double. |
XObject |
Gt.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
XObject |
UnaryOperation.execute(XPathContext xctxt)
Execute the operand and apply the unary operation to the result. |
abstract XObject |
UnaryOperation.operate(XObject right)
Apply the operation to two operands, and return the result. |
XObject |
Number.operate(XObject right)
Apply the operation to two operands, and return the result. |
double |
Number.num(XPathContext xctxt)
Evaluate this operation directly to a double. |
XObject |
Plus.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
double |
Plus.num(XPathContext xctxt)
Evaluate this operation directly to a double. |
XObject |
Quo.operate(XObject left,
XObject right)
Deprecated. Apply the operation to two operands, and return the result. |
XObject |
Or.execute(XPathContext xctxt)
OR two expressions and return the boolean result. |
boolean |
Or.bool(XPathContext xctxt)
Evaluate this operation directly to a boolean. |
XObject |
Mod.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
double |
Mod.num(XPathContext xctxt)
Evaluate this operation directly to a double. |
XObject |
Neg.operate(XObject right)
Apply the operation to two operands, and return the result. |
double |
Neg.num(XPathContext xctxt)
Evaluate this operation directly to a double. |
XObject |
And.execute(XPathContext xctxt)
AND two expressions and return the boolean result. |
boolean |
And.bool(XPathContext xctxt)
Evaluate this operation directly to a boolean. |
XObject |
Equals.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
boolean |
Equals.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. |
XObject |
Variable.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression. |
XObject |
Variable.execute(XPathContext xctxt,
boolean destructiveOK)
Dereference the variable, and return the reference value. |
XObject |
VariableSafeAbsRef.execute(XPathContext xctxt,
boolean destructiveOK)
Dereference the variable, and return the reference value. |
XObject |
Minus.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
double |
Minus.num(XPathContext xctxt)
Evaluate this operation directly to a double. |
XObject |
Lte.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
XObject |
Gte.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
XObject |
String.operate(XObject right)
Apply the operation to two operands, and return the result. |
XObject |
NotEquals.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
XObject |
Lt.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
XObject |
Bool.operate(XObject right)
Apply the operation to two operands, and return the result. |
boolean |
Bool.bool(XPathContext xctxt)
Evaluate this operation directly to a boolean. |
XObject |
Div.operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result. |
double |
Div.num(XPathContext xctxt)
Evaluate this operation directly to a double. |
Uses of TransformerException in org.apache.xpath.patterns |
Methods in org.apache.xpath.patterns that throw TransformerException | |
XObject |
NodeTest.execute(XPathContext xctxt,
int context)
Tell what the test score is for the given node. |
XObject |
NodeTest.execute(XPathContext xctxt,
int context,
DTM dtm,
int expType)
Tell what the test score is for the given node. |
XObject |
NodeTest.execute(XPathContext xctxt)
Test the current node to see if it matches the given node test. |
XObject |
UnionPattern.execute(XPathContext xctxt)
Test a node to see if it matches any of the patterns in the union. |
XObject |
StepPattern.execute(XPathContext xctxt,
int currentNode)
Execute this pattern step, including predicates. |
XObject |
StepPattern.execute(XPathContext xctxt)
Execute this pattern step, including predicates. |
XObject |
StepPattern.execute(XPathContext xctxt,
int currentNode,
DTM dtm,
int expType)
Execute an expression in the XPath runtime context, and return the result of the expression. |
double |
StepPattern.getMatchScore(XPathContext xctxt,
int context)
Get the match score of the given node. |
XObject |
FunctionPattern.execute(XPathContext xctxt,
int context)
Test a node to see if it matches the given node test. |
XObject |
FunctionPattern.execute(XPathContext xctxt,
int context,
DTM dtm,
int expType)
Test a node to see if it matches the given node test. |
XObject |
FunctionPattern.execute(XPathContext xctxt)
Test a node to see if it matches the given node test. |
XObject |
ContextMatchStepPattern.execute(XPathContext xctxt)
Execute this pattern step, including predicates. |
XObject |
ContextMatchStepPattern.executeRelativePathPattern(XPathContext xctxt,
StepPattern prevStep)
Execute the match pattern step relative to another step. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |