public abstract class SchemaWrapper extends Object
| Constructor and Description |
|---|
SchemaWrapper(Type type) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
asJson() |
<T extends SchemaWrapper> |
cast() |
String |
getDollarSchema() |
String |
getId() |
Class<?> |
getJavaType() |
protected com.fasterxml.jackson.databind.node.ObjectNode |
getNode() |
protected String |
getNodeTextValue(com.fasterxml.jackson.databind.JsonNode node) |
ParameterizedType |
getParameterizedType() |
String |
getRef() |
String |
getType() |
boolean |
isArrayWrapper() |
boolean |
isCustomWrapper() |
boolean |
isEmptyWrapper() |
boolean |
isEnumWrapper() |
boolean |
isNullWrapper() |
boolean |
isRefWrapper() |
boolean |
isSimpleWrapper() |
protected void |
processNullable() |
SchemaWrapper |
putDollarSchema() |
protected void |
setType(String type) |
public static final String DRAFT_04
public SchemaWrapper(Type type)
public com.fasterxml.jackson.databind.JsonNode asJson()
public String getDollarSchema()
public SchemaWrapper putDollarSchema()
public String getId()
public String getRef()
public String getType()
public ParameterizedType getParameterizedType()
public Class<?> getJavaType()
public boolean isEnumWrapper()
public boolean isSimpleWrapper()
public boolean isCustomWrapper()
public boolean isRefWrapper()
public boolean isArrayWrapper()
public boolean isEmptyWrapper()
public boolean isNullWrapper()
public <T extends SchemaWrapper> T cast()
protected com.fasterxml.jackson.databind.node.ObjectNode getNode()
protected void processNullable()
protected String getNodeTextValue(com.fasterxml.jackson.databind.JsonNode node)
protected void setType(String type)
Copyright © 2018. All rights reserved.