public class TypeBinder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeBinder.Property |
static class |
TypeBinder.TypeDefinition |
| Modifier and Type | Field and Description |
|---|---|
static String |
URI_PATTERN |
static String |
URL_PATTERN |
static String |
UUID_PATTERN |
| Constructor and Description |
|---|
TypeBinder() |
| Modifier and Type | Method and Description |
|---|---|
static TypeBinder.TypeDefinition |
createTypeDefinition(Class<?> clz) |
static TypeBinder.TypeDefinition |
deserializeTypeDefinition(String json) |
static List<TypeBinder.TypeDefinition> |
deserializeTypeDefinitions(String json) |
static String |
serializeType(Class<?> type) |
static String |
serializeTypeDefinition(TypeBinder.TypeDefinition typeDefinition) |
static String |
serializeTypeDefinitions(List<TypeBinder.TypeDefinition> typeDefinitions) |
public static final String UUID_PATTERN
public static final String URI_PATTERN
public static final String URL_PATTERN
public static String serializeTypeDefinition(TypeBinder.TypeDefinition typeDefinition) throws Exception
Exceptionpublic static TypeBinder.TypeDefinition deserializeTypeDefinition(String json) throws Exception
Exceptionpublic static String serializeTypeDefinitions(List<TypeBinder.TypeDefinition> typeDefinitions) throws Exception
Exceptionpublic static List<TypeBinder.TypeDefinition> deserializeTypeDefinitions(String json) throws Exception
Exceptionpublic static TypeBinder.TypeDefinition createTypeDefinition(Class<?> clz)
Copyright © 2017. All Rights Reserved.