Class NeqSimXtream.UnknownElementIgnorer
java.lang.Object
com.thoughtworks.xstream.mapper.MapperWrapper
neqsim.util.serialization.NeqSimXtream.UnknownElementIgnorer
- All Implemented Interfaces:
com.thoughtworks.xstream.mapper.Mapper
- Enclosing class:
NeqSimXtream
private static class NeqSimXtream.UnknownElementIgnorer
extends com.thoughtworks.xstream.mapper.MapperWrapper
Mapper that silently ignores unknown elements during deserialization. This allows .neqsim files
saved with newer versions (containing additional fields or classes) to be loaded by older
versions without errors.
- Version:
- 1.0
- Author:
- esol
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.thoughtworks.xstream.mapper.Mapper
com.thoughtworks.xstream.mapper.Mapper.ImplicitCollectionMapping, com.thoughtworks.xstream.mapper.Mapper.Null -
Constructor Summary
ConstructorsConstructorDescriptionUnknownElementIgnorer(com.thoughtworks.xstream.mapper.MapperWrapper wrapped) Creates an UnknownElementIgnorer. -
Method Summary
Methods inherited from class com.thoughtworks.xstream.mapper.MapperWrapper
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realMember, serializedClass, serializedMember
-
Constructor Details
-
UnknownElementIgnorer
UnknownElementIgnorer(com.thoughtworks.xstream.mapper.MapperWrapper wrapped) Creates an UnknownElementIgnorer.- Parameters:
wrapped- the wrapped mapper
-
-
Method Details
-
realClass
-
shouldSerializeMember
-