com.thoughtworks.xstream.mapper.Mapper.getConverterFromAttribute()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(5.7k)|赞(0)|评价(0)|浏览(228)

本文整理了Java中com.thoughtworks.xstream.mapper.Mapper.getConverterFromAttribute()方法的一些代码示例,展示了Mapper.getConverterFromAttribute()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Mapper.getConverterFromAttribute()方法的具体详情如下:
包路径:com.thoughtworks.xstream.mapper.Mapper
类名称:Mapper
方法名:getConverterFromAttribute

Mapper.getConverterFromAttribute介绍

[英]Returns which converter to use for an specific attribute in a type.
[中]返回用于类型中特定属性的转换器。

代码示例

代码示例来源:origin: jenkinsci/jenkins

public SingleValueConverter getConverterFromAttribute(Class definedIn, String attribute, Class type) {
    return delegate.getConverterFromAttribute(definedIn, attribute, type);
  }
}

代码示例来源:origin: jenkinsci/jenkins

/**
 * @deprecated since 1.3, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
@Deprecated
public SingleValueConverter getConverterFromAttribute(String name) {
  return delegate.getConverterFromAttribute(name);
}

代码示例来源:origin: jenkinsci/jenkins

/**
 * @deprecated since 1.3.1, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
@Deprecated
public SingleValueConverter getConverterFromAttribute(Class type, String attribute) {
  return delegate.getConverterFromAttribute(type, attribute);
}

代码示例来源:origin: com.thoughtworks.xstream/xstream

/**
 * @deprecated As of 1.3.1, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
public SingleValueConverter getConverterFromAttribute(Class type, String attribute) {
  return getConverterFromAttributeMapper.getConverterFromAttribute(type, attribute);
}

代码示例来源:origin: com.thoughtworks.xstream/xstream

/**
 * @deprecated As of 1.3, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
public SingleValueConverter getConverterFromAttribute(String name) {
  return getConverterFromAttributeMapper.getConverterFromAttribute(name);
}

代码示例来源:origin: com.thoughtworks.xstream/xstream

public SingleValueConverter getConverterFromAttribute(Class definedIn, String attribute, Class type) {
  return getConverterFromAttributeMapper.getConverterFromAttribute(definedIn, attribute, type);
}

代码示例来源:origin: jenkinsci/jenkins

if (fieldExistsInClass) {
  Field field = reflectionProvider.getField(result.getClass(), attrName);
  SingleValueConverter converter = mapper.getConverterFromAttribute(field.getDeclaringClass(),attrName,field.getType());
  Class type = field.getType();
  if (converter == null) {

代码示例来源:origin: com.thoughtworks.xstream/xstream

SingleValueConverter converter = mapper.getConverterFromAttribute(
  classDefiningField, attrName, field.getType());
Class type = field.getType();

代码示例来源:origin: x-stream/xstream

@Override
public SingleValueConverter getConverterFromAttribute(final Class<?> definedIn, final String attribute,
    final Class<?> type) {
  return getConverterFromAttributeMapper.getConverterFromAttribute(definedIn, attribute, type);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream-java8

/**
 * @deprecated As of 1.3.1, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
public SingleValueConverter getConverterFromAttribute(Class type, String attribute) {
  return getConverterFromAttributeMapper.getConverterFromAttribute(type, attribute);
}

代码示例来源:origin: ovea-deprecated/jetty-session-redis

/**
 * @deprecated since 1.3, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
public SingleValueConverter getConverterFromAttribute(String name) {
  return wrapped.getConverterFromAttribute(name);
}

代码示例来源:origin: ovea-deprecated/jetty-session-redis

/**
 * @deprecated since 1.3.1, use {@link #getConverterFromAttribute(Class, String, Class)} 
 */
public SingleValueConverter getConverterFromAttribute(Class type, String attribute) {
  return wrapped.getConverterFromAttribute(type, attribute);
}

代码示例来源:origin: org.jvnet.hudson/xstream

/**
 * @deprecated since 1.3, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
public SingleValueConverter getConverterFromAttribute(String name) {
  return wrapped.getConverterFromAttribute(name);
}

代码示例来源:origin: com.haulmont.thirdparty/xstream

/**
 * @deprecated As of 1.3.1, use {@link #getConverterFromAttribute(Class, String, Class)} 
 */
public SingleValueConverter getConverterFromAttribute(Class type, String attribute) {
  return wrapped.getConverterFromAttribute(type, attribute);
}

代码示例来源:origin: org.jvnet.hudson/xstream

/**
 * @deprecated since 1.3.1, use {@link #getConverterFromAttribute(Class, String, Class)} 
 */
public SingleValueConverter getConverterFromAttribute(Class type, String attribute) {
  return wrapped.getConverterFromAttribute(type, attribute);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream

/**
 * @deprecated As of 1.3, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
public SingleValueConverter getConverterFromAttribute(String name) {
  return getConverterFromAttributeMapper.getConverterFromAttribute(name);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream

/**
 * @deprecated As of 1.3.1, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
public SingleValueConverter getConverterFromAttribute(Class type, String attribute) {
  return getConverterFromAttributeMapper.getConverterFromAttribute(type, attribute);
}

代码示例来源:origin: x-stream/xstream

/**
 * @deprecated As of 1.3.1, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
@Deprecated
@Override
public SingleValueConverter getConverterFromAttribute(final Class<?> type, final String attribute) {
  return getConverterFromAttributeMapper.getConverterFromAttribute(type, attribute);
}

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

/**
 * @deprecated since 1.3.1, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
@Deprecated
public SingleValueConverter getConverterFromAttribute(Class type, String attribute) {
  return delegate.getConverterFromAttribute(type, attribute);
}

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

/**
 * @deprecated since 1.3, use {@link #getConverterFromAttribute(Class, String, Class)}
 */
@Deprecated
public SingleValueConverter getConverterFromAttribute(String name) {
  return delegate.getConverterFromAttribute(name);
}

相关文章