com.dyuproject.ioc
Class DefaultConvertorCache
java.lang.Object
com.dyuproject.json.StandardConvertorCache
com.dyuproject.ioc.DefaultConvertorCache
- All Implemented Interfaces:
- ConvertorCache, org.mortbay.util.ajax.JSON.Convertor
public class DefaultConvertorCache
- extends StandardConvertorCache
The default convertor cache which creates a DefaultPojoConvertor
for a given pojo.
- Author:
- David Yu
- Date created:
- Feb 21, 2009
Method Summary |
org.mortbay.util.ajax.JSON.Convertor |
newConvertor(Class<?> clazz,
boolean addClass)
Creats a convertor based from the given clazz ; If addClass is true,
the convertor will be configured to include the classname upon serialization. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConvertorCache
public DefaultConvertorCache()
newConvertor
public org.mortbay.util.ajax.JSON.Convertor newConvertor(Class<?> clazz,
boolean addClass)
- Description copied from interface:
ConvertorCache
- Creats a convertor based from the given
clazz
; If addClass
is true,
the convertor will be configured to include the classname upon serialization.
- Specified by:
newConvertor
in interface ConvertorCache
- Overrides:
newConvertor
in class StandardConvertorCache
Copyright © 2008-2013. All Rights Reserved.