public interface ParsedObject
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Getter for property className.
|
String |
getContent()
Returns parsed object content (cannot be null)
|
String |
getDescription()
Returns parsed object description (cannot be null)
|
Map<String,String> |
getFields()
Returns parsed object searchable fields
|
String |
getKey()
Returns parsed object key (cannot be null)
|
String[] |
getKeywords()
Returns parsed object keywords
|
Map |
getKeywordsMap() |
String |
getLanguage()
Returns parsed object language (cannot be null)
|
float |
getScore()
Getter for property score.
|
String |
getTitle()
Returns parsed object title (cannot be null)
|
String |
getType()
Returns parsed object type (cannot be null)
|
URL |
getURL()
Returns parsed object URL
|
void |
setClassName(String className)
Setter for property className.
|
void |
setContent(String content)
Sets parsed object content (cannot be null)
|
void |
setDescription(String description)
Sets parsed object description (cannot be null)
|
void |
setFields(Map<String,String> fields)
Sets parsed object searchable fields
|
void |
setKey(String key)
Sets parsed object key (cannot be null)
|
void |
setKeywords(String[] keywords)
Sets parsed object keywords
|
void |
setKeywordsMap(Map keywordsMap) |
void |
setLanguage(String language)
Sets parsed object language (cannot be null)
|
void |
setScore(float score)
Setter for property score.
|
void |
setTitle(String title)
Sets parsed object title (cannot be null)
|
void |
setType(String type)
Sets parsed object type (cannot be null)
|
void |
setURL(URL url)
Sets parsed object URL
|
static final String ID
static final String FIELDNAME_KEY
static final String FIELDNAME_KEY_DEFAULT
static final String FIELDNAME_TYPE
static final String FIELDNAME_TYPE_DEFAULT
static final String FIELDNAME_CONTENT
static final String FIELDNAME_CONTENT_DEFAULT
static final String FIELDNAME_DESCRIPTION
static final String FIELDNAME_DESCRIPTION_DEFAULT
static final String FIELDNAME_TITLE
static final String FIELDNAME_TITLE_DEFAULT
static final String FIELDNAME_LANGUAGE
static final String FIELDNAME_LANGUAGE_DEFAULT
static final String FIELDNAME_FIELDS
static final String FIELDNAME_FIELDS_DEFAULT
static final String FIELDNAME_KEYWORDS
static final String FIELDNAME_KEYWORDS_DEFAULT
static final String FIELDNAME_URL
static final String FIELDNAME_URL_DEFAULT
static final String FIELDNAME_SCORE
static final String FIELDNAME_SCORE_DEFAULT
static final String FIELDNAME_CLASSNAME
static final String FIELDNAME_CLASSNAME_DEFAULT
static final String FIELDNAME_SYNTHETIC
static final String OBJECT_TYPE_URL
static final String OBJECT_TYPE_PORTLET
static final String OBJECT_TYPE_PORTLET_APPLICATION
static final String OBJECT_TYPE_PDF
String getKey()
void setKey(String key)
key
- String getType()
void setType(String type)
type
- String getContent()
void setContent(String content)
content
- String getDescription()
void setDescription(String description)
description
- String[] getKeywords()
void setKeywords(String[] keywords)
keywords
- String getTitle()
void setTitle(String title)
title
- String getLanguage()
void setLanguage(String language)
language
- void setFields(Map<String,String> fields)
fields
- Map getKeywordsMap()
void setKeywordsMap(Map keywordsMap)
keywordsMap
- URL getURL()
void setURL(URL url)
url
- float getScore()
void setScore(float score)
score
- New value of property score.String getClassName()
void setClassName(String className)
className
- New value of property className.Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.