|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.wireformats.input.AbstractParser<T>
public abstract class AbstractParser<T>
The AbstractParser class is an abstract base class that can be used in the
creation of new InputParser
implementations. It provides the
basic storage and getters for the alternate representation and result type
and utility code for constructing new result type implementation instances.
Method Summary | |
---|---|
AltFormat |
getAltFormat()
Returns the alternate representation format that is expected as input to the parser. |
java.lang.Class<? extends T> |
getResultType()
Returns the target type that is populated by the parser from the input stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.gdata.wireformats.input.InputParser |
---|
parse |
Method Detail |
---|
public AltFormat getAltFormat()
InputParser
getAltFormat
in interface InputParser<T>
public java.lang.Class<? extends T> getResultType()
InputParser
getResultType
in interface InputParser<T>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |