All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.StringResult

com.kvisco.xsl.StringResult

public class StringResult
implements ExprResult
Represents a String result

Author:
Keith Visco

Constructor Index

 o StringResult()
Creates a new StringResult with the default value
 o StringResult(String)
Creates a new String Result with the given value

Method Index

 o booleanValue()
Returns the value of this ExprResult as a boolean
 o equals(ExprResult)
 o getResultType()
Returns the type of this ExprResult
 o getValue()
Returns the value of this StringResult
 o numberValue()
Returns the value of this ExprResult as a double
 o setValue(String)
Sets the value of this StringResult
 o toJavaObject()
Returns the Java Object this ExprResult represents
 o toString()
Returns the value of this ExprResult as a String

Constructors

 o StringResult
 public StringResult()
Creates a new StringResult with the default value

 o StringResult
 public StringResult(String value)
Creates a new String Result with the given value

Methods

 o booleanValue
 public boolean booleanValue()
Returns the value of this ExprResult as a boolean

Returns:
the value of this ExprResult as a boolean
 o equals
 public boolean equals(ExprResult exprResult)
 o getValue
 public String getValue()
Returns the value of this StringResult

Returns:
the value of this StringResult
 o getResultType
 public short getResultType()
Returns the type of this ExprResult

Returns:
the type of this ExprResult
See Also:
ExprResult
 o numberValue
 public double numberValue()
Returns the value of this ExprResult as a double

Returns:
the value of this ExprResult as a double
 o setValue
 public void setValue(String value)
Sets the value of this StringResult

Parameters:
value - the String value to use as the result value
 o toJavaObject
 public Object toJavaObject()
Returns the Java Object this ExprResult represents

Returns:
the Java Object this ExprResult represents
 o 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