public class SimpleTypeHolder extends Object
| Modifier and Type | Field and Description |
|---|---|
static SimpleTypeHolder |
DEFAULT |
| Modifier | Constructor and Description |
|---|---|
protected |
SimpleTypeHolder()
Creates a new
SimpleTypeHolder containing the default types. |
|
SimpleTypeHolder(Set<? extends Class<?>> customSimpleTypes,
boolean registerDefaults)
Creates a new
SimpleTypeHolder to carry the given custom simple types. |
|
SimpleTypeHolder(Set<? extends Class<?>> customSimpleTypes,
SimpleTypeHolder source)
Copy constructor to create a new
SimpleTypeHolder that carries the given additional custom simple types. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSimpleType(Class<?> type)
Returns whether the given type is considered a simple one.
|
public static final SimpleTypeHolder DEFAULT
protected SimpleTypeHolder()
SimpleTypeHolder containing the default types.SimpleTypeHolder(Set, boolean)public SimpleTypeHolder(Set<? extends Class<?>> customSimpleTypes, boolean registerDefaults)
SimpleTypeHolder to carry the given custom simple types. Registration of default simple types
can be deactivated by passing false for registerDefaults.customSimpleTypes - registerDefaults - public SimpleTypeHolder(Set<? extends Class<?>> customSimpleTypes, SimpleTypeHolder source)
SimpleTypeHolder that carries the given additional custom simple types.customSimpleTypes - must not be nullsource - must not be nullpublic boolean isSimpleType(Class<?> type)
type - must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.