org.kuali.rice.kns.web.format
Class BooleanFormatter

java.lang.Object
  extended by org.kuali.rice.kns.web.format.Formatter
      extended by org.kuali.rice.kns.web.format.BooleanFormatter
All Implemented Interfaces:
Serializable

public class BooleanFormatter
extends Formatter

begin Kuali Foundation modification This class is used to format boolean values. end Kuali Foundation modification

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.web.format.Formatter
propertyType, settings
 
Constructor Summary
BooleanFormatter()
           
 
Method Summary
protected  Object convertToObject(String target)
          May be orverridden by subclasses to customize its behavior.
 Object format(Object target)
           
 
Methods inherited from class org.kuali.rice.kns.web.format.Formatter
convertFromPresentationFormat, convertToArray, convertToCollection, findFormatter, formatArray, formatBean, formatCollection, formatForPresentation, formatNull, formatObject, formatterForType, getFormatter, getFormatter, getImplementationClass, getNullObjectValue, getPropertyType, getSettings, isBlank, isEmptyValue, isNullValue, isSupportedType, registerFormatter, setPropertyType, setSettings, trimString, unwrapString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanFormatter

public BooleanFormatter()
Method Detail

convertToObject

protected Object convertToObject(String target)
Description copied from class: Formatter
May be orverridden by subclasses to customize its behavior. The default implementation simply trims and returns the provided string.

Overrides:
convertToObject in class Formatter

format

public Object format(Object target)
Overrides:
format in class Formatter


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.