jd.xml.xslt.expr
Class FunctionAvailable
java.lang.Object
jd.xml.xpath.expr.ExpressionImpl
jd.xml.xpath.expr.BooleanExpression
jd.xml.xpath.expr.function.BooleanFunction
jd.xml.xslt.expr.Available
jd.xml.xslt.expr.FunctionAvailable
- All Implemented Interfaces:
- Expression, Function, XsltFunction
- public class FunctionAvailable
- extends Available
FunctionAvailable represents the xslt function
"boolean function-available(string)".
Methods inherited from interface jd.xml.xpath.expr.Expression |
accept, getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toNodeSet, toNumberValue, toString, toStringValue, toXObject |
TYPE
public static final FunctionType TYPE
- The function type.
FunctionAvailable
public FunctionAvailable()
getFunctionType
public FunctionType getFunctionType()
- Description copied from interface:
Function
- Return the FunctionType of the Function-
initContextParameters
public void initContextParameters(StaticExprContext context)
- Set function parameters provided by the given expression context.
- Specified by:
initContextParameters
in interface XsltFunction
- Overrides:
initContextParameters
in class Available
copyContextParameters
public void copyContextParameters(Function function)
- Specified by:
copyContextParameters
in interface XsltFunction
- Overrides:
copyContextParameters
in class Available
getFunctionLibrary
public FunctionLibrary getFunctionLibrary()
available
public boolean available(XPathContext context,
String uri,
String functionName)
- Evalute the function.
- Specified by:
available
in class Available
available
public boolean available(ExtensionHandler handler,
String functionName)
- Specified by:
available
in class Available