|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParsedObject
Contract for implementing a specific parsed object.
Field Summary | |
---|---|
static String |
FIELDNAME_CLASSNAME
|
static String |
FIELDNAME_CLASSNAME_DEFAULT
|
static String |
FIELDNAME_CONTENT
|
static String |
FIELDNAME_CONTENT_DEFAULT
|
static String |
FIELDNAME_DESCRIPTION
|
static String |
FIELDNAME_DESCRIPTION_DEFAULT
|
static String |
FIELDNAME_FIELDS
|
static String |
FIELDNAME_FIELDS_DEFAULT
|
static String |
FIELDNAME_KEY
|
static String |
FIELDNAME_KEY_DEFAULT
|
static String |
FIELDNAME_KEYWORDS
|
static String |
FIELDNAME_KEYWORDS_DEFAULT
|
static String |
FIELDNAME_LANGUAGE
|
static String |
FIELDNAME_LANGUAGE_DEFAULT
|
static String |
FIELDNAME_SCORE
|
static String |
FIELDNAME_SCORE_DEFAULT
|
static String |
FIELDNAME_TITLE
|
static String |
FIELDNAME_TITLE_DEFAULT
|
static String |
FIELDNAME_TYPE
|
static String |
FIELDNAME_TYPE_DEFAULT
|
static String |
FIELDNAME_URL
|
static String |
FIELDNAME_URL_DEFAULT
|
static String |
OBJECT_TYPE_PDF
|
static String |
OBJECT_TYPE_PORTLET
|
static String |
OBJECT_TYPE_PORTLET_APPLICATION
|
static String |
OBJECT_TYPE_URL
|
Method Summary | |
---|---|
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 |
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 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 |
Field Detail |
---|
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 OBJECT_TYPE_URL
static final String OBJECT_TYPE_PORTLET
static final String OBJECT_TYPE_PORTLET_APPLICATION
static final String OBJECT_TYPE_PDF
Method Detail |
---|
String getKey()
void setKey(String key)
type
- 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
- Map getFields()
void setFields(Map fields)
fields
- Map getKeywordsMap()
void setKeywordsMap(Map keywordsMap)
multiKeywords
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |