public class ElementIgnoringMapper extends MapperWrapper
Mapper.ImplicitCollectionMapping, Mapper.Null
Constructor and Description |
---|
ElementIgnoringMapper(Mapper wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
addElementsToIgnore(java.util.regex.Pattern pattern) |
boolean |
isIgnoredElement(java.lang.String name)
Whether this name can be ignored.
|
void |
omitField(java.lang.Class definedIn,
java.lang.String fieldName) |
boolean |
shouldSerializeMember(java.lang.Class definedIn,
java.lang.String fieldName)
Determine whether a specific member should be serialized.
|
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isImmutableValueType, isReferenceable, lookupMapperOfType, realClass, realMember, serializedClass, serializedMember
public ElementIgnoringMapper(Mapper wrapped)
public void addElementsToIgnore(java.util.regex.Pattern pattern)
public void omitField(java.lang.Class definedIn, java.lang.String fieldName)
public boolean shouldSerializeMember(java.lang.Class definedIn, java.lang.String fieldName)
Mapper
shouldSerializeMember
in interface Mapper
shouldSerializeMember
in class MapperWrapper
public boolean isIgnoredElement(java.lang.String name)
Mapper
isIgnoredElement
in interface Mapper
isIgnoredElement
in class MapperWrapper
Copyright © 2004–2024 XStream. All rights reserved.