|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.data.bind.ToStringBoundValue
public class ToStringBoundValue
BoundValue that wraps another BoundValue and returns the result of that BoundValue as a String, if possible.
Constructor Summary | |
---|---|
ToStringBoundValue(BoundValue wrapped)
Creates a ToStringBoundValue. |
Method Summary | |
---|---|
static java.lang.String |
convertToString(java.lang.Object data)
Converts an Object into a String for non-null values. |
java.lang.Object |
getValue(UIXRenderingContext context)
Called to retrieve a value based on the current rendering context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToStringBoundValue(BoundValue wrapped)
wrapped
- the BoundValue to convert into a String.Method Detail |
---|
public static java.lang.String convertToString(java.lang.Object data)
public java.lang.Object getValue(UIXRenderingContext context)
BoundValue
getValue
in interface BoundValue
context
- the rendering context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |