|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a document in the search result.
| Method Summary | |
void |
addLocalProperty(IProperty property)
Adds a new local property. |
java.lang.String |
getContentSnippet()
Returns the content snippet. |
IPropertyMap |
getLocalProperties()
Return the local properties, including the content snippet. |
float |
getRankValue()
Specifies how good the result document fits to the search query. |
IResource |
getResource()
|
java.lang.String |
getResultLanguage()
Document language if it was returned with the search result. |
void |
setContentSnippet(java.lang.String contentSnippet)
Sets the content snippet. |
void |
setLocalProperties(IPropertyMap propertyMap)
Sets the local properties. |
void |
setResultLanguage(java.lang.String language)
Sets the document language. |
| Method Detail |
public IResource getResource()
public float getRankValue()
public java.lang.String getResultLanguage()
null if not available.public void setResultLanguage(java.lang.String language)
document - language
public void setContentSnippet(java.lang.String contentSnippet)
throws ResourceException
contentSnippet - ResourceException - in case of a failure.
public java.lang.String getContentSnippet()
throws ResourceException
null if not available.ResourceException - in case of a failure.public void setLocalProperties(IPropertyMap propertyMap)
propertyMap - which contains new local properties.public IPropertyMap getLocalProperties()
public void addLocalProperty(IProperty property)
property - the new property
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||