Interface SearchParticipantXML.IParsedXMLContent

  • Enclosing class:
    SearchParticipantXML

    protected static interface SearchParticipantXML.IParsedXMLContent
    Class that implements this interface is used to store data obtained during the parsing phase.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addText​(java.lang.String text)
      Adds the text to the content buffer for indexing.
      void addToSummary​(java.lang.String summary)
      Sets the optional summary of the parsed document that can be later rendered for the search hits.
      java.lang.String getLocale()
      Returns the locale of the index.
      void setTitle​(java.lang.String title)
      Sets the title of the parsed document for indexing.
    • Method Detail

      • getLocale

        java.lang.String getLocale()
        Returns the locale of the index.
        Returns:
        the locale string
      • setTitle

        void setTitle​(java.lang.String title)
        Sets the title of the parsed document for indexing.
        Parameters:
        title - the document title
      • addToSummary

        void addToSummary​(java.lang.String summary)
        Sets the optional summary of the parsed document that can be later rendered for the search hits.
        Parameters:
        summary - the short document summary
      • addText

        void addText​(java.lang.String text)
        Adds the text to the content buffer for indexing.
        Parameters:
        text - the text to add to the document content buffer