Class XStream11XmlFriendlyMapper
java.lang.Object
com.thoughtworks.xstream.mapper.MapperWrapper
com.thoughtworks.xstream.mapper.AbstractXmlFriendlyMapper
com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper
- All Implemented Interfaces:
Mapper
Deprecated.
Mapper that ensures that all names in the serialization stream are read in an XML friendly way.
- _ (underscore) chars appearing in class names are replaced with $ (dollar)
- _DOLLAR_ string appearing in field names are replaced with $ (dollar)
- __ string appearing in field names are replaced with _ (underscore)
- default is the prefix for class names with no package.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Mapper
Mapper.ImplicitCollectionMapping, Mapper.Null -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmapNameFromXML(String xmlName) Deprecated.Deprecated.How a serialized class representation should be mapped back to a real class.realMember(Class type, String serialized) Deprecated.How a serialized member representation should be mapped back to a real member.Methods inherited from class AbstractXmlFriendlyMapper
escapeClassName, escapeFieldName, unescapeClassName, unescapeFieldNameMethods inherited from class MapperWrapper
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isIgnoredElement, isImmutableValueType, isReferenceable, lookupMapperOfType, serializedClass, serializedMember, shouldSerializeMember
-
Constructor Details
-
XStream11XmlFriendlyMapper
Deprecated.
-
-
Method Details
-
realClass
-
realMember
Deprecated.Description copied from interface:MapperHow a serialized member representation should be mapped back to a real member.- Specified by:
realMemberin interfaceMapper- Overrides:
realMemberin classMapperWrapper
-
mapNameFromXML
-
XmlFriendlyReader