| java.lang.Object com.thoughtworks.xstream.mapper.MapperWrapper com.thoughtworks.xstream.mapper.AbstractXmlFriendlyMapper
All known Subclasses: com.thoughtworks.xstream.mapper.XmlFriendlyMapper, com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper,
AbstractXmlFriendlyMapper | public class AbstractXmlFriendlyMapper extends MapperWrapper (Code) | | Mapper that ensures that all names in the serialization stream are XML friendly.
The replacement chars and strings are:
- $ (dollar) chars appearing in class names are replaced with _ (underscore) chars.
- $ (dollar) chars appearing in field names are replaced with _DOLLAR_ string.
- _ (underscore) chars appearing in field names are replaced with __ (double underscore) string.
- default as the prefix for class names with no package.
author: Joe Walnes author: Mauro Talevi |
AbstractXmlFriendlyMapper | protected AbstractXmlFriendlyMapper(Mapper wrapped)(Code) | | |
Methods inherited from com.thoughtworks.xstream.mapper.MapperWrapper | public String aliasForAttribute(String attribute)(Code)(Java Doc) public String aliasForAttribute(Class definedIn, String fieldName)(Code)(Java Doc) public String attributeForAlias(String alias)(Code)(Java Doc) public String attributeForAlias(Class definedIn, String alias)(Code)(Java Doc) public String attributeForClassDefiningField()(Code)(Java Doc) public String attributeForEnumType()(Code)(Java Doc) public String attributeForImplementationClass()(Code)(Java Doc) public String attributeForReadResolveField()(Code)(Java Doc) public Class defaultImplementationOf(Class type)(Code)(Java Doc) public SingleValueConverter getConverterFromAttribute(String name)(Code)(Java Doc) public SingleValueConverter getConverterFromAttribute(Class type, String attribute)(Code)(Java Doc) public SingleValueConverter getConverterFromItemType(String fieldName, Class type)(Code)(Java Doc) public SingleValueConverter getConverterFromItemType(Class type)(Code)(Java Doc) public SingleValueConverter getConverterFromItemType(String fieldName, Class type, Class definedIn)(Code)(Java Doc) public String getFieldNameForItemTypeAndName(Class definedIn, Class itemType, String itemFieldName)(Code)(Java Doc) public ImplicitCollectionMapping getImplicitCollectionDefForFieldName(Class itemType, String fieldName)(Code)(Java Doc) public Class getItemTypeForItemFieldName(Class definedIn, String itemFieldName)(Code)(Java Doc) public Converter getLocalConverter(Class definedIn, String fieldName)(Code)(Java Doc) public boolean isImmutableValueType(Class type)(Code)(Java Doc) public Mapper lookupMapperOfType(Class type)(Code)(Java Doc) public Class realClass(String elementName)(Code)(Java Doc) public String realMember(Class type, String serialized)(Code)(Java Doc) public String serializedClass(Class type)(Code)(Java Doc) public String serializedMember(Class type, String memberName)(Code)(Java Doc) public boolean shouldSerializeMember(Class definedIn, String fieldName)(Code)(Java Doc)
|
|
|