|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.thoughtworks.xstream.mapper.MapperWrapper
com.thoughtworks.xstream.mapper.ImmutableTypesMapper
Mapper that specifies which types are basic immutable types. Types that are marked as immutable will be written multiple times in the serialization stream without using references.
| Nested Class Summary |
| Nested classes inherited from class com.thoughtworks.xstream.mapper.Mapper |
Mapper.ImplicitCollectionMapping, Mapper.Null |
| Constructor Summary | |
ImmutableTypesMapper(ClassMapper wrapped)
Deprecated. As of 1.2, use ImmutableTypesMapper(Mapper) |
|
ImmutableTypesMapper(Mapper wrapped)
|
|
| Method Summary | |
void |
addImmutableType(java.lang.Class type)
|
boolean |
isImmutableValueType(java.lang.Class type)
Whether this type is a simple immutable value (int, boolean, String, URL, etc. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImmutableTypesMapper(Mapper wrapped)
public ImmutableTypesMapper(ClassMapper wrapped)
ImmutableTypesMapper(Mapper)
| Method Detail |
public void addImmutableType(java.lang.Class type)
public boolean isImmutableValueType(java.lang.Class type)
Mapper
isImmutableValueType in interface MapperisImmutableValueType in class MapperWrapper
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||