org.sonar.wsclient.unmarshallers
Class AbstractUnmarshaller<M extends Model>
java.lang.Object
org.sonar.wsclient.unmarshallers.AbstractUnmarshaller<M>
- All Implemented Interfaces:
- Unmarshaller<M>
- Direct Known Subclasses:
- DependencyTreeUnmarshaller, DependencyUnmarshaller, EventUnmarshaller, FavouriteUnmarshaller, ManualMeasureUnmarshaller, MetricUnmarshaller, PluginUnmarshaller, ProfileUnmarshaller, PropertyUnmarshaller, ResourceSearchUnmarshaller, ResourceUnmarshaller, SourceUnmarshaller, TimeMachineUnmarshaller
public abstract class AbstractUnmarshaller<M extends Model>
- extends Object
- implements Unmarshaller<M>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractUnmarshaller
public AbstractUnmarshaller()
toModel
public final M toModel(String json)
- Specified by:
toModel
in interface Unmarshaller<M extends Model>
toModels
public final List<M> toModels(String json)
- Specified by:
toModels
in interface Unmarshaller<M extends Model>
parse
protected abstract M parse(Object elt)
Copyright © 2009-2014 SonarSource. All Rights Reserved.