public class

VolumeQuery

extends Query
java.lang.Object
   ↳ com.google.gdata.client.Query
     ↳ com.google.gdata.client.books.VolumeQuery

Class Overview

Describes a query for the feed of information about one volume.

Summary

Nested Classes
enum VolumeQuery.MinViewability Min-viewability. 
[Expand]
Inherited Constants
From class com.google.gdata.client.Query
Fields
private String ebook Ebook.
private VolumeQuery.MinViewability minViewability Min-viewability.
[Expand]
Inherited Fields
From class com.google.gdata.client.Query
Public Constructors
VolumeQuery(URL feedUrl)
Constructs a new query object that targets a feed.
Public Methods
String getEbook()
Returns the ebook.
VolumeQuery.MinViewability getMinViewability()
Returns the min-viewability.
void setEbook(String ebook)
Sets the ebook.
void setMinViewability(VolumeQuery.MinViewability minViewability)
Sets the min-viewability.
[Expand]
Inherited Methods
From class com.google.gdata.client.Query
From class java.lang.Object

Fields

private String ebook

Ebook.

private VolumeQuery.MinViewability minViewability

Min-viewability.

Public Constructors

public VolumeQuery (URL feedUrl)

Constructs a new query object that targets a feed. The initial state of the query contains no parameters, meaning all entries in the feed would be returned if the query was executed immediately after construction.

Parameters
feedUrl The URL of the feed against which queries will be executed.

Public Methods

public String getEbook ()

Returns the ebook.

Returns
  • ebook or null to indicate that the parameter is not set.

public VolumeQuery.MinViewability getMinViewability ()

Returns the min-viewability.

Returns
  • min-viewability.

public void setEbook (String ebook)

Sets the ebook.

Parameters
ebook Ebook or null to remove this parameter if set.

public void setMinViewability (VolumeQuery.MinViewability minViewability)

Sets the min-viewability.

Parameters
minViewability Min-viewability or null to reset this parameter to default value NONE.