Package eu.clarin.sru.client
Interface SRURecordDataParser
- 
 public interface SRURecordDataParserA parser to parse record data and create appropriate Java objects.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetRecordSchema()The record schema this parser is able to process.SRURecordDataparse(XMLStreamReader reader)Parse a record data into a Java object.
 
- 
- 
- 
Method Detail- 
getRecordSchemaString getRecordSchema() The record schema this parser is able to process.- Returns:
- the record schema this parser is able to process
 
 - 
parseSRURecordData parse(XMLStreamReader reader) throws XMLStreamException, SRUClientException Parse a record data into a Java object.- Parameters:
- reader- a- XMLStreamReaderto parse the record data
- Returns:
- the parsed record
- Throws:
- XMLStreamException- an error occurred while parsing the response
- SRUClientException- any SRU exception, possibly wrapping another exception
- See Also:
- SRURecordData
 
 
- 
 
-