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.ObjectExtensionHandler. callFunction(java.lang.String funcName, java.util.Vector args, java.lang.Object methodKey, ExpressionContext exprContext)Process a call to a function.abstract java.lang.ObjectExtensionHandler. callFunction(FuncExtFunction extFunction, java.util.Vector args, ExpressionContext exprContext)Process a call to a function.java.lang.ObjectExtensionHandlerExsltFunction. 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.ObjectExtensionHandlerExsltFunction. callFunction(FuncExtFunction extFunction, java.util.Vector args, ExpressionContext exprContext)Execute the EXSLT function and return the result value.java.lang.ObjectExtensionHandlerGeneral. callFunction(java.lang.String funcName, java.util.Vector args, java.lang.Object methodKey, ExpressionContext exprContext)Process a call to a function.java.lang.ObjectExtensionHandlerGeneral. callFunction(FuncExtFunction extFunction, java.util.Vector args, ExpressionContext exprContext)Process a call to an XPath extension functionjava.lang.ObjectExtensionHandlerJavaClass. 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.ObjectExtensionHandlerJavaClass. callFunction(FuncExtFunction extFunction, java.util.Vector args, ExpressionContext exprContext)Process a call to an XPath extension functionjava.lang.ObjectExtensionHandlerJavaPackage. 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.ObjectExtensionHandlerJavaPackage. callFunction(FuncExtFunction extFunction, java.util.Vector args, ExpressionContext exprContext)Process a call to an XPath extension functionstatic voidMethodResolver. 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.ObjectExtensionsTable. 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.ObjectExtensionsTable. extFunction(FuncExtFunction extFunction, java.util.Vector argVec, ExpressionContext exprContext)Handle an extension function.static java.lang.reflect.ConstructorMethodResolver. 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.MethodMethodResolver. 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.NodeExtensions. checkEnvironment(ExpressionContext myContext)Return a Node of basic debugging information from the EnvironmentCheck utility about the Java environment.static org.w3c.dom.NodeListExsltDynamic. 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 intNodeInfo. columnNumber(ExpressionContext context)columnNumberreturns the column number of the current context node.static XObjectExsltDynamic. 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 XObjectExtensions. evaluate(ExpressionContext myContext, java.lang.String xpathExpr)Returns the result of evaluating the argument as a string containing an XPath expression.static intNodeInfo. lineNumber(ExpressionContext context)lineNumberreturns the line number of the current context node.static org.w3c.dom.NodeListExsltDynamic. 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 doubleExsltDynamic. 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 doubleExsltDynamic. 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 NodeSetExtensions. 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 NodeSetExsltCommon. 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.StringNodeInfo. publicId(ExpressionContext context)publicIdreturns the public identifier of the current context node.static doubleExsltDynamic. 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.StringNodeInfo. systemId(ExpressionContext context)systemIdreturns 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 ExpressionContextSQLDocument. 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 voidXConnection. close(ExpressionContext exprContext, java.lang.Object doc)Close the connection to the data source.XBooleanStaticXConnection. connect(ExpressionContext exprContext, java.lang.String name)Returns an XConnection from either a user createdorg.apache.xalan.lib.sql.ConnectionPoolor a JNDI datasource.XBooleanStaticXConnection. connect(ExpressionContext exprContext, java.lang.String driver, java.lang.String dbURL)Create an XConnection object with just a driver and database URL.XBooleanStaticXConnection. 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.XBooleanStaticXConnection. connect(ExpressionContext exprContext, java.lang.String driver, java.lang.String dbURL, org.w3c.dom.Element protocolElem)Create an XConnection object with a connection protocolXBooleanStaticXConnection. connect(ExpressionContext exprContext, org.w3c.dom.Element protocolElem)XBooleanStaticXConnection. connect(ExpressionContext exprContext, org.w3c.dom.NodeList list)static SQLDocumentSQLDocument. 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.voidSQLQueryParser. 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.DTMXConnection. pquery(ExpressionContext exprContext, java.lang.String queryString)Execute a parameterized query statement by instantiating anDTMXConnection. pquery(ExpressionContext exprContext, java.lang.String queryString, java.lang.String typeInfo)Execute a parameterized query statement by instantiating anDTMXConnection. query(ExpressionContext exprContext, java.lang.String queryString)Execute a query statement by instantiating anvoidXConnection. 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.voidXConnection. 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 classXPathContext.XPathExpressionContextMethods in org.apache.xpath that return ExpressionContext Modifier and Type Method Description ExpressionContextXPathContext. getExpressionContext()The the expression context for extensions for this context.
-