org.neo4j.server.rest.repr.formats
Class NullFormat
java.lang.Object
org.neo4j.server.rest.repr.RepresentationFormat
org.neo4j.server.rest.repr.formats.NullFormat
- All Implemented Interfaces:
- InputFormat
public class NullFormat
- extends RepresentationFormat
Constructor Summary |
NullFormat(Collection<javax.ws.rs.core.MediaType> supported,
javax.ws.rs.core.MediaType... requested)
|
Methods inherited from class org.neo4j.server.rest.repr.RepresentationFormat |
convertBoolean, convertByte, convertCharacter, convertDouble, convertFloat, convertInteger, convertLong, convertNode, convertRelationship, convertShort, convertString, convertURI, getNode, getNode, getRelationship, readParameterList, toString |
NullFormat
public NullFormat(Collection<javax.ws.rs.core.MediaType> supported,
javax.ws.rs.core.MediaType... requested)
readValue
public Object readValue(String input)
readUri
public URI readUri(String input)
readMap
public Map<String,Object> readMap(String input)
readList
public List<Object> readList(String input)
serializeValue
protected String serializeValue(String type,
Object value)
- Specified by:
serializeValue
in class RepresentationFormat
serializeList
protected ListWriter serializeList(String type)
- Specified by:
serializeList
in class RepresentationFormat
serializeMapping
protected MappingWriter serializeMapping(String type)
- Specified by:
serializeMapping
in class RepresentationFormat
complete
protected String complete(ListWriter serializer)
- Specified by:
complete
in class RepresentationFormat
complete
protected String complete(MappingWriter serializer)
- Specified by:
complete
in class RepresentationFormat
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.