Class Query

  • All Implemented Interfaces:
    Cloneable, Iterable<org.apache.abdera.model.Element>, org.apache.abdera.model.Base, org.apache.abdera.model.Element, org.apache.abdera.model.ExtensibleElement

    @Deprecated
    public class Query
    extends org.apache.abdera.model.ExtensibleElementWrapper
    Deprecated.
    Legacy AEM 6.x API.
    Open Search 1.1 Query element: defines a search query that can be performed by search clients.
    This supports all parts of the Open Search 1.1 Url specification.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Query.Role
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      Query​(org.apache.abdera.Abdera abdera)
      Deprecated.
       
      Query​(org.apache.abdera.factory.Factory factory)
      Deprecated.
       
      Query​(org.apache.abdera.model.Element internal)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int getCount()
      Deprecated.
       
      String getInputEncoding()
      Deprecated.
       
      String getOutputEncoding()
      Deprecated.
       
      String getResultsLanguage()
      Deprecated.
       
      Query.Role getRole()
      Deprecated.
       
      String getSearchTerms()
      Deprecated.
       
      int getStartIndex()
      Deprecated.
       
      int getStartPage()
      Deprecated.
       
      String getTitle()
      Deprecated.
       
      int getTotalResults()
      Deprecated.
       
      void setCount​(int count)
      Deprecated.
       
      void setInputEncoding​(String encoding)
      Deprecated.
       
      void setOutputEncoding​(String encoding)
      Deprecated.
       
      void setResultsLanguage​(String language)
      Deprecated.
       
      void setRole​(Query.Role role)
      Deprecated.
       
      void setSearchTerms​(String terms)
      Deprecated.
       
      void setStartIndex​(int startIndex)
      Deprecated.
       
      void setStartPage​(int startPage)
      Deprecated.
       
      void setTitle​(String title)
      Deprecated.
       
      void setTotalResults​(int totalResults)
      Deprecated.
       
      • Methods inherited from class org.apache.abdera.model.ExtensibleElementWrapper

        addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getMustPreserveWhitespace, getSimpleExtension, getSimpleExtension, setMustPreserveWhitespace
      • Methods inherited from class org.apache.abdera.model.ElementWrapper

        addComment, clone, complete, declareNS, discard, equals, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDefaultWriterOptions, getDocument, getElements, getExtensionAttributes, getFactory, getFirstChild, getFirstChild, getInternal, getLanguage, getLanguageTag, getLocale, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, hashCode, iterator, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setParentElement, setText, setText, toString, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
      • Methods inherited from interface org.apache.abdera.model.Base

        addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
      • Methods inherited from interface org.apache.abdera.model.Element

        declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setParentElement, setText, setText
    • Constructor Detail

      • Query

        public Query​(org.apache.abdera.factory.Factory factory)
        Deprecated.
      • Query

        public Query​(org.apache.abdera.Abdera abdera)
        Deprecated.
      • Query

        public Query​(org.apache.abdera.model.Element internal)
        Deprecated.
    • Method Detail

      • getRole

        public Query.Role getRole()
        Deprecated.
      • setRole

        public void setRole​(Query.Role role)
        Deprecated.
      • getTitle

        public String getTitle()
        Deprecated.
      • setTitle

        public void setTitle​(String title)
        Deprecated.
      • getTotalResults

        public int getTotalResults()
        Deprecated.
      • setTotalResults

        public void setTotalResults​(int totalResults)
        Deprecated.
      • getSearchTerms

        public String getSearchTerms()
        Deprecated.
      • setSearchTerms

        public void setSearchTerms​(String terms)
        Deprecated.
      • getCount

        public int getCount()
        Deprecated.
      • setCount

        public void setCount​(int count)
        Deprecated.
      • getStartIndex

        public int getStartIndex()
        Deprecated.
      • setStartIndex

        public void setStartIndex​(int startIndex)
        Deprecated.
      • getStartPage

        public int getStartPage()
        Deprecated.
      • setStartPage

        public void setStartPage​(int startPage)
        Deprecated.
      • getResultsLanguage

        public String getResultsLanguage()
        Deprecated.
      • setResultsLanguage

        public void setResultsLanguage​(String language)
        Deprecated.
      • getInputEncoding

        public String getInputEncoding()
        Deprecated.
      • setInputEncoding

        public void setInputEncoding​(String encoding)
        Deprecated.
      • getOutputEncoding

        public String getOutputEncoding()
        Deprecated.
      • setOutputEncoding

        public void setOutputEncoding​(String encoding)
        Deprecated.