org.fusesource.restygwt.rebind
Class JsonEncoderDecoderInstanceLocator
java.lang.Object
org.fusesource.restygwt.rebind.JsonEncoderDecoderInstanceLocator
public class JsonEncoderDecoderInstanceLocator
- extends Object
- Author:
- Hiram Chirino
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSON_ENCODER_DECODER_CLASS
public static final String JSON_ENCODER_DECODER_CLASS
JSON_CLASS
public static final String JSON_CLASS
STRING_TYPE
public final JClassType STRING_TYPE
JSON_VALUE_TYPE
public final JClassType JSON_VALUE_TYPE
DOCUMENT_TYPE
public final JClassType DOCUMENT_TYPE
MAP_TYPE
public final JClassType MAP_TYPE
SET_TYPE
public final JClassType SET_TYPE
LIST_TYPE
public final JClassType LIST_TYPE
builtInEncoderDecoders
public final HashMap<JType,String> builtInEncoderDecoders
context
public final GeneratorContext context
logger
public final TreeLogger logger
JsonEncoderDecoderInstanceLocator
public JsonEncoderDecoderInstanceLocator(GeneratorContext context,
TreeLogger logger)
throws UnableToCompleteException
- Throws:
UnableToCompleteException
encodeExpression
public String encodeExpression(JType type,
String expression,
Json.Style style)
throws UnableToCompleteException
- Throws:
UnableToCompleteException
decodeExpression
public String decodeExpression(JType type,
String expression,
Json.Style style)
throws UnableToCompleteException
- Throws:
UnableToCompleteException
error
protected void error(String msg)
throws UnableToCompleteException
- Throws:
UnableToCompleteException
warn
protected void warn(String msg)
throws UnableToCompleteException
- Throws:
UnableToCompleteException
info
protected void info(String msg)
throws UnableToCompleteException
- Throws:
UnableToCompleteException
debug
protected void debug(String msg)
throws UnableToCompleteException
- Throws:
UnableToCompleteException
trace
protected void trace(String msg)
throws UnableToCompleteException
- Throws:
UnableToCompleteException
Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.