org.apache.myfaces.taglib.core
Class DelegateConverter
java.lang.Object
org.apache.myfaces.taglib.core.DelegateConverter
- All Implemented Interfaces:
- StateHolder, Converter
public class DelegateConverter
- extends Object
- implements Converter, StateHolder
This class is used in conjunction with ConverterImplTag.
When a tag like this is in a jsp page:
or
The value of mybean could be already on the context, so this
converter avoid creating a new variable and use the previous one.
- Version:
- $Revision: 1189343 $ $Date: 2011-10-26 17:53:36 +0000 (Wed, 26 Oct 2011) $
- Author:
- Leonardo Uribe (latest modification by $Author: struberg $)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegateConverter
public DelegateConverter()
DelegateConverter
public DelegateConverter(javax.el.ValueExpression id,
javax.el.ValueExpression binding,
String converterIdString)
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface StateHolder
restoreState
public void restoreState(FacesContext facesContext,
Object state)
- Specified by:
restoreState
in interface StateHolder
saveState
public Object saveState(FacesContext facesContext)
- Specified by:
saveState
in interface StateHolder
setTransient
public void setTransient(boolean arg0)
- Specified by:
setTransient
in interface StateHolder
getAsObject
public Object getAsObject(FacesContext facesContext,
UIComponent component,
String value)
- Specified by:
getAsObject
in interface Converter
getAsString
public String getAsString(FacesContext facesContext,
UIComponent component,
Object value)
- Specified by:
getAsString
in interface Converter
Copyright © 2014 The Apache Software Foundation. All rights reserved.