org.beanio.stream.xml
Class XmlRecordUnmarshaller
java.lang.Object
org.beanio.stream.xml.XmlRecordUnmarshaller
- All Implemented Interfaces:
- RecordUnmarshaller
public class XmlRecordUnmarshaller
- extends Object
- implements RecordUnmarshaller
A RecordUnmarshaller
implementation for XML formatted records.
- Since:
- 2.0
- Author:
- Kevin Seim
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlRecordUnmarshaller
public XmlRecordUnmarshaller()
- Constructs a new XmlRecordUnmarshaller.
unmarshal
public Object unmarshal(String text)
throws RecordIOException
- Description copied from interface:
RecordUnmarshaller
- Unmarshals a single record.
- Specified by:
unmarshal
in interface RecordUnmarshaller
- Parameters:
text
- the record text to unmarshal
- Returns:
- the unmarshalled record object
- Throws:
RecordIOException
- if the record is malformed and cannot be parsed
Copyright © 2010-2013 Kevin Seim