public class Overlay<V> extends Object
| Constructor and Description |
|---|
Overlay(IJsonOverlay<?> overlay) |
Overlay(JsonOverlay<V> overlay) |
Overlay(ListOverlay<V> list,
int index) |
Overlay(MapOverlay<V> map,
String key) |
Overlay(PropertiesOverlay<?> props,
String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
static JsonOverlay<?> |
find(JsonOverlay<?> overlay,
com.fasterxml.jackson.core.JsonPointer path) |
JsonOverlay<?> |
find(com.fasterxml.jackson.core.JsonPointer path) |
static <V,OV extends JsonOverlay<V>> |
find(OV overlay,
String path) |
JsonOverlay<?> |
find(String path) |
V |
get() |
static <V> V |
get(JsonOverlay<V> overlay) |
String |
getJsonReference() |
String |
getJsonReference(boolean forRef) |
static String |
getJsonReference(JsonOverlay<?> overlay) |
static String |
getJsonReference(JsonOverlay<?> overlay,
boolean forRef) |
static <X> ListOverlay<X> |
getListOverlay(Overlay<List<X>> overlay) |
static <X> MapOverlay<X> |
getMapOverlay(Overlay<Map<String,X>> overlay) |
<Model> Model |
getModel() |
static <Model,V> Model |
getModel(JsonOverlay<V> overlay) |
JsonOverlay<V> |
getOverlay() |
JsonOverlay<?> |
getParent() |
static <V> JsonOverlay<?> |
getParent(JsonOverlay<V> overlay) |
PropertiesOverlay<?> |
getParentPropertiesOverlay() |
static <V> PropertiesOverlay<?> |
getParentPropertiesOverlay(JsonOverlay<V> overlay) |
com.fasterxml.jackson.databind.JsonNode |
getParsedJson() |
static com.fasterxml.jackson.databind.JsonNode |
getParsedJson(JsonOverlay<?> overlay) |
static String |
getPathFromFromRoot(JsonOverlay<?> overlay) |
String |
getPathFromRoot() |
String |
getPathInParent() |
static String |
getPathInParent(JsonOverlay<?> overlay) |
Optional<PositionInfo> |
getPositionInfo() |
static Optional<PositionInfo> |
getPositionInfo(JsonOverlay<?> overlay) |
static PropertiesOverlay<?> |
getPropertiesOverlay(Overlay<PropertiesOverlay<?>> overlay) |
List<String> |
getPropertyNames() |
static <V> List<String> |
getPropertyNames(JsonOverlay<V> overlay) |
Reference |
getReference(int index) |
static <V> Reference |
getReference(JsonOverlay<V> overlay,
int index) |
static <V> Reference |
getReference(JsonOverlay<V> overlay,
String key) |
Reference |
getReference(String key) |
Overlay<V> |
getReferenceOverlay() |
static <V> Overlay<V> |
getReferenceOverlay(JsonOverlay<V> overlay) |
JsonOverlay<?> |
getRoot() |
static JsonOverlay<?> |
getRoot(JsonOverlay<?> overlay) |
Optional<PositionInfo.PositionEndpoint> |
getStartPosition() |
static Optional<PositionInfo.PositionEndpoint> |
getStartPosition(JsonOverlay<?> overlay) |
boolean |
isElaborated() |
static <V> boolean |
isElaborated(JsonOverlay<V> overlay) |
boolean |
isPresent() |
static <V> boolean |
isPresent(JsonOverlay<V> overlay) |
boolean |
isReference(int index) |
static <V> boolean |
isReference(JsonOverlay<V> overlay,
int index) |
static <V> boolean |
isReference(JsonOverlay<V> overlay,
String key) |
boolean |
isReference(String key) |
static <X> Overlay<X> |
of(IJsonOverlay<?> props,
String fieldName,
Class<X> type) |
static <V> Overlay<V> |
of(IJsonOverlay<V> overlay) |
static <V> Overlay<V> |
of(JsonOverlay<V> overlay) |
static <V> Overlay<List<V>> |
of(List<V> list) |
static <V> Overlay<V> |
of(List<V> list,
int index) |
static <V> Overlay<List<V>> |
of(ListOverlay<V> overlay) |
static <V> Overlay<V> |
of(ListOverlay<V> list,
int index) |
static <V> Overlay<Map<String,V>> |
of(Map<String,V> map) |
static <V> Overlay<V> |
of(Map<String,V> map,
String key) |
static <V> Overlay<Map<String,V>> |
of(MapOverlay<V> overlay) |
static <V> Overlay<V> |
of(MapOverlay<V> map,
String key) |
static <X> Overlay<X> |
of(PropertiesOverlay<?> props,
String fieldName,
Class<X> type) |
com.fasterxml.jackson.databind.JsonNode |
toJson() |
static <V> com.fasterxml.jackson.databind.JsonNode |
toJson(JsonOverlay<V> overlay) |
static <V> com.fasterxml.jackson.databind.JsonNode |
toJson(JsonOverlay<V> overlay,
SerializationOptions.Option... options) |
static <V> com.fasterxml.jackson.databind.JsonNode |
toJson(JsonOverlay<V> overlay,
SerializationOptions options) |
com.fasterxml.jackson.databind.JsonNode |
toJson(SerializationOptions.Option... options) |
com.fasterxml.jackson.databind.JsonNode |
toJson(SerializationOptions options) |
String |
toString() |
public Overlay(JsonOverlay<V> overlay)
public Overlay(IJsonOverlay<?> overlay)
public Overlay(MapOverlay<V> map, String key)
public Overlay(ListOverlay<V> list, int index)
public Overlay(PropertiesOverlay<?> props, String fieldName)
public static <V> Overlay<V> of(JsonOverlay<V> overlay)
public static <V> Overlay<V> of(IJsonOverlay<V> overlay)
public static <V> Overlay<Map<String,V>> of(MapOverlay<V> overlay)
public static <V> Overlay<List<V>> of(ListOverlay<V> overlay)
public static <V> Overlay<V> of(MapOverlay<V> map, String key)
public static <V> Overlay<V> of(ListOverlay<V> list, int index)
public static <X> Overlay<X> of(PropertiesOverlay<?> props, String fieldName, Class<X> type)
public static <X> Overlay<X> of(IJsonOverlay<?> props, String fieldName, Class<X> type)
public final V get()
public static <V> V get(JsonOverlay<V> overlay)
public final JsonOverlay<V> getOverlay()
public static <X> ListOverlay<X> getListOverlay(Overlay<List<X>> overlay)
public static <X> MapOverlay<X> getMapOverlay(Overlay<Map<String,X>> overlay)
public static PropertiesOverlay<?> getPropertiesOverlay(Overlay<PropertiesOverlay<?>> overlay)
public JsonOverlay<?> find(com.fasterxml.jackson.core.JsonPointer path)
public static JsonOverlay<?> find(JsonOverlay<?> overlay, com.fasterxml.jackson.core.JsonPointer path)
public JsonOverlay<?> find(String path)
public static <V,OV extends JsonOverlay<V>> JsonOverlay<?> find(OV overlay, String path)
public com.fasterxml.jackson.databind.JsonNode toJson()
public static <V> com.fasterxml.jackson.databind.JsonNode toJson(JsonOverlay<V> overlay)
public com.fasterxml.jackson.databind.JsonNode toJson(SerializationOptions options)
public static <V> com.fasterxml.jackson.databind.JsonNode toJson(JsonOverlay<V> overlay, SerializationOptions options)
public com.fasterxml.jackson.databind.JsonNode toJson(SerializationOptions.Option... options)
public static <V> com.fasterxml.jackson.databind.JsonNode toJson(JsonOverlay<V> overlay, SerializationOptions.Option... options)
public com.fasterxml.jackson.databind.JsonNode getParsedJson()
public static com.fasterxml.jackson.databind.JsonNode getParsedJson(JsonOverlay<?> overlay)
public boolean isPresent()
public static <V> boolean isPresent(JsonOverlay<V> overlay)
public boolean isElaborated()
public static <V> boolean isElaborated(JsonOverlay<V> overlay)
public JsonOverlay<?> getParent()
public static <V> JsonOverlay<?> getParent(JsonOverlay<V> overlay)
public PropertiesOverlay<?> getParentPropertiesOverlay()
public static <V> PropertiesOverlay<?> getParentPropertiesOverlay(JsonOverlay<V> overlay)
public String getPathInParent()
public static String getPathInParent(JsonOverlay<?> overlay)
public JsonOverlay<?> getRoot()
public static JsonOverlay<?> getRoot(JsonOverlay<?> overlay)
public <Model> Model getModel()
public static <Model,V> Model getModel(JsonOverlay<V> overlay)
public String getPathFromRoot()
public static String getPathFromFromRoot(JsonOverlay<?> overlay)
public String getJsonReference()
public static String getJsonReference(JsonOverlay<?> overlay)
public String getJsonReference(boolean forRef)
public static String getJsonReference(JsonOverlay<?> overlay, boolean forRef)
public Optional<PositionInfo> getPositionInfo()
public static Optional<PositionInfo> getPositionInfo(JsonOverlay<?> overlay)
public Optional<PositionInfo.PositionEndpoint> getStartPosition()
public static Optional<PositionInfo.PositionEndpoint> getStartPosition(JsonOverlay<?> overlay)
public static <V> List<String> getPropertyNames(JsonOverlay<V> overlay)
public boolean isReference(String key)
public static <V> boolean isReference(JsonOverlay<V> overlay, String key)
public boolean isReference(int index)
public static <V> boolean isReference(JsonOverlay<V> overlay, int index)
public static <V> Overlay<V> getReferenceOverlay(JsonOverlay<V> overlay)
public static <V> Reference getReference(JsonOverlay<V> overlay, String key)
public Reference getReference(int index)
public static <V> Reference getReference(JsonOverlay<V> overlay, int index)
Copyright © 2018. All rights reserved.