|
||||||||||
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 GOMXmlEntity
GOMXmlEntity.getQname()
public String getTextValue()
getTextValue
in interface GOMXmlEntity
GOMXmlEntity.getTextValue()
public void setTextValue(String aTextValue)
setTextValue
in interface GOMXmlEntity
aTextValue
- - the text value of the entityGOMXmlEntity.setTextValue(java.lang.String)
public String getLocalName()
getLocalName
in interface GOMXmlEntity
GOMXmlEntity.getLocalName()
public void setLocalName(String aLocalName)
setLocalName
in interface GOMXmlEntity
aLocalName
- - 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 AtomParser
AtomParser.getChildParser(javax.xml.namespace.QName)
public void processAttribute(javax.xml.namespace.QName aQName, String aValue)
processAttribute
in interface AtomParser
AtomParser.processAttribute(javax.xml.namespace.QName,
java.lang.String)
public void processElementValue(String aValue)
processElementValue
in interface AtomParser
AtomParser.processElementValue(java.lang.String)
public void processEndElement()
processEndElement
in interface AtomParser
AtomParser.processEndElement()
public void setNamespaceUri(String aString)
setNamespaceUri
in interface GOMXmlEntity
aString
- - the namespace uri to setGOMXmlEntity.setNamespaceUri(java.lang.String)
public void setNamespacePrefix(String aString)
setNamespacePrefix
in interface GOMXmlEntity
aString
- - the namespace prefix to setGOMXmlEntity.setNamespacePrefix(java.lang.String)
protected List<GOMAttribute> getXmlNamespaceAttributes()
public void writeRssOutput(GOMOutputWriter aStreamWriter, String aRssName) throws javax.xml.stream.XMLStreamException
writeRssOutput
in interface GOMElement
aStreamWriter
- -
the GOMOutputWriter
implementation to write the outputaRssName
- -
the local name to render the element
javax.xml.stream.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 GOMElement
GOMElement.getXmlBase()
public String getXmlLang()
getXmlLang
in interface GOMElement
GOMElement.getXmlLang()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |