public class BlogPostQuery extends Query
Modifier and Type | Class and Description |
---|---|
static class |
BlogPostQuery.OrderBy
Order of entries in a feed.
|
Query.CategoryFilter, Query.CustomParameter, Query.ResultFormat
Constructor and Description |
---|
BlogPostQuery(java.net.URL feedUrl)
Constructs a new query object that targets a feed.
|
Modifier and Type | Method and Description |
---|---|
BlogPostQuery.OrderBy |
getOrderBy()
Returns the order of entries in a feed.
|
void |
setOrderBy(BlogPostQuery.OrderBy orderBy)
Sets the order of entries in a feed.
|
addCategoryFilter, addCustomParameter, getAuthor, getCategoryFilters, getCustomParameters, getCustomParameters, getFeedUrl, getFields, getFullTextQuery, getIntegerCustomParameter, getMaxResults, getPublishedMax, getPublishedMin, getQueryUri, getResultFormat, getStartIndex, getStringCustomParameter, getUpdatedMax, getUpdatedMin, getUrl, isStrict, isValidState, setAuthor, setFields, setFullTextQuery, setIntegerCustomParameter, setMaxResults, setPublishedMax, setPublishedMin, setResultFormat, setStartIndex, setStrict, setStringCustomParameter, setUpdatedMax, setUpdatedMin
public BlogPostQuery(java.net.URL feedUrl)
feedUrl
- the URL of the feed against which queries will be executed.public BlogPostQuery.OrderBy getOrderBy()
public void setOrderBy(BlogPostQuery.OrderBy orderBy)
orderBy
- order of entries in a feed or null
to reset
this parameter to default value BlogPostQuery.OrderBy.PUBLISHED
.