com.google.gdata.wireformats.output
Class OpenSearchGenerator
java.lang.Object
com.google.gdata.wireformats.output.CharacterGenerator<S>
com.google.gdata.wireformats.output.XmlGenerator<OpenSearchDescriptionDocument>
com.google.gdata.wireformats.output.OpenSearchGenerator
- All Implemented Interfaces:
- OutputGenerator<OpenSearchDescriptionDocument>
public class OpenSearchGenerator
- extends XmlGenerator<OpenSearchDescriptionDocument>
Generates the output for an OpenSearch description document
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenSearchGenerator
public OpenSearchGenerator()
getAltFormat
public AltFormat getAltFormat()
- Description copied from interface:
OutputGenerator
- Returns the alternate representation format produced the generator.
getSourceType
public java.lang.Class<OpenSearchDescriptionDocument> getSourceType()
- Description copied from interface:
OutputGenerator
- Returns the
Class
that represents the expected source data type for
output generation.
generateXml
public void generateXml(XmlWriter xw,
OutputProperties outProps,
OpenSearchDescriptionDocument source)
throws java.io.IOException
- Writes the metadata based upon the specified feed.
encoding.
- Specified by:
generateXml
in class XmlGenerator<OpenSearchDescriptionDocument>
- Throws:
java.io.IOException