|
||||||||||
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.ConvertBoundValue
public class ConvertBoundValue
A BoundValue implementation that wraps another and converts its results to the specified java type.
Constructor Summary | |
---|---|
ConvertBoundValue(BoundValue wrapped,
java.lang.Class<?> javaType)
Creates a ConvertBoundValue. |
|
ConvertBoundValue(BoundValue wrapped,
java.lang.String javaType)
Creates a ConvertBoundValue. |
Method Summary | |
---|---|
static java.lang.String |
getClassName(java.lang.String javaType)
Gets the class name for a particular javaType. javaType is usually a Class name. |
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 ConvertBoundValue(BoundValue wrapped, java.lang.String javaType)
wrapped
- the BoundValue to wrapjavaType
- the Java type to convert topublic ConvertBoundValue(BoundValue wrapped, java.lang.Class<?> javaType)
wrapped
- the BoundValue to wrapjavaType
- the Java type to convert toMethod Detail |
---|
public java.lang.Object getValue(UIXRenderingContext context)
BoundValue
getValue
in interface BoundValue
context
- the rendering contextpublic static java.lang.String getClassName(java.lang.String javaType)
javaType
- a Class name, or a simple string like 'string', 'int'
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |