All Packages Class Hierarchy This Package Previous Next Index
Class com.kvisco.xsl.TreeFragmentResult
com.kvisco.xsl.TreeFragmentResult
- public class TreeFragmentResult
- implements ExprResult
Represents a TreeFragment result
- Author:
- Keith Visco
-
TreeFragmentResult()
- Creates a new TreeFragmentResult with the default value
-
TreeFragmentResult(Node)
- Creates a new TreeFragmentResult with the given value
-
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 this ExprResult
-
getValue()
- Returns the value of this TreeFragmentResult
-
numberValue()
- Returns the value of this ExprResult as a double
-
setValue(Node)
- Sets the value of this TreeFragmentResult
-
toJavaObject()
- Returns the Java Object this ExprResult represents
-
toString()
- Returns the value of this ExprResult as a String
TreeFragmentResult
public TreeFragmentResult()
- Creates a new TreeFragmentResult with the default value
TreeFragmentResult
public TreeFragmentResult(Node value)
- Creates a new TreeFragmentResult with the given value
- Parameters:
- value - the Node value of this ExprResult
booleanValue
public boolean booleanValue()
- Returns the value of this ExprResult as a boolean
- Returns:
- the value of this ExprResult as a boolean
equals
public 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.
getValue
public Node getValue()
- Returns the value of this TreeFragmentResult
- Returns:
- the value of this TreeFragmentResult
getResultType
public short getResultType()
- Returns the type of this ExprResult
- Returns:
- the type of this ExprResult
- See Also:
- ExprResult
numberValue
public double numberValue()
- Returns the value of this ExprResult as a double
- Returns:
- the value of this ExprResult as a double
setValue
public void setValue(Node value)
- Sets the value of this TreeFragmentResult
- Parameters:
- value - the Node value to use as the result value
toJavaObject
public Object toJavaObject()
- Returns the Java Object this ExprResult represents
- Returns:
- the Java Object this ExprResult represents
toString
public 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