public static class StreamingJsonFormat.StreamingRepresentationFormat
extends org.neo4j.server.rest.repr.RepresentationFormat
| Constructor and Description |
|---|
StreamingJsonFormat.StreamingRepresentationFormat(org.codehaus.jackson.JsonGenerator g,
org.neo4j.server.rest.repr.InputFormat inputFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete() |
protected String |
complete(org.neo4j.server.rest.repr.ListWriter serializer) |
protected String |
complete(org.neo4j.server.rest.repr.MappingWriter serializer) |
List<Object> |
readList(String input) |
Map<String,Object> |
readMap(String input,
String... requiredKeys) |
URI |
readUri(String input) |
Object |
readValue(String input) |
protected org.neo4j.server.rest.repr.ListWriter |
serializeList(String type) |
org.neo4j.server.rest.repr.MappingWriter |
serializeMapping(String type) |
protected String |
serializeValue(String type,
Object value) |
StreamingJsonFormat.StreamingRepresentationFormat |
usePrettyPrinter() |
convertBoolean, convertByte, convertCharacter, convertDouble, convertFloat, convertInteger, convertLong, convertNode, convertRelationship, convertShort, convertString, convertURI, getNode, getNode, getRelationship, readParameterList, toStringpublic StreamingJsonFormat.StreamingRepresentationFormat(org.codehaus.jackson.JsonGenerator g,
org.neo4j.server.rest.repr.InputFormat inputFormat)
public StreamingJsonFormat.StreamingRepresentationFormat usePrettyPrinter()
protected String serializeValue(String type, Object value)
serializeValue in class org.neo4j.server.rest.repr.RepresentationFormatprotected org.neo4j.server.rest.repr.ListWriter serializeList(String type)
serializeList in class org.neo4j.server.rest.repr.RepresentationFormatpublic org.neo4j.server.rest.repr.MappingWriter serializeMapping(String type)
serializeMapping in class org.neo4j.server.rest.repr.RepresentationFormatprotected String complete(org.neo4j.server.rest.repr.ListWriter serializer)
complete in class org.neo4j.server.rest.repr.RepresentationFormatprotected String complete(org.neo4j.server.rest.repr.MappingWriter serializer)
complete in class org.neo4j.server.rest.repr.RepresentationFormatpublic Object readValue(String input) throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic Map<String,Object> readMap(String input, String... requiredKeys) throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic List<Object> readList(String input) throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic URI readUri(String input) throws org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.rest.repr.BadInputExceptionpublic void complete()
complete in class org.neo4j.server.rest.repr.RepresentationFormatCopyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.