org.apache.lucene.gdata.gom
Interface GOMCategory

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

public interface GOMCategory
extends GOMElement

GOMCategory type

The "category" element conveys information about a category associated with an entry or feed. This specification assigns no meaning to the content (if any) of this element.

RelaxNG Schema:

      atomCategory =
      element atom:category {
        atomCommonAttributes,
        attribute term { text },
        attribute scheme { atomUri }?,
        attribute label { text }?,
        undefinedContent
      }
 

Author:
Simon Willnauer

Field Summary
static String LABLE_ATTRIBUTE
          Attribute name (attribute label { text })
static String LOCALNAME
          Atom local name for the xml element
static String SCHEME_ATTRIBUTE
          Attribute name (attribute scheme { atomUri })
static String TERM_ATTRIBUTE
          Attribute name (attribute term { text })
 
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 getLabel()
           
 String getScheme()
           
 String getTerm()
           
 void setLabel(String aLabel)
           
 void setScheme(String aScheme)
           
 void setTerm(String aTerm)
           
 
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

TERM_ATTRIBUTE

static final String TERM_ATTRIBUTE
Attribute name (attribute term { text })

See Also:
Constant Field Values

LABLE_ATTRIBUTE

static final String LABLE_ATTRIBUTE
Attribute name (attribute label { text })

See Also:
Constant Field Values

SCHEME_ATTRIBUTE

static final String SCHEME_ATTRIBUTE
Attribute name (attribute scheme { atomUri })

See Also:
Constant Field Values
Method Detail

setTerm

void setTerm(String aTerm)
Parameters:
aTerm - - the attribute term { text }

setLabel

void setLabel(String aLabel)
Parameters:
aLabel - - the attribute lable { text }

setScheme

void setScheme(String aScheme)
Parameters:
aScheme - - the attribute scheme { atomUri }

getTerm

String getTerm()
Returns:
the attribute term { text }

getScheme

String getScheme()
Returns:
the attribute scheme { atomUri }

getLabel

String getLabel()
Returns:
the attribute lable { text }


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