org.chorem.pollen.ui.actions
Class BooleanIntegerConverter

java.lang.Object
  extended by com.opensymphony.xwork2.conversion.impl.DefaultTypeConverter
      extended by org.apache.struts2.util.StrutsTypeConverter
          extended by org.chorem.pollen.ui.actions.BooleanIntegerConverter
All Implemented Interfaces:
com.opensymphony.xwork2.conversion.TypeConverter

public class BooleanIntegerConverter
extends org.apache.struts2.util.StrutsTypeConverter

Created: 26/03/12

Author:
fdesbois

Field Summary
 
Fields inherited from interface com.opensymphony.xwork2.conversion.TypeConverter
NO_CONVERSION_POSSIBLE, TYPE_CONVERTER_CONTEXT_KEY
 
Constructor Summary
BooleanIntegerConverter()
           
 
Method Summary
 Integer convertFromString(Map context, String[] values, Class toClass)
           
 String convertToString(Map context, Object object)
           
protected  Integer parseValue(String value)
           
 
Methods inherited from class org.apache.struts2.util.StrutsTypeConverter
convertValue, performFallbackConversion
 
Methods inherited from class com.opensymphony.xwork2.conversion.impl.DefaultTypeConverter
bigDecValue, bigIntValue, booleanValue, convertValue, convertValue, doubleValue, enumValue, getTypeConverter, longValue, stringValue, stringValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanIntegerConverter

public BooleanIntegerConverter()
Method Detail

convertFromString

public Integer convertFromString(Map context,
                                 String[] values,
                                 Class toClass)
Specified by:
convertFromString in class org.apache.struts2.util.StrutsTypeConverter

parseValue

protected Integer parseValue(String value)

convertToString

public String convertToString(Map context,
                              Object object)
Specified by:
convertToString in class org.apache.struts2.util.StrutsTypeConverter


Copyright © 2009-2012 CodeLutin. All Rights Reserved.