Methods Summary |
---|
public java.lang.String | getCharacterEncoding()
return this.charEncoding;
|
public T | getRootElement()
return this.root;
|
public java.lang.String | getVersion()
return this.version;
|
public void | setCharacterEncoding(java.lang.String aEncoding)
this.charEncoding = aEncoding;
|
public void | setRootElement(T aRootElement)
this.root = aRootElement;
|
public void | setVersion(java.lang.String aVersion)
this.version = aVersion;
|
public void | writeAtomOutput(org.apache.lucene.gdata.gom.writer.GOMOutputWriter aStreamWriter)
try {
aStreamWriter.writeStartDocument(
this.charEncoding == null ? DEFAULT_ENCODING
: this.charEncoding,
this.version == null ? DEFAULT_VERSION : this.version);
if (this.root != null)
this.root.writeAtomOutput(aStreamWriter);
aStreamWriter.writeEndDocument();
aStreamWriter.flush();
} finally {
aStreamWriter.close();
}
|
public void | writeRssOutput(org.apache.lucene.gdata.gom.writer.GOMOutputWriter aStreamWriter)
try {
aStreamWriter.writeStartDocument(
this.charEncoding == null ? DEFAULT_ENCODING
: this.charEncoding,
this.version == null ? DEFAULT_VERSION : this.version);
if (this.root != null) {
this.root.writeRssOutput(aStreamWriter);
}
aStreamWriter.writeEndDocument();
aStreamWriter.flush();
} finally {
aStreamWriter.close();
}
|