org.globus.cog.karajan.util.serialization
Class RestrictedClassMapper
java.lang.Object
com.thoughtworks.xstream.mapper.MapperWrapper
org.globus.cog.karajan.util.serialization.RestrictedClassMapper
- All Implemented Interfaces:
- ClassMapper, com.thoughtworks.xstream.mapper.Mapper
public class RestrictedClassMapper
- extends MapperWrapper
Nested classes/interfaces inherited from interface com.thoughtworks.xstream.mapper.Mapper |
com.thoughtworks.xstream.mapper.Mapper.ImplicitCollectionMapping |
Methods inherited from class com.thoughtworks.xstream.mapper.MapperWrapper |
alias, attributeForClassDefiningField, attributeForImplementationClass, attributeForReadResolveField, getFieldNameForItemTypeAndName, isImmutableValueType, lookupName, mapNameFromXML, mapNameToXML, realMember, serializedClass, serializedMember, setOverrideRootType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTIES
public static final String PROPERTIES
- See Also:
- Constant Field Values
RestrictedClassMapper
public RestrictedClassMapper(ClassMapper wrapped)
checkClass
protected Class checkClass(Class cls)
lookupType
public Class lookupType(String elementName)
- Specified by:
lookupType
in interface ClassMapper
- Overrides:
lookupType
in class MapperWrapper
lookupDefaultType
public Class lookupDefaultType(Class baseType)
- Specified by:
lookupDefaultType
in interface ClassMapper
- Overrides:
lookupDefaultType
in class MapperWrapper
getOverrideRootType
public Class getOverrideRootType()
- Specified by:
getOverrideRootType
in interface ClassMapper
- Overrides:
getOverrideRootType
in class MapperWrapper
realClass
public Class realClass(String elementName)
- Specified by:
realClass
in interface com.thoughtworks.xstream.mapper.Mapper
- Overrides:
realClass
in class MapperWrapper
defaultImplementationOf
public Class defaultImplementationOf(Class type)
- Specified by:
defaultImplementationOf
in interface com.thoughtworks.xstream.mapper.Mapper
- Overrides:
defaultImplementationOf
in class MapperWrapper
getImplicitCollectionDefForFieldName
public com.thoughtworks.xstream.mapper.Mapper.ImplicitCollectionMapping getImplicitCollectionDefForFieldName(Class itemType,
String fieldName)
- Specified by:
getImplicitCollectionDefForFieldName
in interface com.thoughtworks.xstream.mapper.Mapper
- Overrides:
getImplicitCollectionDefForFieldName
in class MapperWrapper
getItemTypeForItemFieldName
public Class getItemTypeForItemFieldName(Class definedIn,
String itemFieldName)
- Specified by:
getItemTypeForItemFieldName
in interface com.thoughtworks.xstream.mapper.Mapper
- Overrides:
getItemTypeForItemFieldName
in class MapperWrapper