|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.stream.xml.XmlReaderFactory
public class XmlReaderFactory
This record reader factory is used to create and configure a XmlReader.
XmlReader
Constructor Summary | |
---|---|
XmlReaderFactory()
Constructs a new XmlReaderFactory. |
Method Summary | |
---|---|
RecordReader |
createReader(Reader in)
Creates a new RecordReader to read from an input stream. |
void |
setConfiguration(XmlStreamConfiguration source)
This method is invoked by a XML stream definition when a RecordReader implementation is registered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlReaderFactory()
Method Detail |
---|
public RecordReader createReader(Reader in) throws IllegalArgumentException
RecordReaderFactory
createReader
in interface RecordReaderFactory
in
- the input stream to read from
IllegalArgumentException
- if the factory is improperly configured
and a RecordReader cannot be createdpublic void setConfiguration(XmlStreamConfiguration source)
XmlStreamConfigurationAware
setConfiguration
in interface XmlStreamConfigurationAware
source
- the XML stream configuration
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |