|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.gdata.gom.core.AbstractGOMElement
public abstract class AbstractGOMElement
| Field Summary | |
|---|---|
protected List<GOMAttribute> |
extensionAttributes
atomCommonAttributes undefinedAttribute* |
protected String |
localName
|
protected String |
nsPrefix
|
protected String |
nsUri
|
protected javax.xml.namespace.QName |
qname
|
protected String |
textValue
|
protected String |
xmlBase
atomCommonAttribute attribute xml:base { atomUri }? |
protected String |
xmlLang
atomCommonAttribute attribute xml:lang { atomLanguageTag }? |
| 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 |
| Constructor Summary | |
|---|---|
AbstractGOMElement()
|
|
| Method Summary | |
|---|---|
protected void |
addAttribute(GOMAttribute aAttribute)
|
AtomParser |
getChildParser(javax.xml.namespace.QName aName)
|
String |
getLocalName()
|
javax.xml.namespace.QName |
getQname()
|
String |
getTextValue()
|
String |
getXmlBase()
|
String |
getXmlLang()
|
protected List<GOMAttribute> |
getXmlNamespaceAttributes()
|
void |
processAttribute(javax.xml.namespace.QName aQName,
String aValue)
|
void |
processElementValue(String aValue)
|
void |
processEndElement()
|
void |
setLocalName(String aLocalName)
|
void |
setNamespacePrefix(String aString)
|
void |
setNamespaceUri(String aString)
|
void |
setTextValue(String aTextValue)
|
void |
writeRssOutput(GOMOutputWriter aStreamWriter,
String aRssName)
Generates the xml element represented by this class in the RSS 2.0 formate using the parameter rssName as the element local name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.lucene.gdata.gom.GOMElement |
|---|
writeAtomOutput, writeRssOutput |
| Field Detail |
|---|
protected String xmlLang
protected String xmlBase
protected javax.xml.namespace.QName qname
protected String textValue
protected String localName
protected String nsUri
protected String nsPrefix
protected List<GOMAttribute> extensionAttributes
| Constructor Detail |
|---|
public AbstractGOMElement()
| Method Detail |
|---|
public javax.xml.namespace.QName getQname()
getQname in interface GOMXmlEntityGOMXmlEntity.getQname()public String getTextValue()
getTextValue in interface GOMXmlEntityGOMXmlEntity.getTextValue()public void setTextValue(String aTextValue)
setTextValue in interface GOMXmlEntityaTextValue - - the text value of the entityGOMXmlEntity.setTextValue(java.lang.String)public String getLocalName()
getLocalName in interface GOMXmlEntityGOMXmlEntity.getLocalName()public void setLocalName(String aLocalName)
setLocalName in interface GOMXmlEntityaLocalName - - the localname of the entitiyGOMXmlEntity.setLocalName(java.lang.String)protected void addAttribute(GOMAttribute aAttribute)
public AtomParser getChildParser(javax.xml.namespace.QName aName)
getChildParser in interface AtomParserAtomParser.getChildParser(javax.xml.namespace.QName)
public void processAttribute(javax.xml.namespace.QName aQName,
String aValue)
processAttribute in interface AtomParserAtomParser.processAttribute(javax.xml.namespace.QName,
java.lang.String)public void processElementValue(String aValue)
processElementValue in interface AtomParserAtomParser.processElementValue(java.lang.String)public void processEndElement()
processEndElement in interface AtomParserAtomParser.processEndElement()public void setNamespaceUri(String aString)
setNamespaceUri in interface GOMXmlEntityaString - - the namespace uri to setGOMXmlEntity.setNamespaceUri(java.lang.String)public void setNamespacePrefix(String aString)
setNamespacePrefix in interface GOMXmlEntityaString - - the namespace prefix to setGOMXmlEntity.setNamespacePrefix(java.lang.String)protected List<GOMAttribute> getXmlNamespaceAttributes()
public void writeRssOutput(GOMOutputWriter aStreamWriter,
String aRssName)
throws XMLStreamException
writeRssOutput in interface GOMElementaStreamWriter - -
the GOMOutputWriter implementation to write the outputaRssName - -
the local name to render the element
XMLStreamException - -
if the GOMOutputWriter throws an exceptionorg.apache.lucene.gdata.gom.GOMElement#writeRssOutput(org.apache.lucene.gdata.gom.writer.GOMStaxWriter,
java.lang.String)public String getXmlBase()
getXmlBase in interface GOMElementGOMElement.getXmlBase()public String getXmlLang()
getXmlLang in interface GOMElementGOMElement.getXmlLang()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||