|
||||||||||
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 java.lang.String |
FIELDNAME_CLASSNAME
|
static java.lang.String |
FIELDNAME_CLASSNAME_DEFAULT
|
static java.lang.String |
FIELDNAME_CONTENT
|
static java.lang.String |
FIELDNAME_CONTENT_DEFAULT
|
static java.lang.String |
FIELDNAME_DESCRIPTION
|
static java.lang.String |
FIELDNAME_DESCRIPTION_DEFAULT
|
static java.lang.String |
FIELDNAME_FIELDS
|
static java.lang.String |
FIELDNAME_FIELDS_DEFAULT
|
static java.lang.String |
FIELDNAME_KEY
|
static java.lang.String |
FIELDNAME_KEY_DEFAULT
|
static java.lang.String |
FIELDNAME_KEYWORDS
|
static java.lang.String |
FIELDNAME_KEYWORDS_DEFAULT
|
static java.lang.String |
FIELDNAME_LANGUAGE
|
static java.lang.String |
FIELDNAME_LANGUAGE_DEFAULT
|
static java.lang.String |
FIELDNAME_SCORE
|
static java.lang.String |
FIELDNAME_SCORE_DEFAULT
|
static java.lang.String |
FIELDNAME_SYNTHETIC
|
static java.lang.String |
FIELDNAME_TITLE
|
static java.lang.String |
FIELDNAME_TITLE_DEFAULT
|
static java.lang.String |
FIELDNAME_TYPE
|
static java.lang.String |
FIELDNAME_TYPE_DEFAULT
|
static java.lang.String |
FIELDNAME_URL
|
static java.lang.String |
FIELDNAME_URL_DEFAULT
|
static java.lang.String |
ID
|
static java.lang.String |
OBJECT_TYPE_PDF
|
static java.lang.String |
OBJECT_TYPE_PORTLET
|
static java.lang.String |
OBJECT_TYPE_PORTLET_APPLICATION
|
static java.lang.String |
OBJECT_TYPE_URL
|
Method Summary | |
---|---|
java.lang.String |
getClassName()
Getter for property className. |
java.lang.String |
getContent()
Returns parsed object content (cannot be null) |
java.lang.String |
getDescription()
Returns parsed object description (cannot be null) |
java.util.Map<java.lang.String,java.lang.String> |
getFields()
Returns parsed object searchable fields |
java.lang.String |
getKey()
Returns parsed object key (cannot be null) |
java.lang.String[] |
getKeywords()
Returns parsed object keywords |
java.util.Map |
getKeywordsMap()
|
java.lang.String |
getLanguage()
Returns parsed object language (cannot be null) |
float |
getScore()
Getter for property score. |
java.lang.String |
getTitle()
Returns parsed object title (cannot be null) |
java.lang.String |
getType()
Returns parsed object type (cannot be null) |
java.net.URL |
getURL()
Returns parsed object URL |
void |
setClassName(java.lang.String className)
Setter for property className. |
void |
setContent(java.lang.String content)
Sets parsed object content (cannot be null) |
void |
setDescription(java.lang.String description)
Sets parsed object description (cannot be null) |
void |
setFields(java.util.Map<java.lang.String,java.lang.String> fields)
Sets parsed object searchable fields |
void |
setKey(java.lang.String key)
Sets parsed object key (cannot be null) |
void |
setKeywords(java.lang.String[] keywords)
Sets parsed object keywords |
void |
setKeywordsMap(java.util.Map keywordsMap)
|
void |
setLanguage(java.lang.String language)
Sets parsed object language (cannot be null) |
void |
setScore(float score)
Setter for property score. |
void |
setTitle(java.lang.String title)
Sets parsed object title (cannot be null) |
void |
setType(java.lang.String type)
Sets parsed object type (cannot be null) |
void |
setURL(java.net.URL url)
Sets parsed object URL |
Field Detail |
---|
static final java.lang.String ID
static final java.lang.String FIELDNAME_KEY
static final java.lang.String FIELDNAME_KEY_DEFAULT
static final java.lang.String FIELDNAME_TYPE
static final java.lang.String FIELDNAME_TYPE_DEFAULT
static final java.lang.String FIELDNAME_CONTENT
static final java.lang.String FIELDNAME_CONTENT_DEFAULT
static final java.lang.String FIELDNAME_DESCRIPTION
static final java.lang.String FIELDNAME_DESCRIPTION_DEFAULT
static final java.lang.String FIELDNAME_TITLE
static final java.lang.String FIELDNAME_TITLE_DEFAULT
static final java.lang.String FIELDNAME_LANGUAGE
static final java.lang.String FIELDNAME_LANGUAGE_DEFAULT
static final java.lang.String FIELDNAME_FIELDS
static final java.lang.String FIELDNAME_FIELDS_DEFAULT
static final java.lang.String FIELDNAME_KEYWORDS
static final java.lang.String FIELDNAME_KEYWORDS_DEFAULT
static final java.lang.String FIELDNAME_URL
static final java.lang.String FIELDNAME_URL_DEFAULT
static final java.lang.String FIELDNAME_SCORE
static final java.lang.String FIELDNAME_SCORE_DEFAULT
static final java.lang.String FIELDNAME_CLASSNAME
static final java.lang.String FIELDNAME_CLASSNAME_DEFAULT
static final java.lang.String FIELDNAME_SYNTHETIC
static final java.lang.String OBJECT_TYPE_URL
static final java.lang.String OBJECT_TYPE_PORTLET
static final java.lang.String OBJECT_TYPE_PORTLET_APPLICATION
static final java.lang.String OBJECT_TYPE_PDF
Method Detail |
---|
java.lang.String getKey()
void setKey(java.lang.String key)
type
- java.lang.String getType()
void setType(java.lang.String type)
type
- java.lang.String getContent()
void setContent(java.lang.String content)
content
- java.lang.String getDescription()
void setDescription(java.lang.String description)
description
- java.lang.String[] getKeywords()
void setKeywords(java.lang.String[] keywords)
keywords
- java.lang.String getTitle()
void setTitle(java.lang.String title)
title
- java.lang.String getLanguage()
void setLanguage(java.lang.String language)
language
- java.util.Map<java.lang.String,java.lang.String> getFields()
void setFields(java.util.Map<java.lang.String,java.lang.String> fields)
fields
- java.util.Map getKeywordsMap()
void setKeywordsMap(java.util.Map keywordsMap)
multiKeywords
- java.net.URL getURL()
void setURL(java.net.URL url)
url
- float getScore()
void setScore(float score)
score
- New value of property score.java.lang.String getClassName()
void setClassName(java.lang.String className)
className
- New value of property className.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |