org.rhq.core.gui.converter
Class PropertySimpleValueConverter

java.lang.Object
  extended by org.rhq.core.gui.converter.PropertySimpleValueConverter
All Implemented Interfaces:
Serializable, javax.faces.convert.Converter

public class PropertySimpleValueConverter
extends Object
implements javax.faces.convert.Converter, Serializable

Author:
Ian Springer
See Also:
Serialized Form

Field Summary
static String NULL_INPUT_VALUE
          A special value for an input that tells the server-side that the corresponding value should be set to null.
 
Constructor Summary
PropertySimpleValueConverter(TemplateEngine engine)
           
 
Method Summary
 Object getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String string)
           
 String getAsString(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Object object)
           
 void setEngine(TemplateEngine engine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_INPUT_VALUE

public static final String NULL_INPUT_VALUE
A special value for an input that tells the server-side that the corresponding value should be set to null.

See Also:
Constant Field Values
Constructor Detail

PropertySimpleValueConverter

public PropertySimpleValueConverter(TemplateEngine engine)
Method Detail

setEngine

public void setEngine(TemplateEngine engine)

getAsObject

public Object getAsObject(javax.faces.context.FacesContext context,
                          javax.faces.component.UIComponent component,
                          String string)
Specified by:
getAsObject in interface javax.faces.convert.Converter

getAsString

public String getAsString(javax.faces.context.FacesContext facesContext,
                          javax.faces.component.UIComponent component,
                          Object object)
Specified by:
getAsString in interface javax.faces.convert.Converter


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.