public class

AtomDataParser

extends XmlInputParser<T>
java.lang.Object
   ↳ com.google.gdata.wireformats.input.AbstractParser<T>
     ↳ com.google.gdata.wireformats.input.CharacterParser<T>
       ↳ com.google.gdata.wireformats.input.XmlInputParser<T>
         ↳ com.google.gdata.wireformats.input.AtomDataParser

Class Overview

Parses Atom feed or entry data using classes based upon the old data model in com.google.gdata.data.

Summary

[Expand]
Inherited Fields
From class com.google.gdata.wireformats.input.AbstractParser
Public Constructors
AtomDataParser()
Constructs a new AtomDataParser instance.
Public Methods
<R extends IAtom> R parse(Reader inputReader, InputProperties inProps, Class<R> resultClass)
Parses character content with the specified properties to produce a result of an expected type.
Protected Methods
<R extends IAtom> R parse(XmlEventSource eventSource, InputProperties inProps, Class<R> resultClass)
The parse method should be implemented by subclasses and should parse input data from the provided XmlEventSource instance.
[Expand]
Inherited Methods
From class com.google.gdata.wireformats.input.XmlInputParser
From class com.google.gdata.wireformats.input.CharacterParser
From class com.google.gdata.wireformats.input.AbstractParser
From class java.lang.Object
From interface com.google.gdata.wireformats.input.InputParser

Public Constructors

public AtomDataParser ()

Constructs a new AtomDataParser instance.

Public Methods

public R parse (Reader inputReader, InputProperties inProps, Class<R> resultClass)

Parses character content with the specified properties to produce a result of an expected type. Concrete subclasses will provide an implementation of this method that constructs a result type instance of the result class and then parses into it from the provided Reader.

Parameters
inputReader Reader to parse data from
inProps Input properties
resultClass Class to instantiate and parse result into.
Returns
  • result object from parse
Throws
IOException
ServiceException

Protected Methods

protected R parse (XmlEventSource eventSource, InputProperties inProps, Class<R> resultClass)

The parse method should be implemented by subclasses and should parse input data from the provided XmlEventSource instance.

Parameters
eventSource Event source.
inProps Input properties.
resultClass Result type.
Returns
  • instance of result type.
Throws
IOException
ServiceException