org.apache.lucene.gdata.gom
Interface GOMSource
- All Superinterfaces:
- AtomParser, GOMElement, GOMXmlEntity
- All Known Subinterfaces:
- GOMFeed
- All Known Implementing Classes:
- GOMSourceImpl
public interface GOMSource
- extends GOMXmlEntity, GOMElement
If an atom:entry is copied from one feed into another feed, then the source
atom:feed's metadata (all child elements of atom:feed other than the
atom:entry elements) MAY be preserved within the copied entry by adding an
atom:source child element, if it is not already present in the entry, and
including some or all of the source feed's Metadata elements as the
atom:source element's children. Such metadata SHOULD be preserved if the
source atom:feed contains any of the child elements atom:author,
atom:contributor, atom:rights, or atom:category and those child elements are
not present in the source atom:entry.
atomSource =
element atom:source {
atomCommonAttributes,
(atomAuthor*
& atomCategory*
& atomContributor*
& atomGenerator?
& atomIcon?
& atomId?
& atomLink*
& atomLogo?
& atomRights?
& atomSubtitle?
& atomTitle?
& atomUpdated?
& extensionElement*)
}
- Author:
- Simon Willnauer
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 |
LOCALNAME
static final String LOCALNAME
- See Also:
- Constant Field Values
addAuthor
void addAuthor(GOMAuthor aAuthor)
- Parameters:
aAuthor
-
addCategory
void addCategory(GOMCategory aCategory)
- Parameters:
aCategory
-
addContributor
void addContributor(GOMContributor aContributor)
- Parameters:
aContributor
-
addLink
void addLink(GOMLink aLink)
- Parameters:
aLink
-
getAuthors
List<GOMAuthor> getAuthors()
getCategories
List<GOMCategory> getCategories()
getContributor
List<GOMContributor> getContributor()
getGenerator
GOMGenerator getGenerator()
getId
GOMId getId()
setGenerator
void setGenerator(GOMGenerator aGenerator)
setIcon
void setIcon(GOMIcon aIcon)
setId
void setId(GOMId aId)
getLogo
GOMLogo getLogo()
setLogo
void setLogo(GOMLogo aLogo)
getRights
GOMRights getRights()
setRights
void setRights(GOMRights aRights)
getSubtitle
GOMSubtitle getSubtitle()
setSubtitle
void setSubtitle(GOMSubtitle aSubtitle)
getTitle
GOMTitle getTitle()
setTitle
void setTitle(GOMTitle aTitle)
getUpdated
GOMUpdated getUpdated()
setUpdated
void setUpdated(GOMUpdated aUpdated)
getIcon
GOMIcon getIcon()
getLinks
List<GOMLink> getLinks()
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.