| java.lang.Object com.thoughtworks.xstream.mapper.MapperWrapper com.thoughtworks.xstream.mapper.AbstractXmlFriendlyMapper com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper
XStream11XmlFriendlyMapper | public class XStream11XmlFriendlyMapper extends AbstractXmlFriendlyMapper (Code) | | 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.
author: Joe Walnes author: Mauro Talevi |
XStream11XmlFriendlyMapper | public XStream11XmlFriendlyMapper(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)
|
|
|