Class Query


  • public class Query
    extends Object
    Defines a search query.
    • Constructor Detail

      • Query

        public Query()
    • Method Detail

      • text

        public String text()
        Get the text value.
        Returns:
        the text value
      • withText

        public Query withText​(String text)
        Set the text value.
        Parameters:
        text - the text value to set
        Returns:
        the Query object itself.
      • displayText

        public String displayText()
        Get the displayText value.
        Returns:
        the displayText value
      • webSearchUrl

        public String webSearchUrl()
        Get the webSearchUrl value.
        Returns:
        the webSearchUrl value
      • searchLink

        public String searchLink()
        Get the searchLink value.
        Returns:
        the searchLink value