Class ImplicitCollectionMapper
java.lang.Object
com.thoughtworks.xstream.mapper.MapperWrapper
com.thoughtworks.xstream.mapper.ImplicitCollectionMapper
- All Implemented Interfaces:
Mapper
-
Nested Class Summary
Nested classes/interfaces inherited from interface Mapper
Mapper.ImplicitCollectionMapping, Mapper.Null -
Constructor Summary
ConstructorsConstructorDescriptionImplicitCollectionMapper(Mapper wrapped, ReflectionProvider reflectionProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidgetFieldNameForItemTypeAndName(Class definedIn, Class itemType, String itemFieldName) Get the name of the field that acts as the default collection for an object, or return null if there is none.getImplicitCollectionDefForFieldName(Class itemType, String fieldName) getItemTypeForItemFieldName(Class definedIn, String itemFieldName) Methods inherited from class MapperWrapper
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realClass, realMember, serializedClass, serializedMember, shouldSerializeMember
-
Constructor Details
-
ImplicitCollectionMapper
-
-
Method Details
-
getFieldNameForItemTypeAndName
Description copied from interface:MapperGet the name of the field that acts as the default collection for an object, or return null if there is none.- Specified by:
getFieldNameForItemTypeAndNamein interfaceMapper- Overrides:
getFieldNameForItemTypeAndNamein classMapperWrapper- Parameters:
definedIn- owning typeitemType- item typeitemFieldName- optional item element name
-
getItemTypeForItemFieldName
- Specified by:
getItemTypeForItemFieldNamein interfaceMapper- Overrides:
getItemTypeForItemFieldNamein classMapperWrapper
-
getImplicitCollectionDefForFieldName
public Mapper.ImplicitCollectionMapping getImplicitCollectionDefForFieldName(Class itemType, String fieldName) - Specified by:
getImplicitCollectionDefForFieldNamein interfaceMapper- Overrides:
getImplicitCollectionDefForFieldNamein classMapperWrapper
-
add
-
add
-
add
-