Uses of Interface
org.apache.xalan.extensions.ExpressionContext
-
Packages that use ExpressionContext Package Description org.apache.xalan.extensions Implementation of Xalan Extension Mechanism.org.apache.xalan.lib Extension elements and functions shipped with Xalan-Java, including EXSLT functions.org.apache.xalan.lib.sql Provides extension functions for connecting to a JDBC data source, executing a query, and working incrementally through a "streamable" result set.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. -
-
Uses of ExpressionContext in org.apache.xalan.extensions
Methods in org.apache.xalan.extensions with parameters of type ExpressionContext Modifier and Type Method Description abstract java.lang.Object
ExtensionHandler. callFunction(java.lang.String funcName, java.util.Vector args, java.lang.Object methodKey, ExpressionContext exprContext)
Process a call to a function.abstract java.lang.Object
ExtensionHandler. callFunction(FuncExtFunction extFunction, java.util.Vector args, ExpressionContext exprContext)
Process a call to a function.java.lang.Object
ExtensionHandlerExsltFunction. callFunction(java.lang.String funcName, java.util.Vector args, java.lang.Object methodKey, ExpressionContext exprContext)
Execute the EXSLT function and return the result value.java.lang.Object
ExtensionHandlerExsltFunction. callFunction(FuncExtFunction extFunction, java.util.Vector args, ExpressionContext exprContext)
Execute the EXSLT function and return the result value.java.lang.Object
ExtensionHandlerGeneral. callFunction(java.lang.String funcName, java.util.Vector args, java.lang.Object methodKey, ExpressionContext exprContext)
Process a call to a function.java.lang.Object
ExtensionHandlerGeneral. callFunction(FuncExtFunction extFunction, java.util.Vector args, ExpressionContext exprContext)
Process a call to an XPath extension functionjava.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 thisExtensionHandlerJavaClass
.
java.lang.Object
ExtensionHandlerJavaClass. callFunction(FuncExtFunction extFunction, java.util.Vector args, ExpressionContext exprContext)
Process a call to an XPath extension functionjava.lang.Object
ExtensionHandlerJavaPackage. callFunction(java.lang.String funcName, java.util.Vector args, java.lang.Object methodKey, ExpressionContext exprContext)
Process a call to a function in the package java namespace.java.lang.Object
ExtensionHandlerJavaPackage. callFunction(FuncExtFunction extFunction, java.util.Vector args, ExpressionContext exprContext)
Process a call to an XPath extension functionstatic 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
ExtensionsTable. extFunction(java.lang.String ns, java.lang.String funcName, java.util.Vector argVec, java.lang.Object methodKey, ExpressionContext exprContext)
Handle an extension function.java.lang.Object
ExtensionsTable. extFunction(FuncExtFunction extFunction, java.util.Vector argVec, ExpressionContext exprContext)
Handle an extension function.static java.lang.reflect.Constructor
MethodResolver. getConstructor(java.lang.Class classObj, java.lang.Object[] argsIn, java.lang.Object[][] argsOut, ExpressionContext exprContext)
Given a class, figure out the resolution of the Java Constructor from the XSLT argument types, and perform the conversion of the arguments.static java.lang.reflect.Method
MethodResolver. getMethod(java.lang.Class classObj, java.lang.String name, java.lang.Object[] argsIn, java.lang.Object[][] argsOut, ExpressionContext exprContext, int searchMethod)
Given the name of a method, figure out the resolution of the Java Method from the XSLT argument types, and perform the conversion of the arguments. -
Uses of ExpressionContext in org.apache.xalan.lib
Methods in org.apache.xalan.lib with parameters of type ExpressionContext Modifier and Type Method Description static org.w3c.dom.Node
Extensions. checkEnvironment(ExpressionContext myContext)
Return a Node of basic debugging information from the EnvironmentCheck utility about the Java environment.static org.w3c.dom.NodeList
ExsltDynamic. closure(ExpressionContext myContext, org.w3c.dom.NodeList nl, java.lang.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, java.lang.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, java.lang.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 org.w3c.dom.NodeList
ExsltDynamic. map(ExpressionContext myContext, org.w3c.dom.NodeList nl, java.lang.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, org.w3c.dom.NodeList nl, java.lang.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, org.w3c.dom.NodeList nl, java.lang.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, java.lang.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, java.lang.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 java.lang.String
NodeInfo. publicId(ExpressionContext context)
publicId
returns the public identifier of the current context node.static double
ExsltDynamic. sum(ExpressionContext myContext, org.w3c.dom.NodeList nl, java.lang.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 java.lang.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 ExpressionContext Modifier and Type Method Description ExpressionContext
SQLDocument. getExpressionContext()
Return the context used to build this documentMethods in org.apache.xalan.lib.sql with parameters of type ExpressionContext Modifier and Type Method Description void
XConnection. close(ExpressionContext exprContext, java.lang.Object doc)
Close the connection to the data source.XBooleanStatic
XConnection. connect(ExpressionContext exprContext, java.lang.String name)
Returns an XConnection from either a user createdorg.apache.xalan.lib.sql.ConnectionPool
or a JNDI datasource.XBooleanStatic
XConnection. connect(ExpressionContext exprContext, java.lang.String driver, java.lang.String dbURL)
Create an XConnection object with just a driver and database URL.XBooleanStatic
XConnection. connect(ExpressionContext exprContext, java.lang.String driver, java.lang.String dbURL, java.lang.String user, java.lang.String password)
Create an XConnection object with user ID and password.XBooleanStatic
XConnection. connect(ExpressionContext exprContext, java.lang.String driver, java.lang.String dbURL, org.w3c.dom.Element protocolElem)
Create an XConnection object with a connection protocolXBooleanStatic
XConnection. connect(ExpressionContext exprContext, org.w3c.dom.Element protocolElem)
XBooleanStatic
XConnection. connect(ExpressionContext exprContext, org.w3c.dom.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(java.sql.PreparedStatement stmt, ExpressionContext ctx)
The SQL Statement Parser, when an Inline Parser is used, tracks the XSL variables used to populate a statement.DTM
XConnection. pquery(ExpressionContext exprContext, java.lang.String queryString)
Execute a parameterized query statement by instantiating anDTM
XConnection. pquery(ExpressionContext exprContext, java.lang.String queryString, java.lang.String typeInfo)
Execute a parameterized query statement by instantiating anDTM
XConnection. query(ExpressionContext exprContext, java.lang.String queryString)
Execute a query statement by instantiating anvoid
XConnection. setError(java.lang.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, java.lang.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 ExpressionContext Constructor Description XConnection(ExpressionContext exprContext, java.lang.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, java.lang.String driver, java.lang.String dbURL)
XConnection(ExpressionContext exprContext, java.lang.String driver, java.lang.String dbURL, java.lang.String user, java.lang.String password)
XConnection(ExpressionContext exprContext, java.lang.String driver, java.lang.String dbURL, org.w3c.dom.Element protocolElem)
XConnection(ExpressionContext exprContext, org.w3c.dom.NodeList list)
-
Uses of ExpressionContext in org.apache.xpath
Classes in org.apache.xpath that implement ExpressionContext Modifier and Type Class Description class
XPathContext.XPathExpressionContext
Methods in org.apache.xpath that return ExpressionContext Modifier and Type Method Description ExpressionContext
XPathContext. getExpressionContext()
The the expression context for extensions for this context.
-