|
||||||||||
| 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
org.apache.lucene.gdata.gom.core.ArbitraryGOMXml
public class ArbitraryGOMXml
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.gdata.gom.core.AbstractGOMElement |
|---|
extensionAttributes, localName, nsPrefix, nsUri, qname, textValue, xmlBase, xmlLang |
| 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 | |
|---|---|
ArbitraryGOMXml(javax.xml.namespace.QName qname)
Class constructor |
|
| Method Summary | |
|---|---|
List<GOMAttribute> |
getAttributes()
this method will never return null |
AtomParser |
getChildParser(javax.xml.namespace.QName aName)
|
List<GOMElement> |
getChildren()
this method will never return null |
void |
processAttribute(javax.xml.namespace.QName aQName,
String aValue)
|
void |
processElementValue(String aValue)
|
void |
writeAtomOutput(GOMOutputWriter aStreamWriter)
Generates the xml element represented by this class in the ATOM 1.0 formate. |
void |
writeRssOutput(GOMOutputWriter aStreamWriter)
Generates the xml element represented by this class in the RSS 2.0 formate. |
| Methods inherited from class org.apache.lucene.gdata.gom.core.AbstractGOMElement |
|---|
addAttribute, getLocalName, getQname, getTextValue, getXmlBase, getXmlLang, getXmlNamespaceAttributes, processEndElement, setLocalName, setNamespacePrefix, setNamespaceUri, setTextValue, writeRssOutput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArbitraryGOMXml(javax.xml.namespace.QName qname)
qname - -
the elements qname| Method Detail |
|---|
public List<GOMAttribute> getAttributes()
null
public List<GOMElement> getChildren()
null
public AtomParser getChildParser(javax.xml.namespace.QName aName)
getChildParser in interface AtomParsergetChildParser in class AbstractGOMElementAbstractGOMElement.getChildParser(javax.xml.namespace.QName)
public void processAttribute(javax.xml.namespace.QName aQName,
String aValue)
processAttribute in interface AtomParserprocessAttribute in class AbstractGOMElementAbstractGOMElement.processAttribute(javax.xml.namespace.QName,
java.lang.String)public void processElementValue(String aValue)
processElementValue in interface AtomParserprocessElementValue in class AbstractGOMElementAbstractGOMElement.processElementValue(java.lang.String)
public void writeAtomOutput(GOMOutputWriter aStreamWriter)
throws XMLStreamException
aStreamWriter - -
the GOMOutputWriter implementation to write the output
XMLStreamException - -
if the GOMOutputWriter throws an exceptionorg.apache.lucene.gdata.gom.GOMElement#writeAtomOutput(org.apache.lucene.gdata.gom.writer.GOMStaxWriter)
public void writeRssOutput(GOMOutputWriter aStreamWriter)
throws XMLStreamException
aStreamWriter - -
the GOMOutputWriter implementation to write the output
XMLStreamException - -
if the GOMOutputWriter throws an exceptionorg.apache.lucene.gdata.gom.GOMElement#writeRssOutput(org.apache.lucene.gdata.gom.writer.GOMStaxWriter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||