|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.gdata.gom.core.GOMDocumentImpl<T>
T - public class GOMDocumentImpl<T extends GOMElement>
| Constructor Summary | |
|---|---|
GOMDocumentImpl()
|
|
| Method Summary | |
|---|---|
String |
getCharacterEncoding()
Gets the xml charset encoding |
T |
getRootElement()
Getter for the root element of the xml e.g GOMDocument |
String |
getVersion()
Gets the xml version |
void |
setCharacterEncoding(String aEncoding)
Sets the xml charset encoding |
void |
setRootElement(T aRootElement)
setter for the root element of the xml e.g GOMDocument |
void |
setVersion(String aVersion)
Sets the xml version |
void |
writeAtomOutput(GOMOutputWriter aStreamWriter)
Generates a complete xml document starting with the header followed by the output of the specified root element in the ATOM 1.0 formate. |
void |
writeRssOutput(GOMOutputWriter aStreamWriter)
Generates a complete xml document starting with the header followed by the output of the specified root element in the RSS 2.0 formate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GOMDocumentImpl()
| Method Detail |
|---|
public void setRootElement(T aRootElement)
GOMDocument
setRootElement in interface GOMDocument<T extends GOMElement>aRootElement - -
the root element to setGOMDocument.setRootElement(org.apache.lucene.gdata.gom.GOMElement)public T getRootElement()
GOMDocument
getRootElement in interface GOMDocument<T extends GOMElement>GOMDocument.getRootElement()public void setVersion(String aVersion)
GOMDocument
setVersion in interface GOMDocument<T extends GOMElement>aVersion - -
the version stringGOMDocument.setVersion(java.lang.String)public String getVersion()
GOMDocument
getVersion in interface GOMDocument<T extends GOMElement>public String getCharacterEncoding()
GOMDocument
getCharacterEncoding in interface GOMDocument<T extends GOMElement>GOMDocument.getCharacterEncoding()public void setCharacterEncoding(String aEncoding)
GOMDocument
setCharacterEncoding in interface GOMDocument<T extends GOMElement>aEncoding - -
the charset encoding to setGOMDocument.setCharacterEncoding(java.lang.String)
public void writeAtomOutput(GOMOutputWriter aStreamWriter)
throws XMLStreamException
GOMDocument
writeAtomOutput in interface GOMDocument<T extends GOMElement>aStreamWriter - -
the GOMOutputWriter implementation to write the output
XMLStreamException - -
if the GOMOutputWriter throws an exceptionorg.apache.lucene.gdata.gom.GOMDocument#writeAtomOutput(org.apache.lucene.gdata.gom.writer.GOMStaxWriter)
public void writeRssOutput(GOMOutputWriter aStreamWriter)
throws XMLStreamException
GOMDocument
writeRssOutput in interface GOMDocument<T extends GOMElement>aStreamWriter - -
the GOMOutputWriter implementation to write the output
XMLStreamException - -
if the GOMOutputWriter throws an exceptionorg.apache.lucene.gdata.gom.GOMDocument#writeRssOutput(org.apache.lucene.gdata.gom.writer.GOMStaxWriter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||