Package org.beanio.stream.xml
Class XmlRecordUnmarshaller
- java.lang.Object
-
- org.beanio.stream.xml.XmlRecordUnmarshaller
-
- All Implemented Interfaces:
RecordUnmarshaller
public class XmlRecordUnmarshaller extends java.lang.Object implements RecordUnmarshaller
ARecordUnmarshaller
implementation for XML formatted records.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description XmlRecordUnmarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
unmarshal(java.lang.String text)
Unmarshals a single record.
-
-
-
Method Detail
-
unmarshal
public java.lang.Object unmarshal(java.lang.String text) throws RecordIOException
Description copied from interface:RecordUnmarshaller
Unmarshals a single record.- Specified by:
unmarshal
in interfaceRecordUnmarshaller
- Parameters:
text
- the record text to unmarshal- Returns:
- the unmarshalled record object
- Throws:
RecordIOException
- if the record is malformed and cannot be parsed
-
-