org.apache.myfaces.html5.renderkit.input.util
Class Html5EmailConverter

java.lang.Object
  extended by org.apache.myfaces.html5.renderkit.input.util.Html5EmailConverter
All Implemented Interfaces:
javax.faces.convert.Converter

public class Html5EmailConverter
extends Object
implements javax.faces.convert.Converter

Converter for use in hx:inputEmail.

Author:
Ali Ok

Constructor Summary
Html5EmailConverter()
           
 
Method Summary
 Object getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value)
           
 String getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Html5EmailConverter

public Html5EmailConverter()
Method Detail

getAsObject

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

getAsString

public String getAsString(javax.faces.context.FacesContext context,
                          javax.faces.component.UIComponent component,
                          Object value)
                   throws javax.faces.convert.ConverterException
Specified by:
getAsString in interface javax.faces.convert.Converter
Throws:
javax.faces.convert.ConverterException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.