|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TransformerException | |
javax.xml.transform | This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. |
org.apache.xalan.extensions | Implementation of Xalan Extension Mechanism. |
org.apache.xalan.lib | Extension elements and functions shipped with Xalan-Java |
org.apache.xalan.processor | Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot (a TRaX Templates object). |
org.apache.xalan.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.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.functions | Implements XPath functions -- each function is derived from Function, FunctionOneArg, Function2Args, etc, with number-of-arguments checking being applied mainly at compile time -- this package only implements XPath functions, XSLT functions are found in the "templates" package. |
org.apache.xpath.objects | Implementation of XPath polymorphic type objects -- this package will grow as XPath objects are expanded to support XML Schema data types. |
org.apache.xpath.operations | Support for XPath operations, such as +, -, string(), etc. |
org.apache.xpath.patterns | Implementation of XPath nodeTest support, and XSLT pattern matching support. |
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 | |
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. |
abstract void |
Transformer.transform(Source xmlSource,
Result outputTarget)
Process the source tree to the output result. |
Uses of TransformerException in org.apache.xalan.extensions |
Methods in org.apache.xalan.extensions that throw TransformerException | |
boolean |
ExtensionsTable.functionAvailable(java.lang.String ns,
java.lang.String funcName)
Execute the function-available() function. |
boolean |
ExtensionsTable.elementAvailable(java.lang.String ns,
java.lang.String elemName)
Execute the element-available() function. |
java.lang.Object |
ExtensionsTable.extFunction(java.lang.String ns,
java.lang.String funcName,
java.util.Vector argVec,
java.lang.Object methodKey,
ExpressionContext exprContext)
Handle an extension function. |
ExtensionHandler |
ExtensionsTable.makeJavaNamespace(java.lang.String ns)
Declare the appropriate java extension handler. |
abstract java.lang.Object |
ExtensionHandler.callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
ExpressionContext exprContext)
Process a call to a function. |
abstract void |
ExtensionHandler.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
java.lang.Object |
ExtensionHandlerJavaClass.callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
ExpressionContext exprContext)
Process a call to a function in the java class represented by this ExtensionHandlerJavaClass |
void |
ExtensionHandlerJavaClass.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
void |
XSLProcessorContext.outputToResultTree(Stylesheet stylesheetTree,
java.lang.Object obj)
Output an object to the result tree by doing the right conversions. |
static java.lang.reflect.Constructor |
MethodResolver.getConstructor(java.lang.Class classObj,
java.lang.Object[] argsIn,
java.lang.Object[][] argsOut,
ExpressionContext exprContext)
Given a class, figure out the resolution of the Java Constructor from the XSLT argument types, and perform the conversion of the arguments. |
static java.lang.reflect.Method |
MethodResolver.getMethod(java.lang.Class classObj,
java.lang.String name,
java.lang.Object[] argsIn,
java.lang.Object[][] argsOut,
ExpressionContext exprContext,
int searchMethod)
Given the name of a method, figure out the resolution of the Java Method from the XSLT argument types, and perform the conversion of the arguments. |
static java.lang.reflect.Method |
MethodResolver.getElementMethod(java.lang.Class classObj,
java.lang.String name)
Given the name of a method, figure out the resolution of the Java Method |
static void |
MethodResolver.convertParams(java.lang.Object[] argsIn,
java.lang.Object[][] argsOut,
java.lang.Class[] paramTypes,
ExpressionContext exprContext)
Convert a set of parameters based on a set of paramTypes. |
java.lang.Object |
ExtensionHandlerJavaPackage.callFunction(java.lang.String funcName,
java.util.Vector args,
java.lang.Object methodKey,
ExpressionContext exprContext)
Process a call to a function in the package java namespace. |
void |
ExtensionHandlerJavaPackage.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
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. |
void |
ExtensionHandlerGeneral.processElement(java.lang.String localPart,
Element element,
TransformerImpl transformer,
Stylesheet stylesheetTree,
Node sourceTree,
Node sourceNode,
QName mode,
java.lang.Object methodKey)
Process a call to this extension namespace via an element. |
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)
Construct a new extension namespace handler given all the information needed. |
Uses of TransformerException in org.apache.xalan.lib |
Methods in org.apache.xalan.lib that throw TransformerException | |
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. |
static NodeSet |
Extensions.intersection(NodeIterator ni1,
NodeIterator ni2)
Returns the intersection of two node-sets. |
static NodeSet |
Extensions.difference(NodeIterator ni1,
NodeIterator ni2)
Returns the difference between two node-sets. |
static NodeSet |
Extensions.distinct(NodeIterator ni)
Returns node-set containing distinct string values. |
Uses of TransformerException in org.apache.xalan.processor |
Methods in org.apache.xalan.processor that throw TransformerException | |
XPath |
StylesheetHandler.createXPath(java.lang.String str)
Process an expression string into an XPath. |
abstract void |
CompiledTemplate.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Main entry point for the Template transformation. |
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,
Node sourceNode,
QName mode)
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.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.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Copy the template contents into the result tree. |
void |
ElemUse.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Copy attributes specified by use-attribute-sets to the result tree. |
void |
ElemLiteralResult.resolvePrefixTables()
Augment resolvePrefixTables, resolving the namespace aliases once the superclass has resolved the tables. |
void |
ElemLiteralResult.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Copy a Literal Result Element into the Result tree, copy the non-excluded namespace attributes, copy the attributes not of the XSLT namespace, and execute the children of the LRE. |
void |
ElemExtensionCall.executeFallbacks(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the fallbacks when an extension is not available. |
void |
ElemExtensionCall.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
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 |
ElemIf.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Conditionally execute a sub-template. |
void |
ElemNumber.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute an xsl:number instruction. |
Node |
ElemNumber.getPreviousNode(XPathContext xctxt,
Node pos)
Get the previous node to be counted. |
Node |
ElemNumber.getTargetNode(XPathContext xctxt,
Node sourceNode)
Get the target node that will be counted.. |
java.lang.String |
AVT.evaluate(XPathContext xctxt,
Node context,
PrefixResolver nsNode)
Evaluate the AVT and return a String. |
ElemTemplate |
TemplateList.getTemplate(XPathContext xctxt,
Node targetNode,
QName mode,
int maxImportLevel,
boolean quietConflictWarnings)
Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft. |
abstract void |
AVTPart.evaluate(XPathContext xctxt,
FastStringBuffer buf,
Node context,
PrefixResolver nsNode)
Write the evaluated value into the given string buffer. |
void |
AVTPartXPath.evaluate(XPathContext xctxt,
FastStringBuffer buf,
Node context,
PrefixResolver nsNode)
Write the value into the buffer. |
XObject |
FuncKey.execute(XPathContext xctxt)
Execute the function. |
void |
ElemPI.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Create a processing instruction in the result tree. |
void |
ElemTextLiteral.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Copy the text literal to the result tree. |
ElemTemplate |
Stylesheet.getTemplate(int i)
Get an "xsl:template" property. |
void |
Stylesheet.replaceTemplate(ElemTemplate v,
int i)
Replace an "xsl:template" property. |
XObject |
FuncFormatNumb.execute(XPathContext xctxt)
Execute the function. |
void |
FuncFormatNumb.warn(XPathContext xctxt,
int msg,
java.lang.Object[] args)
Warn the user of a problem. |
void |
ElemForEach.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the xsl:for-each transformation |
void |
ElemForEach.transformSelectedNodes(TransformerImpl transformer,
Node sourceNode,
ElemTemplateElement template,
QName mode)
**For advanced use only** Perform a query if needed, and call transformNode for each child. |
void |
ElemCallTemplate.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Invoke a named template. |
void |
ElemMessage.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Send a message to diagnostics. |
void |
ElemUnknown.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Copy an unknown element to the result tree |
void |
ElemExtensionDecl.runtimeInit(TransformerImpl transformer)
This function will be called on top-level elements only, just before the transform begins. |
void |
ElemAttribute.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Create an attribute in the result tree. |
void |
ElemCopyOf.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
The xsl:copy-of element can be used to insert a result tree fragment into the result tree, without first converting it to a string as xsl:value-of does (see [7.6.1 Generating Text with xsl:value-of]). |
void |
ElemChoose.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the xsl:choose transformation. |
XObject |
FuncDocument.execute(XPathContext xctxt)
Execute the function. |
void |
FuncDocument.error(XPathContext xctxt,
int msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
void |
FuncDocument.warn(XPathContext xctxt,
int msg,
java.lang.Object[] args)
Warn the user of a problem. |
void |
ElemAttributeSet.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Apply a set of attributes to the element. |
XObject |
XUnresolvedVariable.execute(XPathContext xctxt)
For support of literal objects in xpaths. |
void |
ElemApplyTemplates.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Apply the context node to the matching templates. |
void |
ElemFallback.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
This is the normal call when xsl:fallback is instantiated. |
void |
ElemFallback.executeFallback(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the fallback elements. |
void |
ElemCopy.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
The xsl:copy element provides an easy way of copying the current node. |
void |
ElemElement.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Create an element in the result tree. |
void |
ElemVariable.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute a variable declaration and push it onto the variable stack. |
XObject |
ElemVariable.getValue(TransformerImpl transformer,
Node sourceNode)
Get the XObject representation of the variable. |
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 |
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,
Node targetNode,
QName mode,
int maxImportLevel,
boolean quietConflictWarnings)
Get an "xsl:template" property by node match. |
WhiteSpaceInfo |
StylesheetRoot.getWhiteSpaceInfo(XPathContext support,
Element targetElement)
Get information about whether or not an element should strip whitespace. |
boolean |
StylesheetRoot.shouldStripWhiteSpace(XPathContext support,
Element targetElement)
Get information about whether or not an element should strip whitespace. |
void |
ElemComment.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the xsl:comment transformation |
void |
ElemApplyImport.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the xsl:apply-imports transformation. |
void |
ElemParam.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute a parameter declaration. |
void |
ElemValueOf.execute(TransformerImpl transformer,
Node sourceNode,
QName mode)
Execute the string expression and copy the text to the result tree. |
void |
OutputProperties.recompose(StylesheetRoot root)
This function is called to recompose all of the output format extended elements. |
void |
OutputProperties.copyFrom(OutputProperties opsrc)
Copy the keys and values from the source to this object. |
Constructors in org.apache.xalan.templates that throw TransformerException | |
AVT.AVT(StylesheetHandler handler,
java.lang.String uri,
java.lang.String name,
java.lang.String rawName,
java.lang.String stringedValue)
Construct an AVT by parsing the string, and either constructing a vector of AVTParts, or simply hold on to the string if the AVT is simple. |
|
AVTPartXPath.AVTPartXPath(java.lang.String val,
PrefixResolver nsNode,
XPathParser xpathProcessor,
XPathFactory factory,
XPathContext liaison)
Construct a simple AVT part. |
|
ElemVariable.ElemVariable(ElemVariable param)
Copy constructor. |
|
ElemParam.ElemParam(ElemParam param)
Copy constructor. |
Uses of TransformerException in org.apache.xalan.trace |
Methods in org.apache.xalan.trace that throw TransformerException | |
void |
TraceListener.selected(SelectionEvent ev)
Method that is called just after the formatter listener is called. |
void |
PrintTraceListener.selected(SelectionEvent ev)
Method that is called just after a select attribute has been evaluated. |
void |
TraceManager.fireSelectedEvent(Node sourceNode,
ElemTemplateElement styleNode,
java.lang.String attributeName,
XPath xpath,
XObject selection)
Fire a selection event. |
void |
TraceManager.fireSelectedEvent(SelectionEvent se)
Fire a selection event. |
Uses of TransformerException in org.apache.xalan.transformer |
Methods in org.apache.xalan.transformer that throw TransformerException | |
void |
ClonerToResultTree.cloneToResultTree(Node node,
boolean shouldCloneAttributes)
Clone an element with or without children. |
static void |
SerializerSwitcher.switchSerializerIfHTML(TransformerImpl transformer,
java.lang.String ns,
java.lang.String localName)
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 |
int |
CountersTable.countNode(XPathContext support,
ElemNumber numberElem,
Node node)
Count forward until the given node is found, or until we have looked to the given amount. |
void |
NodeSorter.sort(NodeVector v,
java.util.Vector keys,
XPathContext support)
Given a vector of nodes, sort each node according to the criteria in the keys. |
LocPathIterator |
KeyManager.getNodeSetByKey(XPathContext xctxt,
Node doc,
QName name,
java.lang.String ref,
PrefixResolver nscontext)
Given a valid element key, return the corresponding node list. |
void |
TransformerIdentityImpl.transform(Source source,
Result outputTarget)
Process the source tree to the output result. |
void |
ResultTreeHandler.processNSDecls(Node src)
Copy xmlns: attributes in if not already in scope. |
void |
ResultTreeHandler.addAttribute(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
java.lang.String type,
java.lang.String value)
Add an attribute to the end of the list. |
void |
ResultTreeHandler.addAttribute(Attr attr)
Copy an DOM attribute to the created output element, executing attribute templates as need be, and processing the xsl:use attribute. |
void |
ResultTreeHandler.addAttributes(Node src)
Copy DOM attributes to the result element. |
void |
MsgMgr.message(SourceLocator srcLctr,
java.lang.String msg,
boolean terminate)
Warn the user of a problem. |
void |
MsgMgr.warn(SourceLocator srcLctr,
int msg)
**For internal use only** Warn the user of a problem. |
void |
MsgMgr.warn(SourceLocator srcLctr,
int msg,
java.lang.Object[] args)
**For internal use only** Warn the user of a problem. |
void |
MsgMgr.warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
int msg)
**For internal use only** Warn the user of a problem. |
void |
MsgMgr.warn(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
int msg,
java.lang.Object[] args)
**For internal use only** Warn the user of a problem. |
void |
MsgMgr.error(SourceLocator srcLctr,
java.lang.String msg)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
int msg)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
int msg,
java.lang.Object[] args)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
int msg,
java.lang.Exception e)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
int msg,
java.lang.Object[] args,
java.lang.Exception e)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
int msg)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
MsgMgr.error(SourceLocator srcLctr,
Node styleNode,
Node sourceNode,
int msg,
java.lang.Object[] args)
**For internal use only** Tell the user of an error, and probably throw an exception. |
void |
TransformerImpl.transform(Source source)
Process the source tree to SAX parse events. |
Node |
TransformerImpl.parseToNode(Source source)
**For internal use only** Process the an input source to a DOM node. |
ContentHandler |
TransformerImpl.createResultContentHandler(Result outputTarget)
Create a result ContentHandler from a Result object, based on the current OutputProperties. |
ContentHandler |
TransformerImpl.createResultContentHandler(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.transformNode(Node 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(Node node)
Process the source node to the output result, if the processor supports the "http://xml.org/trax/features/dom/input" feature. |
void |
TransformerImpl.pushParams(XPathContext xctxt,
ElemCallTemplate xslCallTemplateElement,
Node sourceNode,
QName mode)
Given a template, search for the arguments and push them on the stack. |
DocumentFragment |
TransformerImpl.transformToRTF(ElemTemplateElement templateParent,
Node sourceNode,
QName mode)
**For advanced use only** Given a stylesheet element, create a result tree fragment from it's contents. |
java.lang.String |
TransformerImpl.transformToString(ElemTemplateElement elem,
Node sourceNode,
QName mode)
**For advanced use only** Take the contents of a template element, process it, and convert it to a string. |
boolean |
TransformerImpl.applyTemplateToNode(ElemTemplateElement xslInstruction,
ElemTemplateElement template,
Node child,
QName mode)
**For advanced use only** Given an element and mode, find the corresponding template and process the contents. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
Node sourceNode,
QName mode,
ContentHandler handler)
**For advanced use only** Execute each of the children of a template element. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
Node sourceNode,
QName mode)
**For advanced use only** Execute each of the children of a template element. |
void |
TransformerImpl.executeChildTemplates(ElemTemplateElement elem,
Node sourceNode,
QName mode,
boolean shouldAddAttrs)
**For advanced use only** Execute each of the children of a template element. |
java.util.Vector |
TransformerImpl.processSortKeys(ElemForEach foreach,
Node sourceNodeContext)
**For advanced use only** Get the keys for the xsl:sort elements. |
void |
StackGuard.checkForInfinateLoop(StackGuard guard)
Check if we are in an infinite loop |
void |
StackGuard.push(ElemTemplateElement xslTemplate,
Node sourceXML)
Push in a StackGuard object mathing given template |
Constructors in org.apache.xalan.transformer that throw TransformerException | |
KeyTable.KeyTable(Node doc,
PrefixResolver nscontext,
QName name,
java.util.Vector keyDeclarations,
XPathContext xmlLiaison)
Build a keys table. |
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. |
Methods in org.apache.xml.utils that throw TransformerException | |
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. |
static java.lang.String |
SystemIDResolver.getAbsoluteURI(java.lang.String urlString,
java.lang.String base)
Take a SystemID string and try and turn it into a good absolute URL. |
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 | |
boolean |
DOMHelper.shouldStripSourceNode(Node textNode)
**For advanced use only** Tells, through the combination of the default-space attribute on xsl:stylesheet, xsl:strip-space, xsl:preserve-space, and the xml:space attribute, whether or not extra whitespace should be stripped from the node. |
void |
DOM2Helper.checkNode(Node node)
**For internal use only** Check node to see if it was created by a DOM implementation that this helper is intended to support. |
void |
DOM2Helper.parse(InputSource source)
**For internal use only** Parse an XML document. |
abstract XObject |
Expression.execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression. |
void |
Expression.warn(XPathContext xctxt,
int msg,
java.lang.Object[] args)
Warn the user of an problem. |
void |
Expression.assert(boolean b,
java.lang.String msg)
Tell the user of an assertion error, and probably throw an exception. |
void |
Expression.error(XPathContext xctxt,
int msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
XObject |
XPath.execute(XPathContext xctxt,
Node contextNode,
PrefixResolver namespaceContext)
**Experimental** Given an expression and a context, evaluate the XPath and call the callback as nodes are found. |
double |
XPath.getMatchScore(XPathContext xctxt,
Node context)
Get the match score of the given node. |
void |
XPath.warn(XPathContext xctxt,
Node sourceNode,
int msg,
java.lang.Object[] args)
Warn the user of an problem. |
void |
XPath.error(XPathContext xctxt,
Node sourceNode,
int msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
static Node |
XPathAPI.selectSingleNode(Node contextNode,
java.lang.String str)
Use an XPath string to select a single node. |
static Node |
XPathAPI.selectSingleNode(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a single node. |
static NodeIterator |
XPathAPI.selectNodeIterator(Node contextNode,
java.lang.String str)
Use an XPath string to select a nodelist. |
static NodeIterator |
XPathAPI.selectNodeIterator(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a nodelist. |
static NodeList |
XPathAPI.selectNodeList(Node contextNode,
java.lang.String str)
Use an XPath string to select a nodelist. |
static NodeList |
XPathAPI.selectNodeList(Node contextNode,
java.lang.String str,
Node namespaceNode)
Use an XPath string to select a nodelist. |
static XObject |
XPathAPI.eval(Node contextNode,
java.lang.String str)
Evaluate XPath string to an XObject. |
static XObject |
XPathAPI.eval(Node contextNode,
java.lang.String str,
Node namespaceNode)
Evaluate XPath string to an XObject. |
static XObject |
XPathAPI.eval(Node contextNode,
java.lang.String str,
PrefixResolver prefixResolver)
Evaluate XPath string to an XObject. |
boolean |
WhitespaceStrippingElementMatcher.shouldStripWhiteSpace(XPathContext support,
Element targetElement)
Get information about whether or not an element should strip whitespace. |
boolean |
VariableStack.variableIsDeclared(QName qname)
Tell if a variable or parameter is already declared, either in the current context or in the global space. |
Arg |
VariableStack.getParamArg(QName qname)
Get the variable argument. |
XObject |
VariableStack.getVariable(XPathContext xctxt,
QName name)
Given a name, return an object representing the value. |
XObject |
XPathContext.getVariable(QName qname)
Given a name, locate a variable in the current context, and return the Object. |
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. |
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. |
Node |
SourceTreeManager.getSourceTree(java.lang.String base,
java.lang.String urlString,
SourceLocator locator)
Get the source tree from the a base URL and a URL string. |
Node |
SourceTreeManager.getSourceTree(Source source,
SourceLocator locator)
Get the source tree from the input source. |
Node |
SourceTreeManager.getDOMNode(Source source,
SourceLocator locator)
Try to create a DOM source tree from the input source. |
XMLReader |
SourceTreeManager.getXMLReader(Source inputSource,
SourceLocator locator)
This method returns the SAX2 parser to use with the InputSource obtained from this URI. |
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)
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. |
void |
AxesWalker.init(Compiler compiler,
int opPos,
int stepType)
Initialize an AxesWalker during the parse of the XPath expression. |
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. |
static LocPathIterator |
WalkerFactory.newLocPathIterator(Compiler compiler,
int opPos)
Create a new LocPathIterator iterator. |
void |
FilterExprWalker.init(Compiler compiler,
int opPos,
int stepType)
Init a FilterExprWalker. |
XObject |
UnionPathIterator.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. |
Constructors in org.apache.xpath.axes that throw TransformerException | |
LocPathIterator.LocPathIterator(Compiler compiler,
int opPos,
int analysis)
Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions. |
|
LocPathIterator.LocPathIterator(Compiler compiler,
int opPos,
int analysis,
boolean shouldLoadWalkers)
Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions. |
|
ChildIterator.ChildIterator(Compiler compiler,
int opPos,
int analysis)
Create a ChildIterator object. |
|
DescendantIterator.DescendantIterator(Compiler compiler,
int opPos,
int analysis)
Create a DescendantIterator object. |
|
AttributeIterator.AttributeIterator(Compiler compiler,
int opPos,
int analysis)
Create a AttributeIterator object. |
|
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. |
|
ChildTestIterator.ChildTestIterator(Compiler compiler,
int opPos,
int analysis)
Create a ChildTestIterator object. |
Uses of TransformerException in org.apache.xpath.compiler |
Methods in org.apache.xpath.compiler that throw TransformerException | |
Expression |
Compiler.compile(int opPos)
**For advanced use only** 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(int msg,
java.lang.Object[] args)
Warn the user of an problem. |
void |
Compiler.error(int msg,
java.lang.Object[] args)
Tell the user of an error, and probably throw an exception. |
Function |
FuncLoader.getFunction()
Get a Function instance that this instance is liaisoning for. |
static Function |
FunctionTable.getFunction(int which)
Obtain a new Function object from a function ID. |
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.functions |
Methods in org.apache.xpath.functions that throw TransformerException | |
XObject |
Function.execute(XPathContext xctxt)
Execute an XPath function object. |
XObject |
FuncStartsWith.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncStringLength.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncNamespace.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncDoclocation.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncNormalizeSpace.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncTranslate.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncNot.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncExtFunction.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 |
FuncGenerateId.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncString.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncContains.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncFalse.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncLocalPart.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncSubstringBefore.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncExtElementAvailable.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncCeiling.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncSubstring.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncRound.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncTrue.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncSystemProperty.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncPosition.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncLang.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncSubstringAfter.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncConcat.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncFloor.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncCurrent.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncNumber.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncQname.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncCount.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncBoolean.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncUnparsedEntityURI.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncSum.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncId.execute(XPathContext xctxt)
Execute the function. |
XObject |
FuncExtFunctionAvailable.execute(XPathContext xctxt)
Execute the function. |
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. |
boolean |
XObject.bool()
Cast result object to a boolean. |
NodeIterator |
XObject.nodeset()
Cast result object to a nodelist. |
NodeSet |
XObject.mutableNodeset()
Cast result object to a nodelist. |
java.lang.Object |
XObject.castToType(int t,
XPathContext support)
Cast object to type t. |
boolean |
XObject.lessThan(XObject obj2)
Tell if one object is less than the other. |
boolean |
XObject.lessThanOrEqual(XObject obj2)
Tell if one object is less than or equal to the other. |
boolean |
XObject.greaterThan(XObject obj2)
Tell if one object is greater than the other. |
boolean |
XObject.greaterThanOrEqual(XObject obj2)
Tell if one object is greater than or equal to the other. |
boolean |
XObject.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XObject.notEquals(XObject obj2)
Tell if two objects are functionally not equal. |
boolean |
XBoolean.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XBooleanStatic.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XString.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XRTreeFrag.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XNumber.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XNodeSet.compare(XObject obj2,
org.apache.xpath.objects.Comparator comparator)
Tell if one object is less than the other. |
boolean |
XNodeSet.lessThan(XObject obj2)
Tell if one object is less than the other. |
boolean |
XNodeSet.lessThanOrEqual(XObject obj2)
Tell if one object is less than or equal to the other. |
boolean |
XNodeSet.greaterThan(XObject obj2)
Tell if one object is less than the other. |
boolean |
XNodeSet.greaterThanOrEqual(XObject obj2)
Tell if one object is less than the other. |
boolean |
XNodeSet.equals(XObject obj2)
Tell if two objects are functionally equal. |
boolean |
XNodeSet.notEquals(XObject obj2)
Tell if two objects are functionally not equal. |
Uses of 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 |
Lt.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 |
Bool.operate(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. |
XObject |
And.execute(XPathContext xctxt)
AND two expressions and return the boolean result. |
XObject |
Or.execute(XPathContext xctxt)
OR two expressions and return the boolean result. |
XObject |
String.operate(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 |
NotEquals.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 |
Gte.operate(XObject left,
XObject right)
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 |
Neg.operate(XObject right)
Apply the operation to two operands, and return the result. |
XObject |
Variable.execute(XPathContext xctxt)
Dereference the variable, and return the reference value. |
XObject |
Number.operate(XObject right)
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 |
Minus.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 |
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. |
Uses of TransformerException in org.apache.xpath.patterns |
Methods in org.apache.xpath.patterns that throw TransformerException | |
XObject |
NodeTest.execute(XPathContext xctxt,
Node context)
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 |
StepPattern.executeStep(XPathContext xctxt)
Execute this pattern step, including predicates. |
XObject |
StepPattern.executeRelativePathPattern(XPathContext xctxt)
Execute the match pattern step relative to another step. |
XObject |
StepPattern.execute(XPathContext xctxt)
Test the current node to see if it matches the given node test, and if it does, and there is a relative path pattern, execute that to see if it matches also. |
double |
StepPattern.getMatchScore(XPathContext xctxt,
Node context)
Get the match score of the given node. |
XObject |
FunctionPattern.execute(XPathContext xctxt)
Test a node to see if it matches the given node test. |
XObject |
UnionPattern.execute(XPathContext xctxt)
Test a node to see if it matches any of the patterns in the union. |
XObject |
AncestorStepPattern.execute(XPathContext xctxt)
Overide the super method so that we can handle match patterns starting with a function such as id()/ |
XObject |
AncestorStepPattern.executeRelativePathPattern(XPathContext xctxt)
Execute the match pattern step relative to another step. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |