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.
|
Modifier and Type | Method and Description |
---|---|
Object |
ExtensionHandlerJavaPackage.callFunction(FuncExtFunction extFunction,
Vector args,
ExpressionContext exprContext)
Process a call to an XPath extension function
|
Object |
ExtensionHandlerJavaClass.callFunction(FuncExtFunction extFunction,
Vector args,
ExpressionContext exprContext)
Process a call to an XPath extension function
|
Object |
ExtensionHandlerGeneral.callFunction(FuncExtFunction extFunction,
Vector args,
ExpressionContext exprContext)
Process a call to an XPath extension function
|
Object |
ExtensionHandlerExsltFunction.callFunction(FuncExtFunction extFunction,
Vector args,
ExpressionContext exprContext)
Execute the EXSLT function and return the result value.
|
abstract Object |
ExtensionHandler.callFunction(FuncExtFunction extFunction,
Vector args,
ExpressionContext exprContext)
Process a call to a function.
|
Object |
ExtensionHandlerJavaPackage.callFunction(String funcName,
Vector args,
Object methodKey,
ExpressionContext exprContext)
Process a call to a function in the package java namespace.
|
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 |
ExtensionHandlerGeneral.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.
|
abstract Object |
ExtensionHandler.callFunction(String funcName,
Vector args,
Object methodKey,
ExpressionContext exprContext)
Process a call to a function.
|
static void |
MethodResolver.convertParams(Object[] argsIn,
Object[][] argsOut,
Class[] paramTypes,
ExpressionContext exprContext)
Convert a set of parameters based on a set of paramTypes.
|
Object |
ExtensionsTable.extFunction(FuncExtFunction extFunction,
Vector argVec,
ExpressionContext exprContext)
Handle an extension function.
|
Object |
ExtensionsTable.extFunction(String ns,
String funcName,
Vector argVec,
Object methodKey,
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.
|
Modifier and Type | Method and Description |
---|---|
static 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 |
Extensions.evaluate(ExpressionContext myContext,
String xpathExpr)
Returns the result of evaluating the argument as a string containing
an XPath expression.
|
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 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. |
Modifier and Type | Method and Description |
---|---|
ExpressionContext |
SQLDocument.getExpressionContext()
Return the context used to build this document
|
Modifier and Type | Method and Description |
---|---|
void |
XConnection.close(ExpressionContext exprContext,
Object doc)
Close the connection to the data source.
|
XBooleanStatic |
XConnection.connect(ExpressionContext exprContext,
Element protocolElem) |
XBooleanStatic |
XConnection.connect(ExpressionContext exprContext,
NodeList list) |
XBooleanStatic |
XConnection.connect(ExpressionContext exprContext,
String name)
Returns an XConnection from either a user created
org.apache.xalan.lib.sql.ConnectionPool or a JNDI datasource. |
XBooleanStatic |
XConnection.connect(ExpressionContext exprContext,
String driver,
String dbURL)
Create an XConnection object with just a driver and database URL.
|
XBooleanStatic |
XConnection.connect(ExpressionContext exprContext,
String driver,
String dbURL,
Element protocolElem)
Create an XConnection object with a connection protocol
|
XBooleanStatic |
XConnection.connect(ExpressionContext exprContext,
String driver,
String dbURL,
String user,
String password)
Create an XConnection object with user ID and password.
|
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.
|
DTM |
XConnection.pquery(ExpressionContext exprContext,
String queryString)
Execute a parameterized query statement by instantiating an
|
DTM |
XConnection.pquery(ExpressionContext exprContext,
String queryString,
String typeInfo)
Execute a parameterized query statement by instantiating an
|
DTM |
XConnection.query(ExpressionContext exprContext,
String queryString)
Execute a query statement by instantiating an
|
void |
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.
|
protected void |
SQLDocument.setExpressionContext(ExpressionContext expr)
When building the SQL Document, we need to store the Expression
Context that was used to create the document.
|
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.
|
Constructor and Description |
---|
XConnection(ExpressionContext exprContext,
NodeList list) |
XConnection(ExpressionContext exprContext,
String connPoolName)
Constructs a new XConnection and attempts to connect to a datasource as
defined in the
connect(ExpressionContext exprContext, String connPoolName)
method. |
XConnection(ExpressionContext exprContext,
String driver,
String dbURL) |
XConnection(ExpressionContext exprContext,
String driver,
String dbURL,
Element protocolElem) |
XConnection(ExpressionContext exprContext,
String driver,
String dbURL,
String user,
String password) |
Modifier and Type | Class and Description |
---|---|
class |
XPathContext.XPathExpressionContext |
Modifier and Type | Method and Description |
---|---|
ExpressionContext |
XPathContext.getExpressionContext()
The the expression context for extensions for this context.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.