public class RecursiveMappingRepresentation
extends org.neo4j.server.rest.repr.MappingRepresentation
MappingSerializer.BOOLEAN, BOOLEAN_LIST, BYTE, BYTE_LIST, CHARACTER, CHARACTER_LIST, DOUBLE, DOUBLE_LIST, EXCEPTION, EXTENSION, EXTENSIONS_MAP, FLOAT, FLOAT_LIST, GRAPHDB, INDEX, INTEGER, INTEGER_LIST, LONG, LONG_LIST, MAP, NODE, NODE_INDEXES, NODE_LIST, PATH, PATH_LIST, PROPERTIES_MAP, RELATIONSHIP, RELATIONSHIP_INDEXES, RELATIONSHIP_LIST, RELATIONSHIP_TYPE, SHORT, SHORT_LIST, STRING, STRING_LIST, URI, URI_TEMPLATE| Modifier | Constructor and Description |
|---|---|
protected |
RecursiveMappingRepresentation(String type) |
|
RecursiveMappingRepresentation(String type,
Map<String,Object> map) |
| Modifier and Type | Method and Description |
|---|---|
static org.neo4j.server.rest.repr.ListRepresentation |
getIterableRepresentation(Iterable<?> value) |
static <T extends Number> |
getNumberRepresentation(T value,
Class<?> valueClass) |
static org.neo4j.server.rest.repr.Representation |
getObjectRepresentation(Object value) |
Map<String,Object> |
getUnderlyingMap()
Returns the underlying Java map object.
|
protected void |
serialize(org.neo4j.server.rest.repr.MappingSerializer serializer) |
protected void |
serialize(String key,
Object value,
org.neo4j.server.rest.repr.MappingSerializer serializer) |
protected void |
setUnderlyingMap(Map<String,Object> map) |
public RecursiveMappingRepresentation(String type, Map<String,Object> map)
protected RecursiveMappingRepresentation(String type)
protected void serialize(org.neo4j.server.rest.repr.MappingSerializer serializer)
serialize in class org.neo4j.server.rest.repr.MappingRepresentationpublic Map<String,Object> getUnderlyingMap()
protected void serialize(String key, Object value, org.neo4j.server.rest.repr.MappingSerializer serializer)
public static org.neo4j.server.rest.repr.Representation getObjectRepresentation(Object value)
public static org.neo4j.server.rest.repr.ListRepresentation getIterableRepresentation(Iterable<?> value)
Copyright © 2018 JULIE Lab Jena, Germany. All rights reserved.