|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.binding.AbstractBinding org.apache.tapestry.binding.StaticBinding
public class StaticBinding
Stores a static (invariant) String as the value.
It may be useful to cache static bindings the way FieldBinding
s are cached.
Constructor Summary | |
---|---|
StaticBinding(String value,
ILocation location)
|
Method Summary | |
---|---|
double |
getDouble()
Interprets the static value as a double. |
int |
getInt()
Interprets the static value as an integer. |
Object |
getObject()
Returns the value of this binding. |
String |
getString()
Gets the value for the binding. |
String |
toString()
|
Methods inherited from class org.apache.tapestry.binding.AbstractBinding |
---|
createReadOnlyBindingException, getBoolean, getLocation, getObject, isInvariant, isWrapper, setBoolean, setDouble, setInt, setObject, setString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StaticBinding(String value, ILocation location)
Method Detail |
---|
public int getInt()
getInt
in interface IBinding
getInt
in class AbstractBinding
public double getDouble()
getDouble
in interface IBinding
getDouble
in class AbstractBinding
public String getString()
AbstractBinding
toString()
) version of
the value.
getString
in interface IBinding
getString
in class AbstractBinding
public Object getObject()
IBinding
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |