|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GOMEntry
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*) }
Field Summary | |
---|---|
static String |
LOCALNAME
Atom 1.0 local name for the xml element |
static String |
LOCALNAME_RSS
RSS 2.0 local name for the xml element |
Fields inherited from interface org.apache.lucene.gdata.gom.GOMElement |
---|
XML_BASE, XML_LANG |
Fields inherited from interface org.apache.lucene.gdata.gom.core.AtomParser |
---|
DUPLICATE_ATTRIBUTE, DUPLICATE_ELEMENT, DUPLICATE_ELEMENT_VALUE, INVALID_ATTRIBUTE, INVALID_ELEMENT_VALUE, MISSING_ELEMENT_ATTRIBUTE, MISSING_ELEMENT_CHILD, MISSING_ELEMENT_VALUE, MISSING_ELEMENT_VALUE_PLAIN, UNEXPECTED_ATTRIBUTE, UNEXPECTED_ELEMENT, UNEXPECTED_ELEMENT_CHILD, UNEXPECTED_ELEMENT_VALUE, URECOGNIZED_ELEMENT_CHILD |
Methods inherited from interface org.apache.lucene.gdata.gom.GOMElement |
---|
getXmlBase, getXmlLang, writeAtomOutput, writeRssOutput, writeRssOutput |
Methods inherited from interface org.apache.lucene.gdata.gom.core.AtomParser |
---|
getChildParser, processAttribute, processElementValue, processEndElement |
Methods inherited from interface org.apache.lucene.gdata.gom.GOMExtensible |
---|
getExtensions, setExtensionFactory |
Field Detail |
---|
static final String LOCALNAME
static final String LOCALNAME_RSS
Method Detail |
---|
void addAuthor(GOMAuthor aAuthor)
aAuthor
- -
a author to addGOMAuthor
void addCategory(GOMCategory aCategory)
aCategory
- -
a category to addGOMCategory
void addContributor(GOMContributor aContributor)
aContributor
- -
a contributor to addGOMContributor
void addLink(GOMLink aLink)
aLink
- -
a link to addGOMLink
List<GOMAuthor> getAuthors()
GOMAuthor
List<GOMCategory> getCategories()
null
GOMCategory
List<GOMContributor> getContributor()
null
GOMContributor
GOMId getId()
GOMId
void setId(GOMId aId)
aId
- -
the entry idGOMId
GOMRights getRights()
GOMRights
void setRights(GOMRights aRights)
aRights
- -
the GOMRights to setGOMRights
GOMTitle getTitle()
GOMTitle
void setTitle(GOMTitle aTitle)
aTitle
- -
the title to setGOMTitle
GOMUpdated getUpdated()
GOMUpdated
void setUpdated(GOMUpdated aUpdated)
aUpdated
- -
the updated element to setGOMUpdated
List<GOMLink> getLinks()
null
GOMLink
void setSummary(GOMSummary aSummary)
aSummary
- -
a summary to setGOMSummary
GOMSummary getSummary()
GOMSummary
void setSource(GOMSource aSource)
aSource
- -
the source to setGOMSource
GOMSource getSource()
GOMSource
void setPublished(GOMPublished aPublished)
aPublished
- -
the published element to setGOMPublished
GOMPublished getPublished()
GOMPublished
GOMContent getContent()
GOMContent
void setContent(GOMContent content)
content
- -
the content to setGOMContent
void addNamespace(GOMNamespace aNamespace)
aNamespace
- -
a Namespace to addGOMNamespace
List<GOMNamespace> getNamespaces()
GOMNamespace
GOMNamespace getDefaultNamespace()
GOMNamespace
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |