|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.html5.renderkit.util.RendererUtils
public class RendererUtils
| Constructor Summary | |
|---|---|
RendererUtils()
|
|
| Method Summary | |
|---|---|
static void |
checkParamValidity(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Class compClass)
|
static javax.faces.convert.Converter |
findUIOutputConverter(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIOutput component)
Find the proper Converter for the given UIOutput component. |
static javax.faces.convert.Converter |
findUIOutputConverterFailSafe(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
Finds the converter of the component in a safe way. |
static String |
getConvertedStringValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.convert.Converter converter,
Object value)
Convenient utility method that returns the currently given value as String, using the given converter. |
static Object |
getConvertedUIOutputValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIOutput output,
Object submittedValue)
|
static String |
getStringValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
static boolean |
isDefaultAttributeValue(Object value)
See JSF Spec. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RendererUtils()
| Method Detail |
|---|
public static void checkParamValidity(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Class compClass)
public static String getConvertedStringValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.convert.Converter converter,
Object value)
public static javax.faces.convert.Converter findUIOutputConverter(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIOutput component)
throws javax.faces.FacesException
javax.faces.FacesException - if the Converter could not be created
public static javax.faces.convert.Converter findUIOutputConverterFailSafe(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
public static boolean isDefaultAttributeValue(Object value)
value -
public static String getStringValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
public static Object getConvertedUIOutputValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIOutput output,
Object submittedValue)
throws javax.faces.convert.ConverterException
javax.faces.convert.ConverterException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||