|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.icl.saxon.expr.Expression
|
+--com.icl.saxon.expr.Function
|
+--com.icl.saxon.functions.StringLength
| Fields inherited from class com.icl.saxon.expr.Function |
arguments |
| Fields inherited from class com.icl.saxon.expr.Expression |
emptyVector, staticContext |
| Constructor Summary | |
StringLength()
|
|
| Method Summary | |
Value |
eval(java.util.Vector args,
Context context)
Evaluate the function, having evaluated its arguments. |
int |
getDataType()
Determine the data type of the exprssion, if possible |
int |
getIntrinsicDependencies()
Determine which aspects of the context the expression depends on. |
java.lang.String |
getName()
Get the name of the function. |
Expression |
simplify()
Simplify If there is an argument and it is a Value, this is a pure function so it can be simplified |
| Methods inherited from class com.icl.saxon.expr.Function |
addArgument, checkArgumentCount, evaluate, getDependencies, newInstance, reduce, reduceIntrinsic, simplifyPureFunction, toString |
| Methods inherited from class com.icl.saxon.expr.Expression |
containsReferences, enumerate, evaluateAsBoolean, evaluateAsNodeSet, evaluateAsNumber, evaluateAsString, getStaticContext, isNumeric, isRelative, make, make, setStaticContext, usesCurrent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StringLength()
| Method Detail |
public java.lang.String getName()
FunctiongetName in class Functioncom.icl.saxon.expr.Functionpublic int getDataType()
getDataType in class Expressionpublic int getIntrinsicDependencies()
getIntrinsicDependencies in class Function
public Value eval(java.util.Vector args,
Context context)
throws org.xml.sax.SAXException
Functioneval in class Functioncom.icl.saxon.expr.Functionarguments - A Vector, each of whose elements is a Value containing the value of a
supplied argument to the function.context - The context in which the function is to be evaluatedorg.xml.sax.SAXException - if the function cannot be evaluated.
public Expression simplify()
throws org.xml.sax.SAXException
simplify in class Functioncom.icl.saxon.expr.Function
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||