com.google.gdata.wireformats.output
Class AtomServiceGenerator
java.lang.Object
com.google.gdata.wireformats.output.CharacterGenerator<S>
com.google.gdata.wireformats.output.XmlGenerator<IServiceDocument>
com.google.gdata.wireformats.output.AtomServiceGenerator
- All Implemented Interfaces:
- OutputGenerator<IServiceDocument>
public class AtomServiceGenerator
- extends XmlGenerator<IServiceDocument>
Generates the metadata for an Atom Service (introspection) document.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomServiceGenerator
public AtomServiceGenerator()
getAltFormat
public AltFormat getAltFormat()
- Description copied from interface:
OutputGenerator
- Returns the alternate representation format produced the generator.
getSourceType
public java.lang.Class<IServiceDocument> 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,
IServiceDocument source)
throws java.io.IOException
- Writes the Service document for the target feed.
- Specified by:
generateXml
in class XmlGenerator<IServiceDocument>
- Throws:
java.io.IOException