org.gcube.resources.discovery.client.api
Interface ResultParser<R>

Type Parameters:
R - the result type
All Known Implementing Classes:
JAXBParser

public interface ResultParser<R>

Transforms untyped results into typed results.

Author:
Fabio Simeoni
See Also:
DiscoveryClient, Query

Method Summary
 R parse(String result)
          Transforms an untyped result.
 

Method Detail

parse

R parse(String result)
        throws Exception
Transforms an untyped result.

Parameters:
result - the untyped results
Returns:
the typed result
Throws:
Exception - if the result cannot be typed


Copyright © 2013. All Rights Reserved.