org.neo4j.server.rest.repr.formats
Class ListWrappingWriter

java.lang.Object
  extended by org.neo4j.server.rest.repr.ListWriter
      extended by org.neo4j.server.rest.repr.formats.ListWrappingWriter

public class ListWrappingWriter
extends ListWriter


Constructor Summary
ListWrappingWriter(List<Object> data)
           
 
Method Summary
protected  void done()
           
protected  ListWriter newList(String type)
           
protected  MappingWriter newMapping(String type)
           
protected  void writeValue(String type, Object value)
           
 
Methods inherited from class org.neo4j.server.rest.repr.ListWriter
writeBoolean, writeFloatingPointNumber, writeInteger, writeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListWrappingWriter

public ListWrappingWriter(List<Object> data)
Method Detail

newList

protected ListWriter newList(String type)
Specified by:
newList in class ListWriter

newMapping

protected MappingWriter newMapping(String type)
Specified by:
newMapping in class ListWriter

writeValue

protected void writeValue(String type,
                          Object value)
Specified by:
writeValue in class ListWriter

done

protected void done()
Specified by:
done in class ListWriter


Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.