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

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

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

Mapper.isReferenceable介绍

[英]Whether this type is referenceable in a stream.
[中]此类型在流中是否可引用。

代码示例

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

public boolean isReferenceable(Class type) {
  return isReferenceableMapper.isReferenceable(type);
}

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

final String attributeName = getMapper().aliasForSystemAttribute("reference");
final String reference = attributeName == null ? null : reader.getAttribute(attributeName);
final boolean isReferenceable = getMapper().isReferenceable(type);
if (reference != null) {
  final Object cache = isReferenceable ? values.get(getReferenceKey(reference)) : null;

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

@Override
public boolean isReferenceable(final Class<?> type) {
  return isReferenceableMapper.isReferenceable(type);
}

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

public boolean isReferenceable(Class type) {
  return isReferenceableMapper.isReferenceable(type);
}

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

public boolean isReferenceable(Class type) {
  return isReferenceableMapper.isReferenceable(type);
}

代码示例来源:origin: apache/servicemix-bundles

public boolean isReferenceable(Class type) {
  return isReferenceableMapper.isReferenceable(type);
}

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

final String attributeName = getMapper().aliasForSystemAttribute("reference");
final String reference = attributeName == null ? null : reader.getAttribute(attributeName);
final boolean isReferenceable = getMapper().isReferenceable(type);
if (reference != null) {
  final Object cache = isReferenceable ? values.get(getReferenceKey(reference)) : null;

代码示例来源:origin: apache/servicemix-bundles

final String attributeName = getMapper().aliasForSystemAttribute("reference");
final String reference = attributeName == null ? null : reader.getAttribute(attributeName);
final boolean isReferenceable = getMapper().isReferenceable(type);
if (reference != null) {
  final Object cache = isReferenceable ? values.get(getReferenceKey(reference)) : null;

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

final String attributeName = getMapper().aliasForSystemAttribute("reference");
final String reference = attributeName == null ? null : reader.getAttribute(attributeName);
final boolean isReferenceable = getMapper().isReferenceable(type);
if (reference != null) {
  final Object cache = isReferenceable ? values.get(getReferenceKey(reference)) : null;

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

final String attributeName = getMapper().aliasForSystemAttribute("reference");
final String reference = attributeName == null ? null : reader.getAttribute(attributeName);
final boolean isReferenceable = getMapper().isReferenceable(type);
if (reference != null) {
  final Object cache = isReferenceable ? values.get(getReferenceKey(reference)) : null;

相关文章