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 newSearchResponseCreatorinstance. -
Method Summary
-
Constructor Details
-
SearchResponseCreator
Creates a newSearchResponseCreatorinstance.- Parameters:
connection- The current client connection instance.
-
-
Method Details
-
createInstance
- Specified by:
createInstancein interfacecom.google.gson.InstanceCreator<SearchResponse>
-