org.openregistry.core.web
Class AbstractConverter
java.lang.Object
org.springframework.binding.convert.converters.StringToObject
org.openregistry.core.web.AbstractConverter
- All Implemented Interfaces:
- org.springframework.binding.convert.converters.Converter, org.springframework.binding.convert.converters.TwoWayConverter
- Direct Known Subclasses:
- CampusConverter, CountryConverter, IdentifierTypeConverter, RegionConverter, TypeConverter
public abstract class AbstractConverter
- extends org.springframework.binding.convert.converters.StringToObject
- Since:
- 0.1
- Version:
- $Revision$ $Date$
|
Field Summary |
protected org.slf4j.Logger |
logger
|
| Methods inherited from class org.springframework.binding.convert.converters.StringToObject |
convertSourceToTargetClass, convertTargetToSourceClass, getSourceClass, getTargetClass, toObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.slf4j.Logger logger
AbstractConverter
protected AbstractConverter(java.lang.Class converterClass,
ReferenceRepository referenceRepository)
getReferenceRepository
protected final ReferenceRepository getReferenceRepository()
toString
protected final java.lang.String toString(java.lang.Object o)
throws java.lang.Exception
- Specified by:
toString in class org.springframework.binding.convert.converters.StringToObject
- Throws:
java.lang.Exception
getToStringInternal
protected abstract java.lang.String getToStringInternal(java.lang.Object o)
- Returns the object as a String.
- Parameters:
o - the object. CANNOT be NULL.
- Returns:
- the string.
Copyright © 2009-2012 JA-SIG, Inc.. All Rights Reserved.