com.google.gdata.wireformats
Interface WireFormatGenerator

All Known Implementing Classes:
XmlGenerator

public interface WireFormatGenerator

A generator that translates an in-memory representation into wire content.


Method Summary
 void generate(Element root)
          Generate wire content for tree rooted at root.
 

Method Detail

generate

void generate(Element root)
              throws java.io.IOException,
                     ContentValidationException
Generate wire content for tree rooted at root.

Parameters:
root - root of tree
Throws:
java.io.IOException - if content generation failed
ContentValidationException - if content fails metadata validation