org.apache.lucene.gdata.gom
Interface GOMGenerator

All Superinterfaces:
AtomParser, GOMElement, GOMXmlEntity
All Known Implementing Classes:
GOMGeneratorImpl

public interface GOMGenerator
extends GOMElement

Class representing the "atom:generator" element. The "atom:generator" element's content identifies the agent used to generate a feed, for debugging and other purposes.

   atomGenerator = element atom:generator {
   atomCommonAttributes,
   attribute uri { atomUri }?,
   attribute version { text }?,
   text
   }
 

Author:
Simon Willnauer

Field Summary
static String LOCALNAME
          Atom 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
 
Method Summary
 String getGeneratorVersion()
           
 String getUri()
           
 void setGeneratorVersion(String version)
          Sets the the atom:generator version attribute value
 void setUri(String uri)
          Sets the the atom:generator uri attribute value
 
Methods inherited from interface org.apache.lucene.gdata.gom.GOMElement
getXmlBase, getXmlLang, writeAtomOutput, writeRssOutput, writeRssOutput
 
Methods inherited from interface org.apache.lucene.gdata.gom.GOMXmlEntity
getLocalName, getQname, getTextValue, setLocalName, setNamespacePrefix, setNamespaceUri, setTextValue
 
Methods inherited from interface org.apache.lucene.gdata.gom.core.AtomParser
getChildParser, processAttribute, processElementValue, processEndElement
 

Field Detail

LOCALNAME

static final String LOCALNAME
Atom local name for the xml element

See Also:
Constant Field Values
Method Detail

setUri

void setUri(String uri)
Sets the the atom:generator uri attribute value

Parameters:
uri - - the generator uri attribute value to set

setGeneratorVersion

void setGeneratorVersion(String version)
Sets the the atom:generator version attribute value

Parameters:
version - - the version value to set

getGeneratorVersion

String getGeneratorVersion()
Returns:
- the atom:generator version attribute value

getUri

String getUri()
Returns:
- the atom:generator uri attribute value


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.