|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.protobuf.gwt.shared.JsonStreamFactory
com.google.protobuf.gwt.client.ClientJsonStreamFactory
public class ClientJsonStreamFactory
A factory class that makes it easy to switch between different client-side JsonStream implementations.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.protobuf.gwt.shared.JsonStreamFactory |
|---|
JsonStreamFactory.ImplementationType |
| Field Summary | |
|---|---|
protected static ClientJsonStreamFactory |
instance
|
| Fields inherited from class com.google.protobuf.gwt.shared.JsonStreamFactory |
|---|
COMPACT_JSON_STREAM_IMPLEMENTATION_PARAMETER_VALUE, DEFAULT_IMPLEMENTATION_TYPE, implementationType, JSON_ENCODING_PARAMETER_KEY, VERBOSE_JSON_STREAM_IMPLEMENTATION_PARAMETER_VALUE |
| Constructor Summary | |
|---|---|
protected |
ClientJsonStreamFactory(JsonStreamFactory.ImplementationType implementationType)
|
| Method Summary | |
|---|---|
static ClientJsonStreamFactory |
createFactory(JsonStreamFactory.ImplementationType implementationType)
|
JsonStream |
createNewStream(JsonStreamFactory.ImplementationType implementationType)
|
GWTJsonStream |
createNewStreamFromJson(String jsonText)
|
protected JsonStreamFactory.ImplementationType |
getImplementationType(com.google.gwt.json.client.JSONObject jsonObject)
|
static ClientJsonStreamFactory |
getInstance()
|
| Methods inherited from class com.google.protobuf.gwt.shared.JsonStreamFactory |
|---|
createNewStream, createNewStreamFromMessage, createNewStreamFromMessage, equals, getImplementationType, serializeMessage, serializeMessage, serializeMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static ClientJsonStreamFactory instance
| Constructor Detail |
|---|
protected ClientJsonStreamFactory(JsonStreamFactory.ImplementationType implementationType)
| Method Detail |
|---|
public static ClientJsonStreamFactory getInstance()
public static ClientJsonStreamFactory createFactory(JsonStreamFactory.ImplementationType implementationType)
public JsonStream createNewStream(JsonStreamFactory.ImplementationType implementationType)
createNewStream in class JsonStreamFactorypublic GWTJsonStream createNewStreamFromJson(String jsonText)
createNewStreamFromJson in class JsonStreamFactoryprotected JsonStreamFactory.ImplementationType getImplementationType(com.google.gwt.json.client.JSONObject jsonObject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||