com.google.gdata.wireformats
Interface WireFormatParser

All Known Implementing Classes:
XmlParser

public interface WireFormatParser

A parser that translates wire format content into a in-memory representation.


Method Summary
 Element parse(Element element)
          Parse content from a source provided to the parser at construction time.
 

Method Detail

parse

Element parse(Element element)
              throws java.io.IOException,
                     ParseException,
                     ContentCreationException,
                     ContentValidationException
Parse content from a source provided to the parser at construction time.

Parameters:
element - root of parsed element tree
Returns:
root of parsed element tree
Throws:
java.io.IOException - if content cannot be accessed
ParseException - if content cannot be parsed invalid
ContentCreationException - if content cannot be created
ContentValidationException - if content fails metadata validation