Initial commit

This commit is contained in:
2025-05-13 19:24:51 +02:00
commit a950f49678
10604 changed files with 932663 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
package com.thoughtworks.xstream.mapper;
/* loaded from: classes.dex */
public class XmlFriendlyMapper extends AbstractXmlFriendlyMapper {
public XmlFriendlyMapper(Mapper mapper) {
super(mapper);
}
public String mapNameFromXML(String str) {
return unescapeFieldName(str);
}
public String mapNameToXML(String str) {
return escapeFieldName(str);
}
@Override // com.thoughtworks.xstream.mapper.MapperWrapper, com.thoughtworks.xstream.mapper.Mapper
public Class realClass(String str) {
return super.realClass(unescapeClassName(str));
}
@Override // com.thoughtworks.xstream.mapper.MapperWrapper, com.thoughtworks.xstream.mapper.Mapper
public String realMember(Class cls, String str) {
return unescapeFieldName(super.realMember(cls, str));
}
@Override // com.thoughtworks.xstream.mapper.MapperWrapper, com.thoughtworks.xstream.mapper.Mapper
public String serializedClass(Class cls) {
return escapeClassName(super.serializedClass(cls));
}
@Override // com.thoughtworks.xstream.mapper.MapperWrapper, com.thoughtworks.xstream.mapper.Mapper
public String serializedMember(Class cls, String str) {
return escapeFieldName(super.serializedMember(cls, str));
}
}