Top Description Fields Methods
com.rometools.rome.feed.module

public Interface DCModule

extends Module
Known Direct Implementers
com.rometools.rome.feed.module.DCModuleImpl
Imports
java.util.Date, .List

Dublin Core Module.

See Also
Dublin Core module

Field Summary

Modifier and TypeField and Description
public static final String
URI

URI of the Dublin Core Module (http://purl.org/dc/elements/1.1/).

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the first DublinCore module contributor, null if none.
getContributor
()

Gets the DublinCore module contributor.

public List<String>

Returns:

a list of Strings representing the DublinCore module contributor, an empty list if none.
getContributors
()

Returns the DublinCore module contributor.

public String

Returns:

the first DublinCore module coverage, null if none.
getCoverage
()

Gets the DublinCore module coverage.

public List<String>

Returns:

a list of Strings representing the DublinCore module coverage, an empty list if none.
getCoverages
()

Returns the DublinCore module coverage.

public String

Returns:

the first DublinCore module creator, null if none.
getCreator
()

Gets the DublinCore module creator.

public List<String>

Returns:

a list of Strings representing the DublinCore module creator, an empty list if none.
getCreators
()

Returns the DublinCore module creator.

public Date

Returns:

the first DublinCore module date, null if none.
getDate
()

Gets the DublinCore module date.

public List<Date>

Returns:

a list of Strings representing the DublinCore module date, an empty list if none.
getDates
()

Returns the DublinCore module date.

public String

Returns:

the first DublinCore module description, null if none.
getDescription
()

Gets the DublinCore module description.

public List<String>

Returns:

a list of Strings representing the DublinCore module description, an empty list if none.
getDescriptions
()

Returns the DublinCore module description.

public String

Returns:

the first DublinCore module format, null if none.
getFormat
()

Gets the DublinCore module format.

public List<String>

Returns:

a list of Strings representing the DublinCore module format, an empty list if none.
getFormats
()

Returns the DublinCore module format.

public String

Returns:

the first DublinCore module identifier, null if none.
getIdentifier
()

Gets the DublinCore module identifier.

public List<String>

Returns:

a list of Strings representing the DublinCore module identifier, an empty list if none.
getIdentifiers
()

Returns the DublinCore module identifier.

public String

Returns:

the first DublinCore module language, null if none.
getLanguage
()

Gets the DublinCore module language.

public List<String>

Returns:

a list of Strings representing the DublinCore module language, an empty list if none.
getLanguages
()

Returns the DublinCore module language.

public String

Returns:

the first DublinCore module publisher, null if none.
getPublisher
()

Gets the DublinCore module publisher.

public List<String>

Returns:

a list of Strings representing the DublinCore module publisher, an empty list if none.
getPublishers
()

Returns the DublinCore module publisher.

public String

Returns:

the first DublinCore module relation, null if none.
getRelation
()

Gets the DublinCore module relation.

public List<String>

Returns:

a list of Strings representing the DublinCore module relation, an empty list if none.
getRelations
()

Returns the DublinCore module relation.

public String

Returns:

the first DublinCore module right, null if none.
getRights
()

Gets the DublinCore module right.

public List<String>

Returns:

a list of Strings representing the DublinCore module rights, an empty list if none.
getRightsList
()

Returns the DublinCore module rights.

public String

Returns:

the first DublinCore module creator, null if none.
getSource
()

Gets the DublinCore module subject.

public List<String>

Returns:

a list of Strings representing the DublinCore module source, an empty list if none.
getSources
()

Returns the DublinCore module source.

public DCSubject

Returns:

the first DublinCore module subject, null if none.
getSubject
()

Gets the DublinCore module subject.

public List<DCSubject>

Returns:

a list of DCSubject elements with the DublinCore module subjects, an empty list if none.
getSubjects
()

Returns the DublinCore module subjects.

public String

Returns:

the first DublinCore module title, null if none.
getTitle
()

Gets the DublinCore module title.

public List<String>

Returns:

a list of Strings representing the DublinCore module title, an empty list if none.
getTitles
()

Returns the DublinCore module titles.

public String

Returns:

the first DublinCore module type, null if none.
getType
()

Gets the DublinCore module type.

public List<String>

Returns:

a list of Strings representing the DublinCore module type, an empty list if none.
getTypes
()

Returns the DublinCore module type.

public void
setContributor(String
the DublinCore module contributor to set, null if none.
contributor
)

Sets the DublinCore module contributor.

public void
setContributors(List<String>
the list of String representing the DublinCore module contributors to set, an empty list or null if none.
contributors
)

Sets the DublinCore module contributors.

public void
setCoverage(String
the DublinCore module coverage to set, null if none.
coverage
)

Sets the DublinCore module coverage.

public void
setCoverages(List<String>
the list of String representing the DublinCore module coverages to set, an empty list or null if none.
coverages
)

Sets the DublinCore module coverages.

public void
setCreator(String
the DublinCore module creator to set, null if none.
creator
)

Sets the DublinCore module creator.

public void
setCreators(List<String>
the list of String representing the DublinCore module creators to set, an empty list or null if none.
creators
)

Sets the DublinCore module creators.

public void
setDate(Date
the DublinCore module date to set, null if none.
date
)

Sets the DublinCore module date.

public void
setDates(List<Date>
the list of Date representing the DublinCore module dates to set, an empty list or null if none.
dates
)

Sets the DublinCore module dates.

public void
setDescription(String
the DublinCore module description to set, null if none.
description
)

Sets the DublinCore module description.

public void
setDescriptions(List<String>
the list of String representing the DublinCore module descriptions to set, an empty list or null if none.
descriptions
)

Sets the DublinCore module descriptions.

public void
setFormat(String
the DublinCore module format to set, null if none.
format
)

Sets the DublinCore module format.

public void
setFormats(List<String>
the list of String representing the DublinCore module formats to set, an empty list or null if none.
formats
)

Sets the DublinCore module formats.

public void
setIdentifier(String
the DublinCore module identifier to set, null if none.
identifier
)

Sets the DublinCore module identifier.

public void
setIdentifiers(List<String>
the list of String representing the DublinCore module identifiers to set, an empty list or null if none.
identifiers
)

Sets the DublinCore module identifiers.

public void
setLanguage(String
the DublinCore module language to set, null if none.
language
)

Sets the DublinCore module language.

public void
setLanguages(List<String>
the list of String representing the DublinCore module languages to set, an empty list or null if none.
languages
)

Sets the DublinCore module languages.

public void
setPublisher(String
the DublinCore module publisher to set, null if none.
publisher
)

Sets the DublinCore module publisher.

public void
setPublishers(List<String>
the list of String representing the DublinCore module publishers to set, an empty list or null if none.
publishers
)

Sets the DublinCore module publishers.

public void
setRelation(String
the DublinCore module relation to set, null if none.
relation
)

Sets the DublinCore module relation.

public void
setRelations(List<String>
the list of String representing the DublinCore module relations to set, an empty list or null if none.
relations
)

Sets the DublinCore module relations.

public void
setRights(String
the DublinCore module rights to set, null if none.
rights
)

Sets the DublinCore module rights.

public void
setRightsList(List<String>
the list of String representing the DublinCore module rights to set, an empty list or null if none.
rights
)

Sets the DublinCore module rightss.

public void
setSource(String
the DublinCore module source to set, null if none.
source
)

Sets the DublinCore module source.

public void
setSources(List<String>
the list of String representing the DublinCore module sources to set, an empty list or null if none.
sources
)

Sets the DublinCore module sources.

public void
setSubject(DCSubject
the DublinCore module subject to set, null if none.
subject
)

Sets the DCSubject element.

public void
setSubjects(List<DCSubject>
the list of DCSubject elements with the DublinCore module subjects to set, an empty list or null if none.
subjects
)

Sets the DublinCore module subjects.

public void
setTitle(String
the DublinCore module title to set, null if none.
title
)

Sets the DublinCore module title.

public void
setTitles(List<String>
the list of String representing the DublinCore module titles to set, an empty list or null if none.
titles
)

Sets the DublinCore module titles.

public void
setType(String
the DublinCore module type to set, null if none.
type
)

Sets the DublinCore module type.

public void
setTypes(List<String>
the list of String representing the DublinCore module types to set, an empty list or null if none.
types
)

Sets the DublinCore module types.

Inherited from com.rometools.rome.feed.module.Module:
clonegetUri

Field Detail

URIback to summary
public static final String URI

URI of the Dublin Core Module (http://purl.org/dc/elements/1.1/).

Method Detail

getContributorback to summary
public String getContributor()

Gets the DublinCore module contributor. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module contributor, null if none.

getContributorsback to summary
public List<String> getContributors()

Returns the DublinCore module contributor.

Returns:List<String>

a list of Strings representing the DublinCore module contributor, an empty list if none.

getCoverageback to summary
public String getCoverage()

Gets the DublinCore module coverage. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module coverage, null if none.

getCoveragesback to summary
public List<String> getCoverages()

Returns the DublinCore module coverage.

Returns:List<String>

a list of Strings representing the DublinCore module coverage, an empty list if none.

getCreatorback to summary
public String getCreator()

Gets the DublinCore module creator. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module creator, null if none.

getCreatorsback to summary
public List<String> getCreators()

Returns the DublinCore module creator.

Returns:List<String>

a list of Strings representing the DublinCore module creator, an empty list if none.

getDateback to summary
public Date getDate()

Gets the DublinCore module date. Convenience method that can be used to obtain the first item, null if none.

Returns:Date

the first DublinCore module date, null if none.

getDatesback to summary
public List<Date> getDates()

Returns the DublinCore module date.

Returns:List<Date>

a list of Strings representing the DublinCore module date, an empty list if none.

getDescriptionback to summary
public String getDescription()

Gets the DublinCore module description. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module description, null if none.

getDescriptionsback to summary
public List<String> getDescriptions()

Returns the DublinCore module description.

Returns:List<String>

a list of Strings representing the DublinCore module description, an empty list if none.

getFormatback to summary
public String getFormat()

Gets the DublinCore module format. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module format, null if none.

getFormatsback to summary
public List<String> getFormats()

Returns the DublinCore module format.

Returns:List<String>

a list of Strings representing the DublinCore module format, an empty list if none.

getIdentifierback to summary
public String getIdentifier()

Gets the DublinCore module identifier. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module identifier, null if none.

getIdentifiersback to summary
public List<String> getIdentifiers()

Returns the DublinCore module identifier.

Returns:List<String>

a list of Strings representing the DublinCore module identifier, an empty list if none.

getLanguageback to summary
public String getLanguage()

Gets the DublinCore module language. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module language, null if none.

getLanguagesback to summary
public List<String> getLanguages()

Returns the DublinCore module language.

Returns:List<String>

a list of Strings representing the DublinCore module language, an empty list if none.

getPublisherback to summary
public String getPublisher()

Gets the DublinCore module publisher. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module publisher, null if none.

getPublishersback to summary
public List<String> getPublishers()

Returns the DublinCore module publisher.

Returns:List<String>

a list of Strings representing the DublinCore module publisher, an empty list if none.

getRelationback to summary
public String getRelation()

Gets the DublinCore module relation. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module relation, null if none.

getRelationsback to summary
public List<String> getRelations()

Returns the DublinCore module relation.

Returns:List<String>

a list of Strings representing the DublinCore module relation, an empty list if none.

getRightsback to summary
public String getRights()

Gets the DublinCore module right. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module right, null if none.

getRightsListback to summary
public List<String> getRightsList()

Returns the DublinCore module rights.

Returns:List<String>

a list of Strings representing the DublinCore module rights, an empty list if none.

getSourceback to summary
public String getSource()

Gets the DublinCore module subject. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module creator, null if none.

getSourcesback to summary
public List<String> getSources()

Returns the DublinCore module source.

Returns:List<String>

a list of Strings representing the DublinCore module source, an empty list if none.

getSubjectback to summary
public DCSubject getSubject()

Gets the DublinCore module subject. Convenience method that can be used to obtain the first item, null if none.

Returns:DCSubject

the first DublinCore module subject, null if none.

getSubjectsback to summary
public List<DCSubject> getSubjects()

Returns the DublinCore module subjects.

Returns:List<DCSubject>

a list of DCSubject elements with the DublinCore module subjects, an empty list if none.

getTitleback to summary
public String getTitle()

Gets the DublinCore module title. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module title, null if none.

getTitlesback to summary
public List<String> getTitles()

Returns the DublinCore module titles.

Returns:List<String>

a list of Strings representing the DublinCore module title, an empty list if none.

getTypeback to summary
public String getType()

Gets the DublinCore module type. Convenience method that can be used to obtain the first item, null if none.

Returns:String

the first DublinCore module type, null if none.

getTypesback to summary
public List<String> getTypes()

Returns the DublinCore module type.

Returns:List<String>

a list of Strings representing the DublinCore module type, an empty list if none.

setContributorback to summary
public void setContributor(String contributor)

Sets the DublinCore module contributor. Convenience method that can be used when there is only one contributor to set.

Parameters
contributor:String

the DublinCore module contributor to set, null if none.

setContributorsback to summary
public void setContributors(List<String> contributors)

Sets the DublinCore module contributors.

Parameters
contributors:List<String>

the list of String representing the DublinCore module contributors to set, an empty list or null if none.

setCoverageback to summary
public void setCoverage(String coverage)

Sets the DublinCore module coverage. Convenience method that can be used when there is only one coverage to set.

Parameters
coverage:String

the DublinCore module coverage to set, null if none.

setCoveragesback to summary
public void setCoverages(List<String> coverages)

Sets the DublinCore module coverages.

Parameters
coverages:List<String>

the list of String representing the DublinCore module coverages to set, an empty list or null if none.

setCreatorback to summary
public void setCreator(String creator)

Sets the DublinCore module creator. Convenience method that can be used when there is only one creator to set.

Parameters
creator:String

the DublinCore module creator to set, null if none.

setCreatorsback to summary
public void setCreators(List<String> creators)

Sets the DublinCore module creators.

Parameters
creators:List<String>

the list of String representing the DublinCore module creators to set, an empty list or null if none.

setDateback to summary
public void setDate(Date date)

Sets the DublinCore module date. Convenience method that can be used when there is only one date to set.

Parameters
date:Date

the DublinCore module date to set, null if none.

setDatesback to summary
public void setDates(List<Date> dates)

Sets the DublinCore module dates.

Parameters
dates:List<Date>

the list of Date representing the DublinCore module dates to set, an empty list or null if none.

setDescriptionback to summary
public void setDescription(String description)

Sets the DublinCore module description. Convenience method that can be used when there is only one description to set.

Parameters
description:String

the DublinCore module description to set, null if none.

setDescriptionsback to summary
public void setDescriptions(List<String> descriptions)

Sets the DublinCore module descriptions.

Parameters
descriptions:List<String>

the list of String representing the DublinCore module descriptions to set, an empty list or null if none.

setFormatback to summary
public void setFormat(String format)

Sets the DublinCore module format. Convenience method that can be used when there is only one format to set.

Parameters
format:String

the DublinCore module format to set, null if none.

setFormatsback to summary
public void setFormats(List<String> formats)

Sets the DublinCore module formats.

Parameters
formats:List<String>

the list of String representing the DublinCore module formats to set, an empty list or null if none.

setIdentifierback to summary
public void setIdentifier(String identifier)

Sets the DublinCore module identifier. Convenience method that can be used when there is only one identifier to set.

Parameters
identifier:String

the DublinCore module identifier to set, null if none.

setIdentifiersback to summary
public void setIdentifiers(List<String> identifiers)

Sets the DublinCore module identifiers.

Parameters
identifiers:List<String>

the list of String representing the DublinCore module identifiers to set, an empty list or null if none.

setLanguageback to summary
public void setLanguage(String language)

Sets the DublinCore module language. Convenience method that can be used when there is only one language to set.

Parameters
language:String

the DublinCore module language to set, null if none.

setLanguagesback to summary
public void setLanguages(List<String> languages)

Sets the DublinCore module languages.

Parameters
languages:List<String>

the list of String representing the DublinCore module languages to set, an empty list or null if none.

setPublisherback to summary
public void setPublisher(String publisher)

Sets the DublinCore module publisher. Convenience method that can be used when there is only one publisher to set.

Parameters
publisher:String

the DublinCore module publisher to set, null if none.

setPublishersback to summary
public void setPublishers(List<String> publishers)

Sets the DublinCore module publishers.

Parameters
publishers:List<String>

the list of String representing the DublinCore module publishers to set, an empty list or null if none.

setRelationback to summary
public void setRelation(String relation)

Sets the DublinCore module relation. Convenience method that can be used when there is only one relation to set.

Parameters
relation:String

the DublinCore module relation to set, null if none.

setRelationsback to summary
public void setRelations(List<String> relations)

Sets the DublinCore module relations.

Parameters
relations:List<String>

the list of String representing the DublinCore module relations to set, an empty list or null if none.

setRightsback to summary
public void setRights(String rights)

Sets the DublinCore module rights. Convenience method that can be used when there is only one rights to set.

Parameters
rights:String

the DublinCore module rights to set, null if none.

setRightsListback to summary
public void setRightsList(List<String> rights)

Sets the DublinCore module rightss.

Parameters
rights:List<String>

the list of String representing the DublinCore module rights to set, an empty list or null if none.

setSourceback to summary
public void setSource(String source)

Sets the DublinCore module source. Convenience method that can be used when there is only one source to set.

Parameters
source:String

the DublinCore module source to set, null if none.

setSourcesback to summary
public void setSources(List<String> sources)

Sets the DublinCore module sources.

Parameters
sources:List<String>

the list of String representing the DublinCore module sources to set, an empty list or null if none.

setSubjectback to summary
public void setSubject(DCSubject subject)

Sets the DCSubject element. Convenience method that can be used when there is only one subject to set.

Parameters
subject:DCSubject

the DublinCore module subject to set, null if none.

setSubjectsback to summary
public void setSubjects(List<DCSubject> subjects)

Sets the DublinCore module subjects.

Parameters
subjects:List<DCSubject>

the list of DCSubject elements with the DublinCore module subjects to set, an empty list or null if none.

setTitleback to summary
public void setTitle(String title)

Sets the DublinCore module title. Convenience method that can be used when there is only one title to set.

Parameters
title:String

the DublinCore module title to set, null if none.

setTitlesback to summary
public void setTitles(List<String> titles)

Sets the DublinCore module titles.

Parameters
titles:List<String>

the list of String representing the DublinCore module titles to set, an empty list or null if none.

setTypeback to summary
public void setType(String type)

Sets the DublinCore module type. Convenience method that can be used when there is only one type to set.

Parameters
type:String

the DublinCore module type to set, null if none.

setTypesback to summary
public void setTypes(List<String> types)

Sets the DublinCore module types.

Parameters
types:List<String>

the list of String representing the DublinCore module types to set, an empty list or null if none.