org.apache.lucene.gdata.gom.core
Interface AtomParser

All Known Subinterfaces:
GOMAuthor, GOMCategory, GOMContent, GOMContributor, GOMDateConstruct, GOMElement, GOMEntry, GOMExtension, GOMFeed, GOMGenerator, GOMIcon, GOMId, GOMLink, GOMLogo, GOMPerson, GOMPublished, GOMRights, GOMSource, GOMSubtitle, GOMSummary, GOMTextConstruct, GOMTime, GOMTitle, GOMUpdated
All Known Implementing Classes:
AbstractGOMElement, ArbitraryGOMXml, GOMAuthorImpl, GOMCategoryImpl, GOMContentImpl, GOMContributorImpl, GOMDateConstructImpl, GOMEntryImpl, GOMGeneratorImpl, GOMIconImpl, GOMLinkImpl, GOMLogoImpl, GOMPersonImpl, GOMPublishedImpl, GOMRightsImpl, GOMSourceImpl, GOMSubtitleImpl, GOMSummaryImpl, GOMTextContructImpl, GOMTitleImpl, GOMUpdatedImpl, SimpleGOMElementImpl

public interface AtomParser

Author:
Simon Willnauer

Field Summary
static String DUPLICATE_ATTRIBUTE
          Error message for a duplicated attribute
static String DUPLICATE_ELEMENT
          Error message for a duplicated element
static String DUPLICATE_ELEMENT_VALUE
          Error message for a duplicated element value
static String INVALID_ATTRIBUTE
          Error message for an invalid attribute
static String INVALID_ELEMENT_VALUE
          Error message for an invalid element value
static String MISSING_ELEMENT_ATTRIBUTE
          Error message for a missing element attribute
static String MISSING_ELEMENT_CHILD
          Error message for a missing element child
static String MISSING_ELEMENT_VALUE
          Error message for a missing element value
static String MISSING_ELEMENT_VALUE_PLAIN
          Error message for a missing element value
static String UNEXPECTED_ATTRIBUTE
          Error message for an unexpected attribute
static String UNEXPECTED_ELEMENT
          Error message for an unexpected element
static String UNEXPECTED_ELEMENT_CHILD
          Error message for an unexpected element child
static String UNEXPECTED_ELEMENT_VALUE
          Error message for an unexpected element value
static String URECOGNIZED_ELEMENT_CHILD
          Error message for an urecognized element child
 
Method Summary
 AtomParser getChildParser(javax.xml.namespace.QName name)
           
 void processAttribute(javax.xml.namespace.QName aQName, String aValue)
           
 void processElementValue(String aValue)
           
 void processEndElement()
           
 

Field Detail

UNEXPECTED_ELEMENT

static final String UNEXPECTED_ELEMENT
Error message for an unexpected element

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

UNEXPECTED_ELEMENT_CHILD

static final String UNEXPECTED_ELEMENT_CHILD
Error message for an unexpected element child

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

URECOGNIZED_ELEMENT_CHILD

static final String URECOGNIZED_ELEMENT_CHILD
Error message for an urecognized element child

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

UNEXPECTED_ATTRIBUTE

static final String UNEXPECTED_ATTRIBUTE
Error message for an unexpected attribute

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

UNEXPECTED_ELEMENT_VALUE

static final String UNEXPECTED_ELEMENT_VALUE
Error message for an unexpected element value

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

MISSING_ELEMENT_ATTRIBUTE

static final String MISSING_ELEMENT_ATTRIBUTE
Error message for a missing element attribute

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

MISSING_ELEMENT_CHILD

static final String MISSING_ELEMENT_CHILD
Error message for a missing element child

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

MISSING_ELEMENT_VALUE

static final String MISSING_ELEMENT_VALUE
Error message for a missing element value

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

MISSING_ELEMENT_VALUE_PLAIN

static final String MISSING_ELEMENT_VALUE_PLAIN
Error message for a missing element value

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

DUPLICATE_ELEMENT

static final String DUPLICATE_ELEMENT
Error message for a duplicated element

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

DUPLICATE_ELEMENT_VALUE

static final String DUPLICATE_ELEMENT_VALUE
Error message for a duplicated element value

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

DUPLICATE_ATTRIBUTE

static final String DUPLICATE_ATTRIBUTE
Error message for a duplicated attribute

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

INVALID_ATTRIBUTE

static final String INVALID_ATTRIBUTE
Error message for an invalid attribute

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values

INVALID_ELEMENT_VALUE

static final String INVALID_ELEMENT_VALUE
Error message for an invalid element value

See Also:
String.format(java.lang.String, java.lang.Object[]), Constant Field Values
Method Detail

processElementValue

void processElementValue(String aValue)
Parameters:
aValue -

processAttribute

void processAttribute(javax.xml.namespace.QName aQName,
                      String aValue)
Parameters:
aQName -
aValue -

processEndElement

void processEndElement()

getChildParser

AtomParser getChildParser(javax.xml.namespace.QName name)
Parameters:
name -
Returns:


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