JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
org.biojava.bio.search

Interface SearchContentHandler

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      void addHitProperty (Object key, Object value)
      The addHitProperty method adds a key/value pair containing some property of a particular hit.
      void addSearchProperty (Object key, Object value)
      The addSearchProperty method adds a key/value pair containing some property of the overall search result.
      void addSubHitProperty (Object key, Object value)
      The addSubHitProperty method adds a key/value pair containing some property of a particular subhit.
      void endHeader ()
      The endHeader method indicates the end of a formatted header.
      void endHit ()
      The endHit method indicates the end of a formatted hit.
      void endSearch ()
      The endSearch method indicates the end of useful search information.
      void endSubHit ()
      The endSubHit method indicates the end of a formatted subhit.
      boolean getMoreSearches ()
      getMoreSearches returns the state of the SearchContentHandler with respect to further searches from its data source.
      void setDatabaseID (String databaseID)
      setDatabaseID identifies the database searched by a name, ID or URN.
      void setMoreSearches (boolean value)
      setMoreSearches sets the state of the SearchContentHandler's expectation of receiving more results.
      void setQueryID (String queryID)
      setQueryID identifies the query sequence by a name, ID or URN.
      void startHeader ()
      The startHeader method indicates the start of a formatted header.
      void startHit ()
      The startHit method indicates the start of a formatted hit.
      void startSearch ()
      The startSearch method indicates the start of useful search information.
      void startSubHit ()
      The startSubHit method indicates the start of a formatted subhit.
    • Method Detail

      • getMoreSearches

        boolean getMoreSearches()
        getMoreSearches returns the state of the SearchContentHandler with respect to further searches from its data source. Used for handling streams of search results.
        Returns:
        a boolean value.
      • setMoreSearches

        void setMoreSearches(boolean value)
        setMoreSearches sets the state of the SearchContentHandler's expectation of receiving more results. Used for handling streams of search results.
        Parameters:
        value - a boolean value.
      • startSearch

        void startSearch()
        The startSearch method indicates the start of useful search information.
      • endSearch

        void endSearch()
        The endSearch method indicates the end of useful search information.
      • startHeader

        void startHeader()
        The startHeader method indicates the start of a formatted header. This usually contains information relevant to the search as a whole.
      • endHeader

        void endHeader()
        The endHeader method indicates the end of a formatted header.
      • startHit

        void startHit()
        The startHit method indicates the start of a formatted hit. This could be a single line, or a block of lines.
      • endHit

        void endHit()
        The endHit method indicates the end of a formatted hit.
      • startSubHit

        void startSubHit()
        The startSubHit method indicates the start of a formatted subhit. There may be zero or more of these per hit.
      • endSubHit

        void endSubHit()
        The endSubHit method indicates the end of a formatted subhit.
      • addSearchProperty

        void addSearchProperty(Object key,
         Object value)
        The addSearchProperty method adds a key/value pair containing some property of the overall search result.
        Parameters:
        key - an Object.
        value - an Object.
      • addHitProperty

        void addHitProperty(Object key,
         Object value)
        The addHitProperty method adds a key/value pair containing some property of a particular hit.
        Parameters:
        key - an Object.
        value - an Object.
      • addSubHitProperty

        void addSubHitProperty(Object key,
         Object value)
        The addSubHitProperty method adds a key/value pair containing some property of a particular subhit.
        Parameters:
        key - an Object.
        value - an Object.
      • setQueryID

        void setQueryID(String queryID)
        setQueryID identifies the query sequence by a name, ID or URN.
        Parameters:
        queryID - a String which should be an unique identifer for the sequence.
      • setDatabaseID

        void setDatabaseID(String databaseID)
        setDatabaseID identifies the database searched by a name, ID or URN.
        Parameters:
        databaseID - a String which should be an unique identifier for the database searched.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 2020 BioJava. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /