| AndBase开发框架 1.6

- 首页
- 相关页面
- 命名空间
- 类
- 文件

- 类列表
- 类索引
- 类继承关系
- 类成员

全部 类 命名空间 文件 函数 变量 枚举值 页
Public 成员函数 | 静态 Public 属性 | Protected 成员函数 | 包函数 | Private 成员函数 | Private 属性 | 静态 Private 属性 | 所有成员列表
com.google.gson.internal.Excluder类 参考
类 com.google.gson.internal.Excluder 继承关系图:

## Public 成员函数
Excluder | withVersion (double ignoreVersionsAfter)
Excluder | withModifiers (int...modifiers)
Excluder | disableInnerClassSerialization ()
Excluder | excludeFieldsWithoutExposeAnnotation ()
Excluder | withExclusionStrategy (ExclusionStrategy exclusionStrategy, boolean serialization, boolean deserialization)
boolean | excludeField (Field field, boolean serialize)
boolean | excludeClass (Class<?> clazz, boolean serialize)
Public 成员函数 继承自 com.google.gson.TypeAdapterFactory
< T > TypeAdapter< T > | create (Gson gson, TypeToken< T > type)

## 静态 Public 属性
static final Excluder | DEFAULT = new Excluder()

## Protected 成员函数
Excluder | clone ()

## 包函数
public< T > TypeAdapter< T > | create (final Gson gson, final TypeToken< T > type)

## Private 成员函数
boolean | isAnonymousOrLocal (Class<?> clazz)
boolean | isInnerClass (Class<?> clazz)
boolean | isStatic (Class<?> clazz)
boolean | isValidVersion (Since since, Until until)
boolean | isValidSince (Since annotation)
boolean | isValidUntil (Until annotation)

## Private 属性
double | version = IGNORE_VERSIONS
int | modifiers = Modifier.TRANSIENT | Modifier.STATIC
boolean | serializeInnerClasses = true
boolean | requireExpose
List< ExclusionStrategy > | serializationStrategies = Collections.emptyList()
List< ExclusionStrategy > | deserializationStrategies = Collections.emptyList()

## 静态 Private 属性
static final double | IGNORE_VERSIONS = -1.0d

## 详细描述

This class selects which fields and types to omit. It is configurable, supporting version attributes Since and Until, modifiers, synthetic fields, anonymous and local classes, inner classes, and fields with the Expose annotation.

This class is a type adapter factory; types that are excluded will be adapted to null. It may delegate to another type adapter if only one direction is excluded.

作者
  Joel Leitch
  Jesse Wilson

## 成员函数说明

Excluder com.google.gson.internal.Excluder.clone | ( |  | ) |
| inline protected

public<T> TypeAdapter<T> com.google.gson.internal.Excluder.create | ( | final Gson | gson,
|  | final TypeToken< T > | type
| ) |  |
| inline package

The delegate is lazily created because it may not be needed, and creating it may fail.

Excluder com.google.gson.internal.Excluder.disableInnerClassSerialization | ( |  | ) |
| inline

boolean com.google.gson.internal.Excluder.excludeClass | ( | Class<?> | clazz,
|  | boolean | serialize
| ) |  |
| inline

boolean com.google.gson.internal.Excluder.excludeField | ( | Field | field,
|  | boolean | serialize
| ) |  |
| inline

Excluder com.google.gson.internal.Excluder.excludeFieldsWithoutExposeAnnotation | ( |  | ) |
| inline

boolean com.google.gson.internal.Excluder.isAnonymousOrLocal | ( | Class<?> | clazz | ) |
| inline private

boolean com.google.gson.internal.Excluder.isInnerClass | ( | Class<?> | clazz | ) |
| inline private

boolean com.google.gson.internal.Excluder.isStatic | ( | Class<?> | clazz | ) |
| inline private

boolean com.google.gson.internal.Excluder.isValidSince | ( | Since | annotation | ) |
| inline private

boolean com.google.gson.internal.Excluder.isValidUntil | ( | Until | annotation | ) |
| inline private

boolean com.google.gson.internal.Excluder.isValidVersion | ( | Since | since,
|  | Until | until
| ) |  |
| inline private

Excluder com.google.gson.internal.Excluder.withExclusionStrategy | ( | ExclusionStrategy | exclusionStrategy,
|  | boolean | serialization,
|  | boolean | deserialization
| ) |  |
| inline

Excluder com.google.gson.internal.Excluder.withModifiers | ( | int... | modifiers | ) |
| inline

Excluder com.google.gson.internal.Excluder.withVersion | ( | double | ignoreVersionsAfter | ) |
| inline

## 类成员变量说明

final Excluder com.google.gson.internal.Excluder.DEFAULT = new Excluder()
| static

List<ExclusionStrategy> com.google.gson.internal.Excluder.deserializationStrategies = Collections.emptyList()
| private

final double com.google.gson.internal.Excluder.IGNORE_VERSIONS = -1.0d
| static private

int com.google.gson.internal.Excluder.modifiers = Modifier.TRANSIENT | Modifier.STATIC
| private

boolean com.google.gson.internal.Excluder.requireExpose
| private

List<ExclusionStrategy> com.google.gson.internal.Excluder.serializationStrategies = Collections.emptyList()
| private

boolean com.google.gson.internal.Excluder.serializeInnerClasses = true
| private

double com.google.gson.internal.Excluder.version = IGNORE_VERSIONS
| private

该类的文档由以下文件生成:

- src/com/google/gson/internal/Excluder.java