org.sonar.wsclient.gwt.unmarshallers
Class AbstractUnmarshaller<MODEL extends Model>
java.lang.Object
org.sonar.wsclient.gwt.unmarshallers.AbstractUnmarshaller<MODEL>
- All Implemented Interfaces:
- Unmarshaller<MODEL>
- Direct Known Subclasses:
- DependencyTreeUnmarshaller, DependencyUnmarshaller, MetricUnmarshaller, PropertyUnmarshaller, ResourceUnmarshaller, SourceUnmarshaller, ViolationUnmarshaller
public abstract class AbstractUnmarshaller<MODEL extends Model>
- extends Object
- implements Unmarshaller<MODEL>
Method Summary |
protected abstract MODEL |
parse(com.google.gwt.json.client.JSONObject json)
|
MODEL |
toModel(com.google.gwt.core.client.JavaScriptObject json)
|
List<MODEL> |
toModels(com.google.gwt.core.client.JavaScriptObject json)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractUnmarshaller
public AbstractUnmarshaller()
toModel
public final MODEL toModel(com.google.gwt.core.client.JavaScriptObject json)
- Specified by:
toModel
in interface Unmarshaller<MODEL extends Model>
toModels
public final List<MODEL> toModels(com.google.gwt.core.client.JavaScriptObject json)
- Specified by:
toModels
in interface Unmarshaller<MODEL extends Model>
parse
protected abstract MODEL parse(com.google.gwt.json.client.JSONObject json)
Copyright © 2009-2010 SonarSource. All Rights Reserved.