public class FieldAliasingMapper extends MapperWrapper
Mapper.ImplicitCollectionMapping, Mapper.Null
Constructor and Description |
---|
FieldAliasingMapper(Mapper wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
addFieldAlias(java.lang.String alias,
java.lang.Class type,
java.lang.String fieldName) |
void |
addFieldsToIgnore(java.util.regex.Pattern pattern)
Deprecated.
As of 1.4.9 use
ElementIgnoringMapper.addElementsToIgnore(Pattern) . |
void |
omitField(java.lang.Class definedIn,
java.lang.String fieldName)
Deprecated.
As of 1.4.9 use
ElementIgnoringMapper.omitField(Class, String) . |
java.lang.String |
realMember(java.lang.Class type,
java.lang.String serialized)
How a serialized member representation should be mapped back to a real member.
|
java.lang.String |
serializedMember(java.lang.Class type,
java.lang.String memberName)
How a class member should be represented in its serialized form.
|
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, realClass, serializedClass, shouldSerializeMember
public FieldAliasingMapper(Mapper wrapped)
public void addFieldAlias(java.lang.String alias, java.lang.Class type, java.lang.String fieldName)
public void addFieldsToIgnore(java.util.regex.Pattern pattern)
ElementIgnoringMapper.addElementsToIgnore(Pattern)
.public void omitField(java.lang.Class definedIn, java.lang.String fieldName)
ElementIgnoringMapper.omitField(Class, String)
.public java.lang.String serializedMember(java.lang.Class type, java.lang.String memberName)
Mapper
serializedMember
in interface Mapper
serializedMember
in class MapperWrapper
public java.lang.String realMember(java.lang.Class type, java.lang.String serialized)
Mapper
realMember
in interface Mapper
realMember
in class MapperWrapper
Copyright © 2004–2024 XStream. All rights reserved.