com.thoughtworks.xstream.mapper
Interface Mapper
- All Known Subinterfaces:
- ClassMapper
- All Known Implementing Classes:
- DefaultMapper, MapperWrapper
- public interface Mapper
isImmutableValueType
public boolean isImmutableValueType(java.lang.Class type)
- Whether this type is a simple immutable value (int, boolean, String, URL, etc.
Immutable types will be repeatedly written in the serialized stream, instead of using object references.
defaultImplementationOf
public java.lang.Class defaultImplementationOf(java.lang.Class type)
attributeForImplementationClass
public java.lang.String attributeForImplementationClass()
attributeForClassDefiningField
public java.lang.String attributeForClassDefiningField()
Joe Walnes, http://xstream.codehaus.org/