BeanIO 2.0.4

org.beanio.stream.xml
Class XmlRecordUnmarshaller

java.lang.Object
  extended by 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

Constructor Summary
XmlRecordUnmarshaller()
          Constructs a new XmlRecordUnmarshaller.
 
Method Summary
 Object unmarshal(String text)
          Unmarshals a single record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlRecordUnmarshaller

public XmlRecordUnmarshaller()
Constructs a new XmlRecordUnmarshaller.

Method Detail

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

BeanIO 2.0.4

Copyright © 2010-2013 Kevin Seim