public interface

InputParser

com.google.gdata.wireformats.input.InputParser<T>
Known Indirect Subclasses

Class Overview

Wire format interface implemented by helper classes that parse data from an InputStream and return an object representation of a particular type.

Summary

Public Methods
abstract AltFormat getAltFormat()
Returns the alternate representation format that is expected as input to the parser.
abstract Class<? extends T> getResultType()
Returns the target type that is populated by the parser from the input stream.
abstract <R extends T> R parse(ParseSource parseSource, InputProperties inProps, Class<R> resultClass)
Parses data in the supported representation format from the input stream based upon the provided input properties into the provided target object.

Public Methods

public abstract AltFormat getAltFormat ()

Returns the alternate representation format that is expected as input to the parser.

public abstract Class<? extends T> getResultType ()

Returns the target type that is populated by the parser from the input stream.

public abstract R parse (ParseSource parseSource, InputProperties inProps, Class<R> resultClass)

Parses data in the supported representation format from the input stream based upon the provided input properties into the provided target object.

Parameters
parseSource Providing the source of the data
inProps Properties describing the input data
resultClass Specific type of result expected from the parse
Throws
IOException
ServiceException