|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.wireformats.input.AtomServiceDualParser
public class AtomServiceDualParser
The AtomServiceDualParser class is an InputParser implementation
that is capable of parsing service documents into either the old or new
data model.
| Constructor Summary | |
|---|---|
AtomServiceDualParser()
|
|
| Method Summary | ||
|---|---|---|
AltFormat |
getAltFormat()
Returns the alternate representation format that is expected as input to the parser. |
|
java.lang.Class<IServiceDocument> |
getResultType()
Returns the target type that is populated by the parser from the input stream. |
|
|
parse(ParseSource parseSource,
InputProperties inProps,
java.lang.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. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AtomServiceDualParser()
| Method Detail |
|---|
public AltFormat getAltFormat()
InputParser
getAltFormat in interface InputParser<IServiceDocument>public java.lang.Class<IServiceDocument> getResultType()
InputParser
getResultType in interface InputParser<IServiceDocument>
public <R extends IServiceDocument> R parse(ParseSource parseSource,
InputProperties inProps,
java.lang.Class<R> resultClass)
throws java.io.IOException,
ServiceException
InputParser
parse in interface InputParser<IServiceDocument>parseSource - providing the source of the datainProps - properties describing the input dataresultClass - specific type of result expected from the parse
java.io.IOException
ServiceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||