|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.source.xbmc.expression.Value
org.stanwood.media.source.xbmc.expression.StringValue
public class StringValue
Used to store the value of a string value used by the expression evaluator
Constructor Summary | |
---|---|
StringValue(ValueType type,
java.lang.String value)
Used to create a instance of the class |
Method Summary | |
---|---|
Value |
equals(Value value)
Used to perform a == operation between this value and the value in the
parameter |
Value |
notequals(Value value)
Used to perform a != operation between this value and the value in the
parameter |
java.lang.String |
stringValue()
Get the value as a boolean |
java.lang.String |
toString()
|
Methods inherited from class org.stanwood.media.source.xbmc.expression.Value |
---|
addition, and, divide, getType, getValue, greater, greaterEquals, less, lessEquals, multiply, not, or, setType, setValue, subtract |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringValue(ValueType type, java.lang.String value)
type
- The type of the valuevalue
- The raw valueMethod Detail |
---|
public java.lang.String stringValue()
public java.lang.String toString()
toString
in class java.lang.Object
public Value notequals(Value value)
!=
operation between this value and the value in the
parameter
notequals
in class Value
value
- The value to perform the operation with
public Value equals(Value value)
==
operation between this value and the value in the
parameter
equals
in class Value
value
- The value to perform the operation with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |