Uses of Interface
org.apache.xalan.extensions.ExpressionContext
Packages that use ExpressionContext
Package
Description
Implementation of Xalan Extension Mechanism.
Extension elements and functions shipped with Xalan-Java, including EXSLT functions.
Provides extension functions for connecting to a JDBC data source, executing a query,
and working incrementally through a "streamable" result set.
Implementation of XPath; for the most part, only classes meant for public use are
found at this root level of the XPath packages.
-
Uses of ExpressionContext in org.apache.xalan.extensions
Methods in org.apache.xalan.extensions with parameters of type ExpressionContextModifier and TypeMethodDescriptionabstract Object
ExtensionHandler.callFunction
(String funcName, Vector args, Object methodKey, ExpressionContext exprContext) Process a call to a function.abstract Object
ExtensionHandler.callFunction
(FuncExtFunction extFunction, Vector args, ExpressionContext exprContext) Process a call to a function.ExtensionHandlerExsltFunction.callFunction
(String funcName, Vector args, Object methodKey, ExpressionContext exprContext) Execute the EXSLT function and return the result value.ExtensionHandlerExsltFunction.callFunction
(FuncExtFunction extFunction, Vector args, ExpressionContext exprContext) Execute the EXSLT function and return the result value.ExtensionHandlerGeneral.callFunction
(String funcName, Vector args, Object methodKey, ExpressionContext exprContext) Process a call to a function.ExtensionHandlerGeneral.callFunction
(FuncExtFunction extFunction, Vector args, ExpressionContext exprContext) Process a call to an XPath extension functionExtensionHandlerJavaClass.callFunction
(String funcName, Vector args, Object methodKey, ExpressionContext exprContext) Process a call to a function in the java class represented by thisExtensionHandlerJavaClass
.
ExtensionHandlerJavaClass.callFunction
(FuncExtFunction extFunction, Vector args, ExpressionContext exprContext) Process a call to an XPath extension functionExtensionHandlerJavaPackage.callFunction
(String funcName, Vector args, Object methodKey, ExpressionContext exprContext) Process a call to a function in the package java namespace.ExtensionHandlerJavaPackage.callFunction
(FuncExtFunction extFunction, Vector args, ExpressionContext exprContext) Process a call to an XPath extension functionstatic void
MethodResolver.convertParams
(Object[] argsIn, Object[][] argsOut, Class[] paramTypes, ExpressionContext exprContext) Convert a set of parameters based on a set of paramTypes.ExtensionsTable.extFunction
(String ns, String funcName, Vector argVec, Object methodKey, ExpressionContext exprContext) Handle an extension function.ExtensionsTable.extFunction
(FuncExtFunction extFunction, Vector argVec, ExpressionContext exprContext) Handle an extension function.static 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.static 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. -
Uses of ExpressionContext in org.apache.xalan.lib
Methods in org.apache.xalan.lib with parameters of type ExpressionContextModifier and TypeMethodDescriptionstatic Node
Extensions.checkEnvironment
(ExpressionContext myContext) Return a Node of basic debugging information from the EnvironmentCheck utility about the Java environment.static NodeList
ExsltDynamic.closure
(ExpressionContext myContext, NodeList nl, String expr) The dyn:closure function creates a node set resulting from transitive closure of evaluating the expression passed as the second argument on each of the nodes passed as the first argument, then on the node set resulting from that and so on until no more nodes are found.static int
NodeInfo.columnNumber
(ExpressionContext context) columnNumber
returns the column number of the current context node.static XObject
ExsltDynamic.evaluate
(ExpressionContext myContext, String xpathExpr) The dyn:evaluate function evaluates a string as an XPath expression and returns the resulting value, which might be a boolean, number, string, node set, result tree fragment or external object.static XObject
Extensions.evaluate
(ExpressionContext myContext, String xpathExpr) Returns the result of evaluating the argument as a string containing an XPath expression.static int
NodeInfo.lineNumber
(ExpressionContext context) lineNumber
returns the line number of the current context node.static NodeList
ExsltDynamic.map
(ExpressionContext myContext, NodeList nl, String expr) The dyn:map function evaluates the expression passed as the second argument for each of the nodes passed as the first argument, and returns a node set of those values.static double
ExsltDynamic.max
(ExpressionContext myContext, NodeList nl, String expr) The dyn:max function calculates the maximum value for the nodes passed as the first argument, where the value of each node is calculated dynamically using an XPath expression passed as a string as the second argument.static double
ExsltDynamic.min
(ExpressionContext myContext, NodeList nl, String expr) The dyn:min function calculates the minimum value for the nodes passed as the first argument, where the value of each node is calculated dynamically using an XPath expression passed as a string as the second argument.static NodeSet
Extensions.nodeset
(ExpressionContext myProcessor, Object rtf) This method is an extension that implements as a Xalan extension the node-set function also found in xt and saxon.static NodeSet
ExsltCommon.nodeSet
(ExpressionContext myProcessor, Object rtf) The exsl:node-set function converts a result tree fragment (which is what you get when you use the content of xsl:variable rather than its select attribute to give a variable value) into a node set.static String
NodeInfo.publicId
(ExpressionContext context) publicId
returns the public identifier of the current context node.static double
ExsltDynamic.sum
(ExpressionContext myContext, NodeList nl, String expr) The dyn:sum function calculates the sum for the nodes passed as the first argument, where the value of each node is calculated dynamically using an XPath expression passed as a string as the second argument.static String
NodeInfo.systemId
(ExpressionContext context) systemId
returns the system id of the current context node. -
Uses of ExpressionContext in org.apache.xalan.lib.sql
Methods in org.apache.xalan.lib.sql that return ExpressionContextModifier and TypeMethodDescriptionSQLDocument.getExpressionContext()
Return the context used to build this documentMethods in org.apache.xalan.lib.sql with parameters of type ExpressionContextModifier and TypeMethodDescriptionvoid
XConnection.close
(ExpressionContext exprContext, Object doc) Close the connection to the data source.XConnection.connect
(ExpressionContext exprContext, String name) Returns an XConnection from either a user createdorg.apache.xalan.lib.sql.ConnectionPool
or a JNDI datasource.XConnection.connect
(ExpressionContext exprContext, String driver, String dbURL) Create an XConnection object with just a driver and database URL.XConnection.connect
(ExpressionContext exprContext, String driver, String dbURL, String user, String password) Create an XConnection object with user ID and password.XConnection.connect
(ExpressionContext exprContext, String driver, String dbURL, Element protocolElem) Create an XConnection object with a connection protocolXConnection.connect
(ExpressionContext exprContext, Element protocolElem) XConnection.connect
(ExpressionContext exprContext, NodeList list) static SQLDocument
SQLDocument.getNewDocument
(ExpressionContext exprContext) This static method simplifies the creation of an SQL Document and allows us to embedd the complexity of creating / handling the dtmIdent inside the document.void
SQLQueryParser.populateStatement
(PreparedStatement stmt, ExpressionContext ctx) The SQL Statement Parser, when an Inline Parser is used, tracks the XSL variables used to populate a statement.XConnection.pquery
(ExpressionContext exprContext, String queryString) Execute a parameterized query statement by instantiating anXConnection.pquery
(ExpressionContext exprContext, String queryString, String typeInfo) Execute a parameterized query statement by instantiating anXConnection.query
(ExpressionContext exprContext, String queryString) Execute a query statement by instantiating anvoid
XConnection.setError
(Exception excp, ExpressionContext expr) This is an internal version of Set Error that is called withen XConnection where there is no SQLDocument created yet.void
XConnection.skipRec
(ExpressionContext exprContext, Object o, int value) The purpose of this routine is to force the DB cursor to skip forward N records.Constructors in org.apache.xalan.lib.sql with parameters of type ExpressionContextModifierConstructorDescriptionXConnection
(ExpressionContext exprContext, String connPoolName) Constructs a new XConnection and attempts to connect to a datasource as defined in theconnect(ExpressionContext exprContext, String connPoolName)
method.XConnection
(ExpressionContext exprContext, String driver, String dbURL) XConnection
(ExpressionContext exprContext, String driver, String dbURL, String user, String password) XConnection
(ExpressionContext exprContext, String driver, String dbURL, Element protocolElem) XConnection
(ExpressionContext exprContext, NodeList list) -
Uses of ExpressionContext in org.apache.xpath
Classes in org.apache.xpath that implement ExpressionContextMethods in org.apache.xpath that return ExpressionContextModifier and TypeMethodDescriptionXPathContext.getExpressionContext()
The the expression context for extensions for this context.