Class JsonPViewReader
- java.lang.Object
-
- org.soulwing.prospecto.runtime.text.AbstractViewReader
-
- org.soulwing.prospecto.runtime.json.JsonPViewReader
-
- All Implemented Interfaces:
ViewReader
public class JsonPViewReader extends AbstractViewReader
AViewReader
that reads a JSON-P structure to produce aView
.- Author:
- Carl Harris
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.soulwing.prospecto.api.ViewReader
ViewReader.Source
-
-
Constructor Summary
Constructors Constructor Description JsonPViewReader(ViewReader.Source source, Options options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onReadView()
Notifies the recipient that it should read the textual representation, invoking callbacks as necessary to create the event stream for the view.-
Methods inherited from class org.soulwing.prospecto.runtime.text.AbstractViewReader
beginArray, beginArray, beginObject, beginObject, discriminator, end, getOptions, meta, nullValue, readView, value, value, value
-
-
-
-
Constructor Detail
-
JsonPViewReader
public JsonPViewReader(ViewReader.Source source, Options options)
-
-
Method Detail
-
onReadView
protected void onReadView() throws Exception
Description copied from class:AbstractViewReader
Notifies the recipient that it should read the textual representation, invoking callbacks as necessary to create the event stream for the view.- Specified by:
onReadView
in classAbstractViewReader
- Throws:
Exception
-
-