|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjd.xml.xpath.expr.ExpressionImpl
jd.xml.xpath.expr.NumericExpression
jd.xml.xpath.expr.function.NumericFunction
jd.xml.xpath.expr.function.Last
Last represents the xpath core function "number last()".
| Field Summary | |
static FunctionType |
TYPE
The function type. |
| Fields inherited from class jd.xml.xpath.expr.function.NumericFunction |
arguments_ |
| Fields inherited from interface jd.xml.xpath.expr.function.Function |
NULL_ARGUMENTS |
| Fields inherited from interface jd.xml.xpath.expr.Expression |
DEP_CONTEXT_NODE, DEP_CONTEXT_POSITION, DEP_CONTEXT_SIZE, DEP_CONTEXT_STATIC, DEP_NONE, DEP_UNKNOWN |
| Constructor Summary | |
Last()
|
|
| Method Summary | |
int |
getContextDependencies()
Return DEP_CONTEXT_SIZE. |
FunctionType |
getFunctionType()
Return the FunctionType of the Function- |
double |
toNumberValue(XPathContext context)
Evaluate the Expression to a number. |
| Methods inherited from class jd.xml.xpath.expr.function.NumericFunction |
accept, getArgument, setArguments |
| Methods inherited from class jd.xml.xpath.expr.NumericExpression |
getResultType, toBooleanValue, toStringValue, toXObject |
| Methods inherited from class jd.xml.xpath.expr.ExpressionImpl |
hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toNodeSet, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jd.xml.xpath.expr.Expression |
getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toBooleanValue, toNode, toNodeSet, toString, toStringValue, toXObject |
| Field Detail |
public static final FunctionType TYPE
| Constructor Detail |
public Last()
| Method Detail |
public FunctionType getFunctionType()
Function
public double toNumberValue(XPathContext context)
Expression
toNumberValue in interface ExpressiontoNumberValue in class NumericExpressionpublic int getContextDependencies()
getContextDependencies in interface ExpressiongetContextDependencies in class NumericFunction
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||