jd.xml.xslt.expr
Class Available
java.lang.Object
jd.xml.xpath.expr.ExpressionImpl
jd.xml.xpath.expr.BooleanExpression
jd.xml.xpath.expr.function.BooleanFunction
jd.xml.xslt.expr.Available
- All Implemented Interfaces:
- Expression, Function, XsltFunction
- Direct Known Subclasses:
- ElementAvailable, FunctionAvailable
- public abstract class Available
- extends BooleanFunction
- implements XsltFunction
Available is a base class for ElementAvailable and FunctionAvailable
Methods inherited from interface jd.xml.xpath.expr.Expression |
accept, getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toNodeSet, toNumberValue, toString, toStringValue, toXObject |
Available
public Available()
initContextParameters
public void initContextParameters(StaticExprContext context)
- Set function parameters provided by the given expression context.
- Specified by:
initContextParameters
in interface XsltFunction
copyContextParameters
public void copyContextParameters(Function function)
- Specified by:
copyContextParameters
in interface XsltFunction
getNamespaceContext
public NamespaceContext getNamespaceContext()
getContextDependencies
public int getContextDependencies()
- Return a bitfield indicating the function dependencies.
- Specified by:
getContextDependencies
in interface Expression
- Overrides:
getContextDependencies
in class BooleanFunction
toBooleanValue
public boolean toBooleanValue(XPathContext context)
- Evaluate the function.
- Specified by:
toBooleanValue
in interface Expression
- Specified by:
toBooleanValue
in class BooleanExpression
available
public abstract boolean available(XPathContext context,
String uri,
String name)
available
public abstract boolean available(ExtensionHandler handler,
String name)