R - the type of parsed resultspublic class JAXBParser<R> extends Object implements ResultParser<R>
ResultParser that parses query results into JAXB annotated classes.| Constructor and Description |
|---|
JAXBParser(Class<R> type)
Creates an instance with a JAXB-annotated class.
|
public R parse(String result) throws Exception
ResultParserparse in interface ResultParser<R>result - the untyped resultsException - if the result cannot be typedCopyright © 2019. All Rights Reserved.