本文整理了Java中com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper
类的一些代码示例,展示了XStream11XmlFriendlyMapper
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XStream11XmlFriendlyMapper
类的具体详情如下:
包路径:com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper
类名称:XStream11XmlFriendlyMapper
[英]Mapper that ensures that all names in the serialization stream are read in an XML friendly way.
代码示例来源:origin: com.thoughtworks.xstream/xstream
public Class realClass(String elementName) {
return super.realClass(unescapeClassName(elementName));
}
代码示例来源:origin: com.thoughtworks.xstream/xstream
public String mapNameFromXML(String xmlName) {
return unescapeFieldName(xmlName);
}
}
代码示例来源:origin: com.thoughtworks.xstream/xstream
private Mapper buildMapper() {
Mapper mapper = new DefaultMapper(classLoaderReference);
if (useXStream11XmlFriendlyMapper()) {
mapper = new XStream11XmlFriendlyMapper(mapper);
代码示例来源:origin: org.sonatype.nexus.xstream/xstream
mapper = new XStream11XmlFriendlyMapper(mapper);
代码示例来源:origin: com.thoughtworks.xstream/xstream
public String realMember(Class type, String serialized) {
return unescapeFieldName(super.realMember(type, serialized));
}
代码示例来源:origin: x-stream/xstream
@Override
public Class<?> realClass(final String elementName) {
return super.realClass(unescapeClassName(elementName));
}
代码示例来源:origin: org.jvnet.hudson/xstream
private Mapper buildMapper() {
Mapper mapper = new DefaultMapper(classLoaderReference);
if ( useXStream11XmlFriendlyMapper() ){
mapper = new XStream11XmlFriendlyMapper(mapper);
代码示例来源:origin: x-stream/xstream
public String mapNameFromXML(final String xmlName) {
return unescapeFieldName(xmlName);
}
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream
public Class realClass(String elementName) {
return super.realClass(unescapeClassName(elementName));
}
代码示例来源:origin: com.haulmont.thirdparty/xstream
private Mapper buildMapper() {
Mapper mapper = new DefaultMapper(classLoaderReference);
if (useXStream11XmlFriendlyMapper()) {
mapper = new XStream11XmlFriendlyMapper(mapper);
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream-java8
public String mapNameFromXML(String xmlName) {
return unescapeFieldName(xmlName);
}
}
代码示例来源:origin: org.jvnet.hudson/xstream
public Class realClass(String elementName) {
return super.realClass(unescapeClassName(elementName));
}
代码示例来源:origin: ovea-deprecated/jetty-session-redis
private Mapper buildMapper() {
Mapper mapper = new DefaultMapper(classLoaderReference);
if ( useXStream11XmlFriendlyMapper() ){
mapper = new XStream11XmlFriendlyMapper(mapper);
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream
public String mapNameFromXML(String xmlName) {
return unescapeFieldName(xmlName);
}
}
代码示例来源:origin: org.sonatype.nexus.xstream/xstream
public Class realClass(String elementName) {
return super.realClass(unescapeClassName(elementName));
}
代码示例来源:origin: x-stream/xstream
private Mapper buildMapper() {
Mapper mapper = new DefaultMapper(classLoaderReference);
if (useXStream11XmlFriendlyMapper()) {
mapper = new XStream11XmlFriendlyMapper(mapper);
代码示例来源:origin: org.sonatype.nexus.xstream/xstream
public String mapNameFromXML(String xmlName) {
return unescapeFieldName(xmlName);
}
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream-java8
public Class realClass(String elementName) {
return super.realClass(unescapeClassName(elementName));
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream
private Mapper buildMapper() {
Mapper mapper = new DefaultMapper(classLoaderReference);
if (useXStream11XmlFriendlyMapper()) {
mapper = new XStream11XmlFriendlyMapper(mapper);
代码示例来源:origin: com.haulmont.thirdparty/xstream
public String mapNameFromXML(String xmlName) {
return unescapeFieldName(xmlName);
}
}
内容来源于网络,如有侵权,请联系作者删除!