org.apache.jetspeed.search
Interface ParsedObject


public interface ParsedObject

Contract for implementing a specific parsed object.

Version:
$Id: ParsedObject.java 966940 2010-07-23 02:56:13Z woonsan $
Author:
Mark Orciuch

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

ID

static final java.lang.String ID
See Also:
Constant Field Values

FIELDNAME_KEY

static final java.lang.String FIELDNAME_KEY
See Also:
Constant Field Values

FIELDNAME_KEY_DEFAULT

static final java.lang.String FIELDNAME_KEY_DEFAULT
See Also:
Constant Field Values

FIELDNAME_TYPE

static final java.lang.String FIELDNAME_TYPE
See Also:
Constant Field Values

FIELDNAME_TYPE_DEFAULT

static final java.lang.String FIELDNAME_TYPE_DEFAULT
See Also:
Constant Field Values

FIELDNAME_CONTENT

static final java.lang.String FIELDNAME_CONTENT
See Also:
Constant Field Values

FIELDNAME_CONTENT_DEFAULT

static final java.lang.String FIELDNAME_CONTENT_DEFAULT
See Also:
Constant Field Values

FIELDNAME_DESCRIPTION

static final java.lang.String FIELDNAME_DESCRIPTION
See Also:
Constant Field Values

FIELDNAME_DESCRIPTION_DEFAULT

static final java.lang.String FIELDNAME_DESCRIPTION_DEFAULT
See Also:
Constant Field Values

FIELDNAME_TITLE

static final java.lang.String FIELDNAME_TITLE
See Also:
Constant Field Values

FIELDNAME_TITLE_DEFAULT

static final java.lang.String FIELDNAME_TITLE_DEFAULT
See Also:
Constant Field Values

FIELDNAME_LANGUAGE

static final java.lang.String FIELDNAME_LANGUAGE
See Also:
Constant Field Values

FIELDNAME_LANGUAGE_DEFAULT

static final java.lang.String FIELDNAME_LANGUAGE_DEFAULT
See Also:
Constant Field Values

FIELDNAME_FIELDS

static final java.lang.String FIELDNAME_FIELDS
See Also:
Constant Field Values

FIELDNAME_FIELDS_DEFAULT

static final java.lang.String FIELDNAME_FIELDS_DEFAULT
See Also:
Constant Field Values

FIELDNAME_KEYWORDS

static final java.lang.String FIELDNAME_KEYWORDS
See Also:
Constant Field Values

FIELDNAME_KEYWORDS_DEFAULT

static final java.lang.String FIELDNAME_KEYWORDS_DEFAULT
See Also:
Constant Field Values

FIELDNAME_URL

static final java.lang.String FIELDNAME_URL
See Also:
Constant Field Values

FIELDNAME_URL_DEFAULT

static final java.lang.String FIELDNAME_URL_DEFAULT
See Also:
Constant Field Values

FIELDNAME_SCORE

static final java.lang.String FIELDNAME_SCORE
See Also:
Constant Field Values

FIELDNAME_SCORE_DEFAULT

static final java.lang.String FIELDNAME_SCORE_DEFAULT
See Also:
Constant Field Values

FIELDNAME_CLASSNAME

static final java.lang.String FIELDNAME_CLASSNAME
See Also:
Constant Field Values

FIELDNAME_CLASSNAME_DEFAULT

static final java.lang.String FIELDNAME_CLASSNAME_DEFAULT
See Also:
Constant Field Values

FIELDNAME_SYNTHETIC

static final java.lang.String FIELDNAME_SYNTHETIC
See Also:
Constant Field Values

OBJECT_TYPE_URL

static final java.lang.String OBJECT_TYPE_URL
See Also:
Constant Field Values

OBJECT_TYPE_PORTLET

static final java.lang.String OBJECT_TYPE_PORTLET
See Also:
Constant Field Values

OBJECT_TYPE_PORTLET_APPLICATION

static final java.lang.String OBJECT_TYPE_PORTLET_APPLICATION
See Also:
Constant Field Values

OBJECT_TYPE_PDF

static final java.lang.String OBJECT_TYPE_PDF
See Also:
Constant Field Values
Method Detail

getKey

java.lang.String getKey()
Returns parsed object key (cannot be null)

Returns:

setKey

void setKey(java.lang.String key)
Sets parsed object key (cannot be null)

Parameters:
type -

getType

java.lang.String getType()
Returns parsed object type (cannot be null)

Returns:

setType

void setType(java.lang.String type)
Sets parsed object type (cannot be null)

Parameters:
type -

getContent

java.lang.String getContent()
Returns parsed object content (cannot be null)

Returns:

setContent

void setContent(java.lang.String content)
Sets parsed object content (cannot be null)

Parameters:
content -

getDescription

java.lang.String getDescription()
Returns parsed object description (cannot be null)

Returns:

setDescription

void setDescription(java.lang.String description)
Sets parsed object description (cannot be null)

Parameters:
description -

getKeywords

java.lang.String[] getKeywords()
Returns parsed object keywords

Returns:

setKeywords

void setKeywords(java.lang.String[] keywords)
Sets parsed object keywords

Parameters:
keywords -

getTitle

java.lang.String getTitle()
Returns parsed object title (cannot be null)

Returns:

setTitle

void setTitle(java.lang.String title)
Sets parsed object title (cannot be null)

Parameters:
title -

getLanguage

java.lang.String getLanguage()
Returns parsed object language (cannot be null)

Returns:

setLanguage

void setLanguage(java.lang.String language)
Sets parsed object language (cannot be null)

Parameters:
language -

getFields

java.util.Map<java.lang.String,java.lang.String> getFields()
Returns parsed object searchable fields

Returns:

setFields

void setFields(java.util.Map<java.lang.String,java.lang.String> fields)
Sets parsed object searchable fields

Parameters:
fields -

getKeywordsMap

java.util.Map getKeywordsMap()
Returns:

setKeywordsMap

void setKeywordsMap(java.util.Map keywordsMap)
Parameters:
multiKeywords -

getURL

java.net.URL getURL()
Returns parsed object URL

Returns:

setURL

void setURL(java.net.URL url)
Sets parsed object URL

Parameters:
url -

getScore

float getScore()
Getter for property score.

Returns:
Value of property score.

setScore

void setScore(float score)
Setter for property score.

Parameters:
score - New value of property score.

getClassName

java.lang.String getClassName()
Getter for property className.

Returns:
Value of property className.

setClassName

void setClassName(java.lang.String className)
Setter for property className.

Parameters:
className - New value of property className.


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.