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 |
DESCRIPTION |
static String |
NAME |
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<?> type) |
static TypeBinder.TypeDefinition |
deserializeTypeDefinition(String json) |
static List<TypeBinder.TypeDefinition> |
deserializeTypeDefinitions(String json) |
protected static TypeBinder.Property |
getProperty(ISProperty propertyAnnotation,
Method method) |
protected static String |
getPropertyNameFromMethodName(Method method) |
protected static Set<TypeBinder.Property> |
retrieveListOfProperties(Class<?> type) |
static String |
serializeType(Class<?> type) |
static String |
serializeTypeDefinition(TypeBinder.TypeDefinition typeDefinition) |
static String |
serializeTypeDefinitions(List<TypeBinder.TypeDefinition> typeDefinitions) |
public static final String NAME
public static final String DESCRIPTION
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<?> type)
protected static Set<TypeBinder.Property> retrieveListOfProperties(Class<?> type)
protected static TypeBinder.Property getProperty(ISProperty propertyAnnotation, Method method)
Copyright © 2017. All Rights Reserved.