com.sun.syndication.feed.module
Interface DCModuleI

All Superinterfaces:
java.lang.Cloneable, ModuleI, ToString
All Known Implementing Classes:
DCModule

public interface DCModuleI
extends ModuleI

Dublin Core Module.

Author:
Alejandro Abdelnur
See Also:
Dublin Core module.

Field Summary
static java.lang.String URI
          URI of the Dublin Core Module (http://purl.org/dc/elements/1.1/).
 
Method Summary
 java.util.List getContributors()
          Returns the DublinCore module contributors.
 java.lang.String getCoverage()
          Returns the DublinCore module coverage.
 java.lang.String getCreator()
          Returns the DublinCore module creator.
 java.util.Date getDate()
          Returns the DublinCore module date.
 java.lang.String getDescription()
          Returns the DublinCore module description.
 java.lang.String getFormat()
          Returns the DublinCore module format.
 java.lang.String getIdentifier()
          Returns the DublinCore module identifier.
 java.lang.String getLanguage()
          Returns the DublinCore module language.
 java.lang.String getPublisher()
          Returns the DublinCore module publisher.
 java.lang.String getRelation()
          Returns the DublinCore module relation.
 java.lang.String getRights()
          Returns the DublinCore module rights.
 java.lang.String getSource()
          Returns the DublinCore module source.
 java.util.List getSubjects()
          Returns the DublinCore module subjects.
 java.lang.String getTitle()
          Returns the DublinCore module title.
 java.lang.String getType()
          Returns the DublinCore module type.
 void setContributors(java.util.List contributors)
          Sets the DublinCore module contributors.
 void setCoverage(java.lang.String coverage)
          Sets the DublinCore module coverage.
 void setCreator(java.lang.String creator)
          Sets the DublinCore module creator.
 void setDate(java.util.Date date)
          Sets the DublinCore module date.
 void setDescription(java.lang.String description)
          Sets the DublinCore module description.
 void setFormat(java.lang.String format)
          Sets the DublinCore module format.
 void setIdentifier(java.lang.String identifier)
          Sets the DublinCore module identifier.
 void setLanguage(java.lang.String language)
          Sets the DublinCore module language.
 void setPublisher(java.lang.String publisher)
          Sets the DublinCore module publisher.
 void setRelation(java.lang.String relation)
          Sets the DublinCore module relation.
 void setRights(java.lang.String rights)
          Sets the DublinCore module rights.
 void setSource(java.lang.String source)
          Sets the DublinCore module source.
 void setSubjects(java.util.List subjects)
          Sets the DublinCore module subjects.
 void setTitle(java.lang.String title)
          Sets the DublinCore module title.
 void setType(java.lang.String type)
          Sets the DublinCore module type.
 
Methods inherited from interface com.sun.syndication.feed.module.ModuleI
clone, getUri
 
Methods inherited from interface com.sun.syndication.common.ToString
toString
 

Field Detail

URI

public static final java.lang.String URI
URI of the Dublin Core Module (http://purl.org/dc/elements/1.1/).

See Also:
Constant Field Values
Method Detail

getTitle

public java.lang.String getTitle()
Returns the DublinCore module title.

Returns:
the DublinCore module title, null if none.

setTitle

public void setTitle(java.lang.String title)
Sets the DublinCore module title.

Parameters:
title - the DublinCore module title to set, null if none.

getCreator

public java.lang.String getCreator()
Returns the DublinCore module creator.

Returns:
the DublinCore module creator, null if none.

setCreator

public void setCreator(java.lang.String creator)
Sets the DublinCore module creator.

Parameters:
creator - the DublinCore module creator to set, null if none.

getSubjects

public java.util.List getSubjects()
Returns the DublinCore module subjects.

Returns:
a list of DCSubjectI elements with the DublinCore module subjects, an empty list if none.

setSubjects

public void setSubjects(java.util.List subjects)
Sets the DublinCore module subjects.

Parameters:
subjects - the list of DCSubjectI elements with the DublinCore module subjects to set, an empty list or null if none.

getDescription

public java.lang.String getDescription()
Returns the DublinCore module description.

Returns:
the DublinCore module description, null if none.

setDescription

public void setDescription(java.lang.String description)
Sets the DublinCore module description.

Parameters:
description - the DublinCore module description to set, null if none.

getPublisher

public java.lang.String getPublisher()
Returns the DublinCore module publisher.

Returns:
the DublinCore module publisher, null if none.

setPublisher

public void setPublisher(java.lang.String publisher)
Sets the DublinCore module publisher.

Parameters:
publisher - the DublinCore module publisher to set, null if none.

getContributors

public java.util.List getContributors()
Returns the DublinCore module contributors.

Returns:
a list of String elements with the DublinCore module contributors, an empty list if none.

setContributors

public void setContributors(java.util.List contributors)
Sets the DublinCore module contributors.

Parameters:
contributors - the list of String elements with the DublinCore module contributors to set, an empty list or null if none.

getDate

public java.util.Date getDate()
Returns the DublinCore module date.

Returns:
the DublinCore module date, null if none.

setDate

public void setDate(java.util.Date date)
Sets the DublinCore module date.

Parameters:
date - the DublinCore module date to set, null if none.

getType

public java.lang.String getType()
Returns the DublinCore module type.

Returns:
the DublinCore module type, null if none.

setType

public void setType(java.lang.String type)
Sets the DublinCore module type.

Parameters:
type - the DublinCore module type to set, null if none.

getFormat

public java.lang.String getFormat()
Returns the DublinCore module format.

Returns:
the DublinCore module format, null if none.

setFormat

public void setFormat(java.lang.String format)
Sets the DublinCore module format.

Parameters:
format - the DublinCore module format to set, null if none.

getIdentifier

public java.lang.String getIdentifier()
Returns the DublinCore module identifier.

Returns:
the DublinCore module identifier, null if none.

setIdentifier

public void setIdentifier(java.lang.String identifier)
Sets the DublinCore module identifier.

Parameters:
identifier - the DublinCore module identifier to set, null if none.

getSource

public java.lang.String getSource()
Returns the DublinCore module source.

Returns:
the DublinCore module source, null if none.

setSource

public void setSource(java.lang.String source)
Sets the DublinCore module source.

Parameters:
source - the DublinCore module source to set, null if none.

getLanguage

public java.lang.String getLanguage()
Returns the DublinCore module language.

Returns:
the DublinCore module language, null if none.

setLanguage

public void setLanguage(java.lang.String language)
Sets the DublinCore module language.

Parameters:
language - the DublinCore module language to set, null if none.

getRelation

public java.lang.String getRelation()
Returns the DublinCore module relation.

Returns:
the DublinCore module relation, null if none.

setRelation

public void setRelation(java.lang.String relation)
Sets the DublinCore module relation.

Parameters:
relation - the DublinCore module relation to set, null if none.

getCoverage

public java.lang.String getCoverage()
Returns the DublinCore module coverage.

Returns:
the DublinCore module coverage, null if none.

setCoverage

public void setCoverage(java.lang.String coverage)
Sets the DublinCore module coverage.

Parameters:
coverage - the DublinCore module coverage to set, null if none.

getRights

public java.lang.String getRights()
Returns the DublinCore module rights.

Returns:
the DublinCore module rights, null if none.

setRights

public void setRights(java.lang.String rights)
Sets the DublinCore module rights.

Parameters:
rights - the DublinCore module rights to set, null if none.


Copyright © 2004 Sun Microsystems. All Rights Reserved.