FileDocCategorySizeDatePackage
GOMEntry.javaAPI DocApache Lucene 2.1.05726Wed Feb 14 10:46:00 GMT 2007org.apache.lucene.gdata.gom

GOMEntry

public interface GOMEntry implements GOMElement, GOMExtensible, GOMXmlEntity

The GOMEntry class represents a "atom:entry" element in the GData Object Model.

The "atom:entry" element represents an individual entry, acting as a container for metadata and data associated with the entry. This element can appear as a child of the atom:feed element, or it can appear as the document (i.e., top-level) element of a stand-alone Atom Entry Document.

RelaxNG Schema:

atomEntry =
element atom:entry {
atomCommonAttributes,
( atomAuthor*
& atomCategory*
& atomContent?
& atomContributor*
& atomId
& atomLink*
& atomPublished?
& atomRights?
& atomSource?
& atomSummary?
& atomTitle
& atomUpdated
& extensionElement*)
}
author
Simon Willnauer

Fields Summary
public static final String
LOCALNAME
Atom 1.0 local name for the xml element
public static final String
LOCALNAME_RSS
RSS 2.0 local name for the xml element
Constructors Summary
Methods Summary
public abstract voidaddAuthor(GOMAuthor aAuthor)

param
aAuthor - a author to add
see
GOMAuthor

public abstract voidaddCategory(GOMCategory aCategory)

param
aCategory - a category to add
see
GOMCategory

public abstract voidaddContributor(GOMContributor aContributor)

param
aContributor - a contributor to add
see
GOMContributor

public abstract voidaddLink(GOMLink aLink)

param
aLink - a link to add
see
GOMLink

public abstract voidaddNamespace(GOMNamespace aNamespace)

param
aNamespace - a Namespace to add
see
GOMNamespace

public abstract java.util.ListgetAuthors()

return
- the entry author
see
GOMAuthor

public abstract java.util.ListgetCategories()
This method returns all categories and will never returnnull

return
- a list of categories
see
GOMCategory

public abstract GOMContentgetContent()

return
- the content element
see
GOMContent

public abstract java.util.ListgetContributor()
This method returns all contributors and will never returnnull

return
- a list of contributors
see
GOMContributor

public abstract GOMNamespacegetDefaultNamespace()

return
- the default namespace
see
GOMNamespace

public abstract GOMIdgetId()

return
- the feed id
see
GOMId

public abstract java.util.ListgetLinks()
This method returns all links and will never returnnull

return
- a list of links
see
GOMLink

public abstract java.util.ListgetNamespaces()

return
- list of all namespaces - will never be null
see
GOMNamespace

public abstract GOMPublishedgetPublished()

return
- the published element
see
GOMPublished

public abstract GOMRightsgetRights()

return
- the entry rights
see
GOMRights

public abstract GOMSourcegetSource()

return
- the entry source
see
GOMSource

public abstract GOMSummarygetSummary()

return
- the summary
see
GOMSummary

public abstract GOMTitlegetTitle()

return
- the entries title
see
GOMTitle

public abstract GOMUpdatedgetUpdated()

return
- the last updated element
see
GOMUpdated

public abstract voidsetContent(GOMContent content)

param
content - the content to set
see
GOMContent

public abstract voidsetId(GOMId aId)

param
aId - the entry id
see
GOMId

public abstract voidsetPublished(GOMPublished aPublished)

param
aPublished - the published element to set
see
GOMPublished

public abstract voidsetRights(GOMRights aRights)

param
aRights - the GOMRights to set
see
GOMRights

public abstract voidsetSource(GOMSource aSource)

param
aSource - the source to set
see
GOMSource

public abstract voidsetSummary(GOMSummary aSummary)

param
aSummary - a summary to set
see
GOMSummary

public abstract voidsetTitle(GOMTitle aTitle)

param
aTitle - the title to set
see
GOMTitle

public abstract voidsetUpdated(GOMUpdated aUpdated)

param
aUpdated - the updated element to set
see
GOMUpdated