org.codehaus.groovy.grails.web.converters
Class AbstractConverter
java.lang.Object
org.codehaus.groovy.grails.web.converters.AbstractConverter
- All Implemented Interfaces:
- Converter
- Direct Known Subclasses:
- JSON, XML
public abstract class AbstractConverter
- extends Object
- implements Converter
Abstract base implementation of the Converter interface that provides a default toString()
implementation
- Author:
- Siegfried Puchbauer
AbstractConverter
public AbstractConverter()
setTarget
public abstract void setTarget(Object target)
toString
public String toString()
- Renders the result to a String and returns it
- Overrides:
toString
in class Object
- Returns:
- The converted object as a string
isJdk5Enum
protected boolean isJdk5Enum(Class type)
createBeanWrapper
protected BeanWrapper createBeanWrapper(Object o)
Copyright (c) 2005-2006 The Grails project