Class SearchResponseCreator
java.lang.Object
com.amilesend.discogs.parse.creator.SearchResponseCreator
- All Implemented Interfaces:
com.google.gson.InstanceCreator<SearchResponse>
public class SearchResponseCreator
extends Object
implements com.google.gson.InstanceCreator<SearchResponse>
A custom
InstanceCreator
implementation that injects the DiscogsConnection
to the
resource type so that method operations can be performed on the SearchResponse
resource.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSearchResponseCreator
(DiscogsConnection connection) Creates a newSearchResponseCreator
instance. -
Method Summary
-
Constructor Details
-
SearchResponseCreator
Creates a newSearchResponseCreator
instance.- Parameters:
connection
- The current client connection instance.
-
-
Method Details
-
createInstance
- Specified by:
createInstance
in interfacecom.google.gson.InstanceCreator<SearchResponse>
-