|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlocal.tomas.faces.converter.ExpressionConverter
public class ExpressionConverter
A JSF Converter for expressions.
| Field Summary | |
|---|---|
static String |
MULTILINE
Multiline option. |
| Constructor Summary | |
|---|---|
ExpressionConverter()
|
|
| Method Summary | |
|---|---|
Object |
getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String value)
Compile string to expression. |
String |
getAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value)
Decompile expression to string. |
protected Locale |
getLocale()
Get locale. |
protected int |
getOptions(javax.faces.component.UIComponent component)
Get options of component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MULTILINE
| Constructor Detail |
|---|
public ExpressionConverter()
| Method Detail |
|---|
protected Locale getLocale()
protected int getOptions(javax.faces.component.UIComponent component)
component - the component
public Object getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String value)
getAsObject in interface javax.faces.convert.Convertercontext - faces contextcomponent - the componentvalue - the value entered in component
public String getAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value)
getAsString in interface javax.faces.convert.Convertercontext - faces contextcomponent - the componentvalue - the expression
|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||