public class ArrayStreamingJsonHierarchicalModel extends Object implements ListHierarchicalModel<GeneratorAdapter>
| Constructor and Description |
|---|
ArrayStreamingJsonHierarchicalModel(GeneratorAdapter generator) |
ArrayStreamingJsonHierarchicalModel(GeneratorAdapter generator,
ObjectStreamingJsonHierarchicalModel objectModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(Object instance) |
MapHierarchicalModel<?> |
createChildMap() |
void |
finished() |
GeneratorAdapter |
getUnderlyingModel() |
void |
start() |
public ArrayStreamingJsonHierarchicalModel(GeneratorAdapter generator) throws IOException
IOExceptionpublic ArrayStreamingJsonHierarchicalModel(GeneratorAdapter generator, ObjectStreamingJsonHierarchicalModel objectModel) throws IOException
IOExceptionpublic void start()
throws IOException
IOExceptionpublic void finished()
throws IOException
finished in interface HierarchicalModel<GeneratorAdapter>IOExceptionpublic void addValue(Object instance) throws IOException
addValue in interface ListHierarchicalModel<GeneratorAdapter>IOExceptionpublic MapHierarchicalModel<?> createChildMap() throws IOException
createChildMap in interface ListHierarchicalModel<GeneratorAdapter>IOExceptionpublic GeneratorAdapter getUnderlyingModel()
getUnderlyingModel in interface HierarchicalModel<GeneratorAdapter>Copyright © 2014. All Rights Reserved.