APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xpath.internal.functions

public Class FuncExtFunctionAvailable

extends FunctionOneArg
Class Inheritance
Imports
com.sun.org.apache.xalan.internal.templates.Constants, com.sun.org.apache.xpath.internal.ExtensionsProvider, .XPathContext, com.sun.org.apache.xpath.internal.compiler.FunctionTable, com.sun.org.apache.xpath.internal.objects.XBoolean, .XObject

Execute the ExtFunctionAvailable() function.

Field Summary

Modifier and TypeField and Description
private transient FunctionTable
pack-priv static final long
Inherited from com.sun.org.apache.xpath.internal.functions.FunctionOneArg:
m_arg0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public XObject

Returns:

A valid XObject.
execute
(XPathContext
The current execution context.
xctxt
)

Overrides com.sun.org.apache.xpath.internal.functions.Function.execute.

Execute the function.

public void
setFunctionTable(FunctionTable
an instance of the function table
aTable
)

The function table is an instance field.

Inherited from com.sun.org.apache.xpath.internal.functions.FunctionOneArg:
callArgVisitorscanTraverseOutsideSubtreecheckNumberArgsdeepEqualsfixupVariablesgetArg0getExpressionreportWrongNumberArgssetArgsetExpression

Field Detail

m_functionTableback to summary
private transient FunctionTable m_functionTable
serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides com.sun.org.apache.xpath.internal.functions.FunctionOneArg.serialVersionUID.

Constructor Detail

FuncExtFunctionAvailableback to summary
public FuncExtFunctionAvailable()

Method Detail

executeback to summary
public XObject execute(XPathContext xctxt) throws TransformerException

Overrides com.sun.org.apache.xpath.internal.functions.Function.execute.

Execute the function. The function must return a valid object.

Parameters
xctxt:XPathContext

The current execution context.

Returns:XObject

A valid XObject.

Exceptions
TransformerException:

Doc from com.sun.org.apache.xpath.internal.Expression.execute.

if a runtime exception occurs.

setFunctionTableback to summary
public void setFunctionTable(FunctionTable aTable)

The function table is an instance field. In order to access this instance field during evaluation, this method is called at compilation time to insert function table information for later usage. It should only be used during compiling of XPath expressions.

Parameters
aTable:FunctionTable

an instance of the function table