org.apache.abdera.ext.opensearch
Class Query

java.lang.Object
  extended by org.apache.abdera.model.ElementWrapper
      extended by org.apache.abdera.ext.opensearch.Query
All Implemented Interfaces:
java.lang.Cloneable, Base, Element

public class Query
extends ElementWrapper


Nested Class Summary
static class Query.Role
           
 
Constructor Summary
Query(Abdera abdera)
           
Query(Element internal)
           
Query(ExtensibleElement parent)
           
Query(Factory factory)
           
 
Method Summary
 int getCount()
           
 java.lang.String getInputEncoding()
           
 java.lang.String getLanguage()
          Returns the value of this elements xml:lang attribute or null if xml:lang is undefined.
 java.lang.String getOutputEncoding()
           
 Query.Role getRole()
           
 java.lang.String getSearchTerms()
           
 int getStartIndex()
           
 int getStartPage()
           
 java.lang.String getTitle()
           
 int getTotalResults()
           
 int hashCode()
           
 void setCount(int count)
           
 void setInputEncoding(java.lang.String encoding)
           
 void setLanguage(java.lang.String language)
          Sets the value of this elements xml:lang attribute.
 void setOutputEncoding(java.lang.String encoding)
           
 void setRole(Query.Role role)
           
 void setSearchTerms(java.lang.String terms)
           
 void setStartIndex(int startIndex)
           
 void setStartPage(int startPage)
           
 void setTitle(java.lang.String title)
           
 void setTotalResults(int totalResults)
           
 
Methods inherited from class org.apache.abdera.model.ElementWrapper
addComment, clone, declareNS, discard, equals, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getExtensionAttributes, getFactory, getFirstChild, getFirstChild, getInternal, getLanguageTag, getLocale, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setParentElement, setText, toString, writeTo, writeTo
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Query

public Query(Element internal)

Query

public Query(Factory factory)

Query

public Query(Abdera abdera)

Query

public Query(ExtensibleElement parent)
Method Detail

getRole

public Query.Role getRole()

setRole

public void setRole(Query.Role role)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getTotalResults

public int getTotalResults()

setTotalResults

public void setTotalResults(int totalResults)

getSearchTerms

public java.lang.String getSearchTerms()

setSearchTerms

public void setSearchTerms(java.lang.String terms)

getCount

public int getCount()

setCount

public void setCount(int count)

getStartIndex

public int getStartIndex()

setStartIndex

public void setStartIndex(int startIndex)

getStartPage

public int getStartPage()

setStartPage

public void setStartPage(int startPage)

getLanguage

public java.lang.String getLanguage()
Description copied from interface: Element
Returns the value of this elements xml:lang attribute or null if xml:lang is undefined.

Specified by:
getLanguage in interface Element
Overrides:
getLanguage in class ElementWrapper
Returns:
The xml:lang value

setLanguage

public void setLanguage(java.lang.String language)
Description copied from interface: Element
Sets the value of this elements xml:lang attribute.

Specified by:
setLanguage in interface Element
Overrides:
setLanguage in class ElementWrapper
Parameters:
language - the value of the xml:lang element

getInputEncoding

public java.lang.String getInputEncoding()

setInputEncoding

public void setInputEncoding(java.lang.String encoding)

getOutputEncoding

public java.lang.String getOutputEncoding()

setOutputEncoding

public void setOutputEncoding(java.lang.String encoding)

hashCode

public int hashCode()
Overrides:
hashCode in class ElementWrapper