public class AtomServiceDataParser extends XmlInputParser<ServiceDocument>
InputParser
implementation for Atom Service Documents.Constructor and Description |
---|
AtomServiceDataParser()
Constructs a new AtomServiceDataParser.
|
Modifier and Type | Method and Description |
---|---|
<R extends ServiceDocument> |
parse(java.io.Reader inputReader,
InputProperties inProps,
java.lang.Class<R> resultClass)
Parses character content with the specified properties to produce a result
of an expected type.
|
parse
getAltFormat, getResultType
public AtomServiceDataParser()
public <R extends ServiceDocument> R parse(java.io.Reader inputReader, InputProperties inProps, java.lang.Class<R> resultClass) throws java.io.IOException, ServiceException
CharacterParser
Reader
.parse
in class CharacterParser<ServiceDocument>
R
- expected result typeinputReader
- reader to parse data frominProps
- input propertiesresultClass
- class to instantiate and parse result into.java.io.IOException
- if an error occurred reading data while parsingServiceException
- if an error occurred within the content