All Packages Class Hierarchy This Package Previous Next Index
Interface com.kvisco.xsl.ExprResult
- public interface ExprResult
An interface the represents the result of evaluating an Expr
-
BOOLEAN
-
-
NODE_SET
-
-
NUMBER
-
-
STRING
-
-
TREE_FRAGMENT
-
-
booleanValue()
- Returns the value of this ExprResult as a boolean
-
equals(ExprResult)
- Returns true if the given ExprResult is of the same type
of this ExprResult, and their values are equal.
-
getResultType()
- Returns the type of result this ExprResult represents
-
numberValue()
- Returns the value of this ExprResult as a double
-
toJavaObject()
- Returns the Java Object this ExprResult represents
-
toString()
- Returns the value of this ExprResult as a String
BOOLEAN
public static final short BOOLEAN
NUMBER
public static final short NUMBER
NODE_SET
public static final short NODE_SET
STRING
public static final short STRING
TREE_FRAGMENT
public static final short TREE_FRAGMENT
booleanValue
public abstract boolean booleanValue()
- Returns the value of this ExprResult as a boolean
- Returns:
- the value of this ExprResult as a boolean
getResultType
public abstract short getResultType()
- Returns the type of result this ExprResult represents
- Returns:
- the type of result this ExprResult represents
equals
public abstract boolean equals(ExprResult exprResult)
- Returns true if the given ExprResult is of the same type
of this ExprResult, and their values are equal.
- Returns:
- true if the given ExprResult is of the same type
of this ExprResult, and their values are equal. otherwise
false.
numberValue
public abstract double numberValue()
- Returns the value of this ExprResult as a double
- Returns:
- the value of this ExprResult as a double
toJavaObject
public abstract Object toJavaObject()
- Returns the Java Object this ExprResult represents
- Returns:
- the Java Object this ExprResult represents
toString
public abstract String toString()
- Returns the value of this ExprResult as a String
- Returns:
- the value of this ExprResult as a String
All Packages Class Hierarchy This Package Previous Next Index