Uses of Class javax.xml.transform.TransformerException

Uses in package org.apache.xalan.xsltc.trax

Methods with parameter type javax.xml.transform.TransformerException

void
Receive notification of a recoverable error.
void
Receive notification of a recoverable error.
void
Receive notification of a non-recoverable error.
void
Receive notification of a non-recoverable error.
void
Receive notification of a warning.
void
Receive notification of a warning.

Methods which throw type javax.xml.transform.TransformerException

void
Receive notification of a recoverable error.
void
Receive notification of a recoverable error.
void
Receive notification of a non-recoverable error.
void
Receive notification of a non-recoverable error.
SerializationHandler
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
Implements JAXP's Transformer.transform()
void
Receive notification of a warning.
void
Receive notification of a warning.

Uses in package org.apache.xpath

Classes derived from javax.xml.transform.TransformerException

class
This class implements an exception object that all XPath classes will throw in case of an error.
class
Derived from XPathException in order that XPath processor exceptions may be specifically caught.

Constructors which throw type javax.xml.transform.TransformerException

XPath.XPath(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type)
Construct an XPath object.
XPath.XPath(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type, ErrorListener errorListener)
Construct an XPath object.

Methods which throw type javax.xml.transform.TransformerException

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.
int
Return the first node out of the nodeset, if this expression is a nodeset expression.
boolean
Evaluate expression to a boolean.
boolean
XPath.bool(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext)
Given an expression and a context, evaluate the XPath and return the result.
boolean
ExtensionsProvider.elementAvailable(String ns, String elemName)
Is the extension element available?
void
Expression.error(XPathContext xctxt, String msg, Object[] args)
Tell the user of an error, and probably throw an exception.
void
XPath.error(XPathContext xctxt, int sourceNode, String msg, Object[] args)
Tell the user of an error, and probably throw an exception.
XObject
CachedXPathAPI.eval(Node contextNode, String str)
Evaluate XPath string to an XObject.
XObject
XPathAPI.eval(Node contextNode, String str)
Evaluate XPath string to an XObject.
XObject
CachedXPathAPI.eval(Node contextNode, String str, PrefixResolver prefixResolver)
Evaluate XPath string to an XObject.
XObject
XPathAPI.eval(Node contextNode, String str, PrefixResolver prefixResolver)
Evaluate XPath string to an XObject.
XObject
CachedXPathAPI.eval(Node contextNode, String str, Node namespaceNode)
Evaluate XPath string to an XObject.
XObject
XPathAPI.eval(Node contextNode, String str, Node namespaceNode)
Evaluate XPath string to an XObject.
XObject
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.
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.
XObject
XPath.execute(XPathContext xctxt, int contextNode, PrefixResolver namespaceContext)
Given an expression and a context, evaluate the XPath and return the result.
XObject
XPath.execute(XPathContext xctxt, Node contextNode, PrefixResolver namespaceContext)
Given an expression and a context, evaluate the XPath and return the result.
void
Execute an expression in the XPath runtime context, and return the result of the expression.
Object
ExtensionsProvider.extFunction(String ns, String funcName, Vector argVec, Object methodKey)
Execute the extension function.
Object
ExtensionsProvider.extFunction(FuncExtFunction extFunction, Vector argVec)
Execute the extension function.
boolean
ExtensionsProvider.functionAvailable(String ns, String funcName)
Is the extension function available?
XObject
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.getLocalVariable(int index, int frame)
Get a local variable or parameter in the current stack frame.
XObject
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.
double
XPath.getMatchScore(XPathContext xctxt, int context)
Get the match score of the given node.
int
SourceTreeManager.getSourceTree(String base, String urlString, SourceLocator locator, XPathContext xctxt)
Get the source tree from the a base URL and a URL string.
int
Get the source tree from the input source.
XObject
Get a variable based on it's qualified name.
XObject
Get a variable based on it's qualified name.
XMLReader
This method returns the SAX2 parser to use with the InputSource obtained from this URI.
boolean
Tell if a local variable has been set or not.
double
Evaluate expression to a number.
int
Try to create a DOM source tree from the input source.
Source
SourceTreeManager.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.
NodeIterator
CachedXPathAPI.selectNodeIterator(Node contextNode, String str)
Use an XPath string to select a nodelist.
NodeIterator
XPathAPI.selectNodeIterator(Node contextNode, String str)
Use an XPath string to select a nodelist.
NodeIterator
CachedXPathAPI.selectNodeIterator(Node contextNode, String str, Node namespaceNode)
Use an XPath string to select a nodelist.
NodeIterator
XPathAPI.selectNodeIterator(Node contextNode, String str, Node namespaceNode)
Use an XPath string to select a nodelist.
NodeList
CachedXPathAPI.selectNodeList(Node contextNode, String str)
Use an XPath string to select a nodelist.
NodeList
XPathAPI.selectNodeList(Node contextNode, String str)
Use an XPath string to select a nodelist.
NodeList
CachedXPathAPI.selectNodeList(Node contextNode, String str, Node namespaceNode)
Use an XPath string to select a nodelist.
NodeList
XPathAPI.selectNodeList(Node contextNode, String str, Node namespaceNode)
Use an XPath string to select a nodelist.
Node
CachedXPathAPI.selectSingleNode(Node contextNode, String str)
Use an XPath string to select a single node.
Node
XPathAPI.selectSingleNode(Node contextNode, String str)
Use an XPath string to select a single node.
Node
CachedXPathAPI.selectSingleNode(Node contextNode, String str, Node namespaceNode)
Use an XPath string to select a single node.
Node
XPathAPI.selectSingleNode(Node contextNode, String str, Node namespaceNode)
Use an XPath string to select a single node.
boolean
Get information about whether or not an element should strip whitespace.
void
Expression.warn(XPathContext xctxt, String msg, Object[] args)
Warn the user of an problem.
void
XPath.warn(XPathContext xctxt, int sourceNode, String msg, Object[] args)
Warn the user of an problem.
XMLString
Cast result object to a string.

Uses in package org.apache.xalan.templates

Constructors which throw type javax.xml.transform.TransformerException

AVT.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.AVTPartXPath(String val, PrefixResolver nsNode, XPathParser xpathProcessor, XPathFactory factory, XPathContext liaison)
Construct a simple AVT part.
Copy constructor.
Copy constructor.

Methods which throw type javax.xml.transform.TransformerException

void
Add the attributes from the named attribute sets to the attribute list.
void
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
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
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
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
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.
void
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
void
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Copy the keys and values from the source to this object.
void
This after the template's children have been composed.
void
This after the template's children have been composed.
void
This after the template's children have been composed.
void
This after the template's children have been composed.
void
This after the template's children have been composed.
void
FuncDocument.error(XPathContext xctxt, String msg, args[] )
Tell the user of an error, and probably throw an exception.
String
AVT.evaluate(XPathContext xctxt, int context, PrefixResolver nsNode)
Evaluate the AVT and return a String.
void
AVTPart.evaluate(XPathContext xctxt, FastStringBuffer buf, int context, PrefixResolver nsNode)
Write the evaluated value into the given string buffer.
void
Write the value into the buffer.
void
Execute the xsl:apply-imports transformation.
void
Apply the context node to the matching templates.
void
Create an attribute in the result tree.
void
Apply a set of attributes to the element.
void
Invoke a named template.
void
Execute the xsl:choose transformation.
void
Execute the xsl:comment transformation
void
The xsl:copy element provides an easy way of copying the current node.
void
The xsl:copy-of element can be used to insert a result tree fragment into the result tree, without first converting it to a string as xsl:value-of does (see [7.6.1 Generating Text with xsl:value-of]).
void
Create an element in the result tree.
void
Generate the EXSLT function return value, and assign it to the variable index slot assigned for it in ElemExsltFunction compose().
void
Execute an extension.
void
This is the normal call when xsl:fallback is instantiated.
void
Execute the xsl:for-each transformation
void
Conditionally execute a sub-template.
void
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
Send a message to diagnostics.
void
Execute an xsl:number instruction.
void
Execute a variable declaration and push it onto the variable stack.
void
Create a processing instruction in the result tree.
void
Copy the template contents into the result tree.
void
Execute the element's primary function.
void
Copy the text literal to the result tree.
void
Execute an unknown element.
void
Copy attributes specified by use-attribute-sets to the result tree.
void
Execute the string expression and copy the text to the result tree.
void
Execute a variable declaration and push it onto the variable stack.
void
Execute a variable declaration and push it onto the variable stack.
void
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
For support of literal objects in xpaths.
XObject
For support of literal objects in xpaths.
void
Execute the fallback elements.
String
ElemExtensionCall.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}".
int
Get the previous node to be counted.
int
ElemNumber.getTargetNode(XPathContext xctxt, int sourceNode)
Get the target node that will be counted..
ElemTemplate
Get an "xsl:template" property.
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.
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.
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.
XObject
ElemVariable.getValue(TransformerImpl transformer, int sourceNode)
Get the XObject representation of the variable.
XObject
ElemWithParam.getValue(TransformerImpl transformer, int sourceNode)
Get the XObject representation of the variable.
WhiteSpaceInfo
StylesheetRoot.getWhiteSpaceInfo(XPathContext support, int targetElement, DTM dtm)
Get information about whether or not an element should strip whitespace.
void
Recompose the values of all "composed" properties, meaning properties that need to be combined or calculated from the combination of imported and included stylesheets.
void
StylesheetComposed.recompose(Vector recomposableElements)
Adds all recomposable values for this precedence level into the recomposableElements Vector that was passed in as the first parameter.
void
This function is called during recomposition to control how this element is composed.
void
This function is called to recompose all of the output format extended elements.
void
For compilation support, we need the option of overwriting (rather than appending to) previous composition.
void
Replace an "xsl:template" property.
void
Augment resolvePrefixTables, resolving the namespace aliases once the superclass has resolved the tables.
void
Combine the parent's namespaces with this namespace for fast processing, taking care to reference the parent's namespace if this namespace adds nothing new.
void
This function will be called on top-level elements only, just before the transform begins.
void
This function will be called on top-level elements only, just before the transform begins.
void
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.
boolean
StylesheetRoot.shouldStripWhiteSpace(XPathContext support, int targetElement)
Get information about whether or not an element should strip whitespace.
boolean
Get information about whether or not an element should strip whitespace.
DTMIterator
ElemForEach.sortNodes(XPathContext xctxt, Vector keys, DTMIterator sourceNodes)
Sort given nodes
void
Perform a query if needed, and call transformNode for each child.
void
Perform a query if needed, and call transformNode for each child.
void
FuncDocument.warn(XPathContext xctxt, String msg, args[] )
Warn the user of a problem.
void
FuncFormatNumb.warn(XPathContext xctxt, String msg, args[] )
Warn the user of a problem.

Uses in package org.apache.xpath.objects

Methods which throw type javax.xml.transform.TransformerException

boolean
Cast result object to a boolean.
boolean
Cast result object to a boolean, but allow side effects, such as the incrementing of an iterator.
Object
XObject.castToType(int t, XPathContext support)
Cast object to type t.
boolean
XNodeSet.compare(XObject obj2, org.apache.xpath.objects.Comparator comparator)
Tell if one object is less than the other.
XObject
For support of literal objects in xpaths.
XObject
For support of literal objects in xpaths.
boolean
Tell if one object is less than the other.
boolean
Tell if one object is greater than the other.
boolean
Tell if one object is less than the other.
boolean
Tell if one object is greater than or equal to the other.
DTMIterator
Cast result object to a nodelist.
boolean
Tell if one object is less than the other.
boolean
Tell if one object is less than the other.
boolean
Tell if one object is less than or equal to the other.
boolean
Tell if one object is less than or equal to the other.
NodeSetDTM
Cast result object to a nodelist.
NodeList
Cast result object to a nodelist.
NodeList
Cast result object to a nodelist.
NodeList
Cast result object to a nodelist.
NodeIterator
Cast result object to a nodelist.
NodeIterator
Cast result object to a nodelist.
NodeIterator
Cast result object to a nodelist.
boolean
Tell if two objects are functionally not equal.
boolean
Tell if two objects are functionally not equal.
double
Cast result object to a number.
double
Cast result object to a number.
double
Cast result object to a number.
double
Evaluate expression to a number.
double
Cast result object to a number, but allow side effects, such as the incrementing of an iterator.

Uses in package javax.xml.transform

Classes derived from javax.xml.transform.TransformerException

class
Indicates a serious configuration error.

Methods with parameter type javax.xml.transform.TransformerException

void
Receive notification of a recoverable error.
void
Receive notification of a non-recoverable error.
void
Receive notification of a warning.

Methods which throw type javax.xml.transform.TransformerException

void
Receive notification of a recoverable error.
void
Receive notification of a non-recoverable error.
Source
URIResolver.resolve(String href, String base)
Called by the processor when it encounters an xsl:include, xsl:import, or document() function.
void
Transformer.transform(Source xmlSource, Result outputTarget)
Process the source tree to the output result.
void
Receive notification of a warning.

Uses in package org.apache.xpath.patterns

Methods which throw type javax.xml.transform.TransformerException

XObject
Execute this pattern step, including predicates.
XObject
Test a node to see if it matches the given node test.
XObject
Test the current node to see if it matches the given node test.
XObject
Execute this pattern step, including predicates.
XObject
Test a node to see if it matches any of the patterns in the union.
XObject
FunctionPattern.execute(XPathContext xctxt, int context)
Test a node to see if it matches the given node test.
XObject
NodeTest.execute(XPathContext xctxt, int context)
Tell what the test score is for the given node.
XObject
StepPattern.execute(XPathContext xctxt, int currentNode)
Execute this pattern step, including predicates.
XObject
FunctionPattern.execute(XPathContext xctxt, int context, DTM dtm, int expType)
Test a node to see if it matches the given node test.
XObject
NodeTest.execute(XPathContext xctxt, int context, DTM dtm, int expType)
Tell what the test score is for the given node.
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.
XObject
Execute the match pattern step relative to another step.
double
StepPattern.getMatchScore(XPathContext xctxt, int context)
Get the match score of the given node.

Uses in package org.apache.xpath.functions

Methods which throw type javax.xml.transform.TransformerException

XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute an XPath function object.
XObject
Execute the function.
XObject
Execute the function.
XObject
Execute the function.
void
Execute an expression in the XPath runtime context, and return the result of the expression.
int
Get the position in the current context node list.

Uses in package org.apache.xalan.processor

Methods which throw type javax.xml.transform.TransformerException

XPath
StylesheetHandler.createXPath(String str, ElemTemplateElement owningTemplate)
Process an expression string into an XPath.

Uses in package org.apache.xalan.trace

Methods which throw type javax.xml.transform.TransformerException

void
TraceManager.fireSelectedEndEvent(int sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection)
Fire a selection event.
void
Fire a selection event.
void
TraceManager.fireSelectedEvent(int sourceNode, ElemTemplateElement styleNode, String attributeName, XPath xpath, XObject selection)
Fire a selection event.
void
Fire a selection event.
void
Method that is called after an xsl:apply-templates or xsl:for-each selection occurs.
void
Method that is called after an xsl:apply-templates or xsl:for-each selection occurs.
void
Method that is called just after a select attribute has been evaluated.
void
Method that is called just after the formatter listener is called.

Uses in package org.apache.xalan.transformer

Constructors which throw type javax.xml.transform.TransformerException

KeyTable.KeyTable(int doc, PrefixResolver nscontext, QName name, Vector keyDeclarations, XPathContext xctxt)
Build a keys table.

Methods which throw type javax.xml.transform.TransformerException

boolean
Given an element and mode, find the corresponding template and process the contents.
void
Check if we are in an infinite loop
void
ClonerToResultTree.cloneToResultTree(int node, int nodeType, DTM dtm, SerializationHandler rth, boolean shouldCloneAttributes)
Clone an element with or without children.
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.
SerializationHandler
Create a result ContentHandler from a Result object, based on the current OutputProperties.
SerializationHandler
Create a ContentHandler from a Result object and an OutputProperties.
boolean
TransformerImpl.elementAvailable(String ns, String elemName)
void
MsgMgr.error(SourceLocator srcLctr, String msg)
Tell the user of an error, and probably throw an exception.
void
MsgMgr.error(SourceLocator srcLctr, String msg, Exception e)
Tell the user of an error, and probably throw an exception.
void
MsgMgr.error(SourceLocator srcLctr, String msg, Object[] args)
Tell the user of an error, and probably throw an exception.
void
MsgMgr.error(SourceLocator srcLctr, String msg, args[] , Exception e)
Tell the user of an error, and probably throw an exception.
void
MsgMgr.error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg)
Tell the user of an error, and probably throw an exception.
void
MsgMgr.error(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, args[] )
Tell the user of an error, and probably throw an exception.
void
Execute each of the children of a template element.
void
Execute each of the children of a template element.
void
Execute each of the children of a template element.
void
This will execute the following XSLT instructions from the snapshot point, after the stylesheet execution context has been reset from the snapshot point.
Object
TransformerImpl.extFunction(String ns, String funcName, Vector argVec, Object methodKey)
Object
TransformerImpl.extFunction(FuncExtFunction extFunction, Vector argVec)
boolean
TransformerImpl.functionAvailable(String ns, String funcName)
XNodeSet
KeyManager.getNodeSetDTMByKey(XPathContext xctxt, int doc, QName name, XMLString ref, PrefixResolver nscontext)
Given a valid element key, return the corresponding node list.
void
MsgMgr.message(SourceLocator srcLctr, String msg, boolean terminate)
Warn the user of a problem.
Vector
TransformerImpl.processSortKeys(ElemForEach foreach, int sourceNodeContext)
Get the keys for the xsl:sort elements.
void
NodeSorter.sort(DTMIterator v, Vector keys, XPathContext support)
Given a vector of nodes, sort each node according to the criteria in the keys.
Serializer
SerializerSwitcher.switchSerializerIfHTML(String ns, String localName, Properties props, Serializer oldSerializer)
Switch to HTML serializer if element is HTML
void
SerializerSwitcher.switchSerializerIfHTML(TransformerImpl transformer, String ns, String localName)
Switch to HTML serializer if element is HTML
void
Process the source tree to SAX parse events.
void
TransformerImpl.transform(Source source, boolean shouldRelease)
Process the source tree to SAX parse events.
void
Process the source tree to the output result.
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
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, Result outputTarget)
Process the source node to the output result, if the processor supports the "http://xml.org/trax/features/dom/input" feature.
int
Given a stylesheet element, create a result tree fragment from it's contents.
int
Given a stylesheet element, create a result tree fragment from it's contents.
String
Take the contents of a template element, process it, and convert it to a string.
void
MsgMgr.warn(SourceLocator srcLctr, String msg)
Warn the user of a problem.
void
MsgMgr.warn(SourceLocator srcLctr, String msg, Object[] args)
Warn the user of a problem.
void
MsgMgr.warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg)
Warn the user of a problem.
void
MsgMgr.warn(SourceLocator srcLctr, Node styleNode, Node sourceNode, String msg, args[] )
Warn the user of a problem.

Uses in package org.apache.xpath.axes

Constructors which throw type javax.xml.transform.TransformerException

Create a OneStepIterator object.
Create a SelfIteratorNoPredicate object.
Create a UnionPathIterator object, including creation of location path iterators from the opcode list, and call back into the Compiler to create predicate expressions.

Methods which throw type javax.xml.transform.TransformerException

DTMIterator
LocPathIterator.asIterator(XPathContext xctxt, int contextNode)
Given an select expression and a context, evaluate the XPath and return the resulting iterator.
int
Return the first node out of the nodeset, if this expression is a nodeset expression.
int
Return the first node out of the nodeset, if this expression is a nodeset expression.
int
Return the first node out of the nodeset, if this expression is a nodeset expression.
int
Return the first node out of the nodeset, if this expression is a nodeset expression.
boolean
Evaluate this operation directly to a boolean.
LocPathIterator
This will return an iterator capable of handling the union of paths given.
XObject
Execute this iterator, meaning create a clone that can store state, and initialize it for fast execution from the current runtime state.
void
Execute an expression in the XPath runtime context, and return the result of the expression.
int
WalkerFactory.getAxisFromStep(Compiler compiler, int stepOpCodePos)
Special purpose function to see if we can optimize the pattern for a DescendantIterator.
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.
void
Init the proximity position to zero for a forward axes.
boolean
WalkerFactory.mightBeProximate(Compiler compiler, int opPos, int stepType)
Tell if the predicates need to have proximity knowledge.
DTMIterator
WalkerFactory.newDTMIterator(Compiler compiler, int opPos, boolean isTopLevel)
Create a new LocPathIterator iterator.

Uses in package org.apache.xpath.operations

Methods which throw type javax.xml.transform.TransformerException

boolean
Evaluate this operation directly to a boolean.
boolean
Evaluate this operation directly to a boolean.
boolean
Execute a binary operation by calling execute on each of the operands, and then calling the operate method on the derived class.
boolean
Evaluate this operation directly to a boolean.
XObject
AND two expressions and return the boolean result.
XObject
Execute a binary operation by calling execute on each of the operands, and then calling the operate method on the derived class.
XObject
OR two expressions and return the boolean result.
XObject
Execute the operand and apply the unary operation to the result.
XObject
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.
double
Evaluate this operation directly to a double.
double
Evaluate this operation directly to a double.
double
Evaluate this operation directly to a double.
double
Evaluate this operation directly to a double.
double
Evaluate this operation directly to a double.
double
Evaluate this operation directly to a double.
double
Evaluate this operation directly to a double.
XObject
Apply the operation to two operands, and return the result.
XObject
Apply the operation to two operands, and return the result.
XObject
Apply the operation to two operands, and return the result.
XObject
Apply the operation to two operands, and return the result.
XObject
Apply the operation to two operands, and return the result.
XObject
Div.operate(XObject left, XObject right)
Apply the operation to two operands, and return the result.
XObject
Equals.operate(XObject left, XObject right)
Apply the operation to two operands, and return the result.
XObject
Gt.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
Lt.operate(XObject left, XObject right)
Apply the operation to two operands, and return the result.
XObject
Lte.operate(XObject left, XObject right)
Apply the operation to two operands, and return the result.
XObject
Minus.operate(XObject left, XObject right)
Apply the operation to two operands, and return the result.
XObject
Mod.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.
XObject
Apply the operation to two operands, and return the result.
XObject
Apply the operation to two operands, and return the result.
XObject
Plus.operate(XObject left, XObject right)
Apply the operation to two operands, and return the result.
XObject
Quo.operate(XObject left, XObject right)
Apply the operation to two operands, and return the result.

Uses in package org.apache.xpath.compiler

Methods which throw type javax.xml.transform.TransformerException

Expression
Compiler.compile(int opPos)
Execute the XPath object from a given opcode position.
int
Count the number of predicates in the step.
void
Compiler.error(String msg, Object[] args)
Tell the user of an error, and probably throw an exception.
void
OpMap.error(String msg, Object[] args)
Tell the user of an error, and probably throw an exception.
Expression[]
Compile a zero or more predicates for a given match pattern.
int
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.
Function
Get a Function instance that this instance is liaisoning for.
Function
Obtain a new Function object from a function ID.
void
XPathParser.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.
void
XPathParser.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.
Expression
Compile a location path.
Expression
Compile a location match pattern unit expression.
Expression
Compiler.predicate(int opPos)
Compile a location step predicate expression.
void
Compiler.warn(String msg, Object[] args)
Warn the user of an problem.

Uses in package org.apache.xalan.serialize

Methods which throw type javax.xml.transform.TransformerException

void
Copy an DOM attribute to the created output element, executing attribute templates as need be, and processing the xsl:use attribute.
void
Copy DOM attributes to the result element.
void
SerializerUtils.processNSDecls(SerializationHandler handler, int src, int type, DTM dtm)
Copy xmlns: attributes in if not already in scope.

Uses in package org.apache.xalan.lib

Methods which throw type javax.xml.transform.TransformerException

void
Close the given file and remove it from the formatter listener's table.
void
Open the given file and put it in the XML, HTML, or Text formatter listener's table.
void
Extension element for piping an XML document through a series of 1 or more transformations.
void
PipeDocument.usePipe(Vector vTHandler, String source, String target)
Uses a Vector of TransformerHandlers to pipe XML input document through a series of 1 or more transformations.
void
Write the evalutation of the element children to the given file.

Uses in package org.apache.xalan.extensions

Constructors which throw type javax.xml.transform.TransformerException

ExtensionHandlerGeneral.ExtensionHandlerGeneral(String namespaceUri, StringVector elemNames, StringVector funcNames, String scriptLang, String scriptSrcURL, String scriptSrc, String systemId)
Construct a new extension namespace handler given all the information needed.
The constructor (called from TransformerImpl) registers the StylesheetRoot for the transformation and instantiates an ExtensionHandler for each extension namespace.

Methods which throw type javax.xml.transform.TransformerException

Object
ExtensionHandler.callFunction(String funcName, Vector args, Object methodKey, ExpressionContext exprContext)
Process a call to a function.
Object
ExtensionHandlerExsltFunction.callFunction(String funcName, Vector args, Object methodKey, ExpressionContext exprContext)
Execute the EXSLT function and return the result value.
Object
ExtensionHandlerGeneral.callFunction(String funcName, Vector args, Object methodKey, ExpressionContext exprContext)
Process a call to a function.
Object
ExtensionHandlerJavaClass.callFunction(String funcName, Vector args, Object methodKey, ExpressionContext exprContext)
Process a call to a function in the java class represented by this ExtensionHandlerJavaClass.
Object
ExtensionHandlerJavaPackage.callFunction(String funcName, Vector args, Object methodKey, ExpressionContext exprContext)
Process a call to a function in the package java namespace.
Object
ExtensionHandler.callFunction(FuncExtFunction extFunction, Vector args, ExpressionContext exprContext)
Process a call to a function.
Object
Execute the EXSLT function and return the result value.
Object
ExtensionHandlerGeneral.callFunction(FuncExtFunction extFunction, Vector args, ExpressionContext exprContext)
Process a call to an XPath extension function
Object
Process a call to an XPath extension function
Object
Process a call to an XPath extension function
void
MethodResolver.convertParams(Object[] argsIn, Object[][] argsOut, Class[] paramTypes, ExpressionContext exprContext)
Convert a set of parameters based on a set of paramTypes.
boolean
ExtensionsTable.elementAvailable(String ns, String elemName)
Execute the element-available() function.
Object
ExtensionsTable.extFunction(String ns, String funcName, Vector argVec, Object methodKey, ExpressionContext exprContext)
Handle an extension function.
Object
ExtensionsTable.extFunction(FuncExtFunction extFunction, Vector argVec, ExpressionContext exprContext)
Handle an extension function.
boolean
ExtensionsTable.functionAvailable(String ns, String funcName)
Execute the function-available() function.
Constructor
MethodResolver.getConstructor(Class classObj, Object[] argsIn, 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.
Method
MethodResolver.getElementMethod(Class classObj, String name)
Given the name of a method, figure out the resolution of the Java Method
Method
MethodResolver.getMethod(Class classObj, String name, Object[] argsIn, 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.
XObject
Get a variable based on it's qualified name.
XPathContext
Get the XPathContext that owns this ExpressionContext.
ExtensionHandler
Launch the ExtensionHandler that this ExtensionNamespaceSupport object defines.
void
XSLProcessorContext.outputToResultTree(Stylesheet stylesheetTree, Object obj)
Output an object to the result tree by doing the right conversions.
void
ExtensionHandler.processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey)
Process a call to this extension namespace via an element.
void
ExtensionHandlerExsltFunction.processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey)
Required by ExtensionHandler (an abstract method).
void
ExtensionHandlerGeneral.processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey)
Process a call to this extension namespace via an element.
void
ExtensionHandlerJavaClass.processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey)
Process a call to this extension namespace via an element.
void
ExtensionHandlerJavaPackage.processElement(String localPart, ElemTemplateElement element, TransformerImpl transformer, Stylesheet stylesheetTree, Object methodKey)
Process a call to this extension namespace via an element.

Uses in package org.apache.xml.utils

Methods with parameter type javax.xml.transform.TransformerException

void
void
Receive notification of a recoverable error.
void
Receive notification of a recoverable error.
void
Receive notification of a non-recoverable error.
void
Receive notification of a non-recoverable error.
void
void
Receive notification of a warning.
void
Receive notification of a warning.

Methods which throw type javax.xml.transform.TransformerException

void
RawCharacterHandler.charactersRaw(ch[] , int start, int length)
Serialize the characters without escaping.
void
Check node to see if it was created by a DOM implementation that this helper is intended to support.
void
Receive notification of a recoverable error.
void
Receive notification of a recoverable error.
void
Receive notification of a non-recoverable error.
void
Receive notification of a non-recoverable error.
String
SystemIDResolver.getAbsoluteURI(String urlString, String base)
Take a SystemID string and try to turn it into a good absolute URI.
void
Parse an XML document.
boolean
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
Receive notification of a warning.
void
Receive notification of a warning.

Copyright B) 2004 Apache XML Project. All Rights Reserved.