|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.converter.ConverterMethodBinding
public class ConverterMethodBinding
The xp:customConverter
tag converts data to a custom format using MethodBinding
.
Constructor Summary | |
---|---|
ConverterMethodBinding()
|
Method Summary | |
---|---|
java.lang.Object |
getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String value)
Return value as an Object. |
java.lang.String |
getAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
Return value as a String. |
javax.faces.el.MethodBinding |
getGetAsObject()
Return getAsObject specified by setGetAsObject(MethodBinding) . |
javax.faces.el.MethodBinding |
getGetAsString()
Return getAsString specified by setGetAsString(MethodBinding) . |
boolean |
isTransient()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setGetAsObject(javax.faces.el.MethodBinding getAsObject)
Specify the MethodBinding for conversion from String to Data type. |
void |
setGetAsString(javax.faces.el.MethodBinding getAsString)
Specify the MethodBinding for conversion from Data type to String. |
void |
setTransient(boolean isTransient)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConverterMethodBinding()
Method Detail |
---|
public java.lang.Object getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.String value)
getAsObject
in interface javax.faces.convert.Converter
public java.lang.String getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
getAsString
in interface javax.faces.convert.Converter
public javax.faces.el.MethodBinding getGetAsObject()
setGetAsObject(MethodBinding)
.
public void setGetAsObject(javax.faces.el.MethodBinding getAsObject)
public javax.faces.el.MethodBinding getGetAsString()
setGetAsString(MethodBinding)
.
public void setGetAsString(javax.faces.el.MethodBinding getAsString)
public boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public void setTransient(boolean isTransient)
setTransient
in interface javax.faces.component.StateHolder
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |