br.net.woodstock.rockframework.web.faces.converter
Class SimpleFacesConverter<T>

java.lang.Object
  extended by br.net.woodstock.rockframework.web.faces.converter.FacesConverter
      extended by br.net.woodstock.rockframework.web.faces.converter.SimpleFacesConverter<T>
All Implemented Interfaces:
javax.faces.convert.Converter
Direct Known Subclasses:
NumberConverter

public abstract class SimpleFacesConverter<T>
extends FacesConverter


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

Constructor Detail

SimpleFacesConverter

public SimpleFacesConverter()
Method Detail

getAsObject

public final T getAsObject(javax.faces.context.FacesContext context,
                           javax.faces.component.UIComponent component,
                           String value)

getAsString

public final String getAsString(javax.faces.context.FacesContext context,
                                javax.faces.component.UIComponent component,
                                Object value)

getAsObject

protected abstract T getAsObject(String value)

getAsString

protected abstract String getAsString(T value)


Copyright © 2012 Woodstock Tecnologia. All Rights Reserved.