org.eclipse.help.search
Interface XMLSearchParticipant.IParsedXMLContent
-
Enclosing class:
-
XMLSearchParticipant
-
protected static interface XMLSearchParticipant.IParsedXMLContent
Class that implements this interface is used to store data obtained during the parsing phase.
Method Summary
|
void
|
addText
(
String text)
Adds the text to the content buffer for indexing. |
void
|
addToSummary
(
String summary)
Sets the optional summary of the parsed document that can be later rendered for the
search hits. |
String
|
getLocale
()
Returns the locale of the index. |
void
|
setTitle
(
String title)
Sets the title of the parsed document for indexing. |
getLocale
String getLocale()
- Returns the locale of the index.
-
-
Returns:
- the locale string
setTitle
void setTitle(
String title)
- Sets the title of the parsed document for indexing.
-
-
Parameters:
-
title
- the document title
addToSummary
void addToSummary(
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(
String text)
- Adds the text to the content buffer for indexing.
-
-
Parameters:
-
text
- the text to add to the document content buffer
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.