|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GOMElement
Abstract interface which should be assignable from all classes representing xml elements within the GData Object Model.
Field Summary | |
---|---|
static String |
XML_BASE
xml:base attribute localpart |
static String |
XML_LANG
xml:lang attribute localpart |
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 |
getXmlBase()
|
String |
getXmlLang()
|
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. |
void |
writeRssOutput(GOMOutputWriter aStreamWriter,
String rssName)
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 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 |
---|
static final String XML_LANG
xml:lang
attribute localpart
static final String XML_BASE
xml:base
attribute localpart
Method Detail |
---|
String getXmlBase()
String getXmlLang()
void writeAtomOutput(GOMOutputWriter aStreamWriter) throws javax.xml.stream.XMLStreamException
aStreamWriter
- -
the GOMOutputWriter
implementation to write the output
javax.xml.stream.XMLStreamException
- -
if the GOMOutputWriter
throws an exceptionvoid writeRssOutput(GOMOutputWriter aStreamWriter) throws javax.xml.stream.XMLStreamException
aStreamWriter
- -
the GOMOutputWriter
implementation to write the output
javax.xml.stream.XMLStreamException
- -
if the GOMOutputWriter
throws an exceptionvoid writeRssOutput(GOMOutputWriter aStreamWriter, String rssName) throws javax.xml.stream.XMLStreamException
rssName
- -
the local name to render the elementaStreamWriter
- -
the GOMOutputWriter
implementation to write the output
javax.xml.stream.XMLStreamException
- -
if the GOMOutputWriter
throws an exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |