org.skyscreamer.yoga.model
Class ObjectStreamingJsonHierarchicalModel
java.lang.Object
org.skyscreamer.yoga.model.ObjectStreamingJsonHierarchicalModel
- All Implemented Interfaces:
- HierarchicalModel<org.codehaus.jackson.JsonGenerator>, MapHierarchicalModel<org.codehaus.jackson.JsonGenerator>
public class ObjectStreamingJsonHierarchicalModel
- extends Object
- implements MapHierarchicalModel<org.codehaus.jackson.JsonGenerator>
|
Field Summary |
protected org.codehaus.jackson.JsonGenerator |
generator
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
generator
protected org.codehaus.jackson.JsonGenerator generator
ObjectStreamingJsonHierarchicalModel
public ObjectStreamingJsonHierarchicalModel(org.codehaus.jackson.JsonGenerator generator)
throws IOException
- Throws:
IOException
ObjectStreamingJsonHierarchicalModel
public ObjectStreamingJsonHierarchicalModel(org.codehaus.jackson.JsonGenerator generator,
ArrayStreamingJsonHierarchicalModel arrayModel)
throws IOException
- Throws:
IOException
start
public void start()
throws IOException
- Throws:
IOException
getUnderlyingModel
public org.codehaus.jackson.JsonGenerator getUnderlyingModel()
- Specified by:
getUnderlyingModel in interface HierarchicalModel<org.codehaus.jackson.JsonGenerator>
finished
public void finished()
throws IOException
- Specified by:
finished in interface HierarchicalModel<org.codehaus.jackson.JsonGenerator>
- Throws:
IOException
addProperty
public void addProperty(String name,
Object result)
throws IOException
- Specified by:
addProperty in interface MapHierarchicalModel<org.codehaus.jackson.JsonGenerator>
- Throws:
IOException
createChildMap
public MapHierarchicalModel<org.codehaus.jackson.JsonGenerator> createChildMap(String name)
throws IOException
- Specified by:
createChildMap in interface MapHierarchicalModel<org.codehaus.jackson.JsonGenerator>
- Throws:
IOException
createChildList
public ListHierarchicalModel<org.codehaus.jackson.JsonGenerator> createChildList(String name)
throws IOException
- Specified by:
createChildList in interface MapHierarchicalModel<org.codehaus.jackson.JsonGenerator>
- Throws:
IOException
Copyright © 2013. All Rights Reserved.