|
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.config.xml.XmlConfigurationLoader
public class XmlConfigurationLoader
Loads BeanIO mapping files in XML format. This class is made thread safe
by delegating most of the parsing logic to XmlMappingParser
, for
which a new instance is created for each input stream that requires parsing.
Constructor Summary | |
---|---|
XmlConfigurationLoader()
|
Method Summary | |
---|---|
protected XmlMappingParser |
createParser()
Creates a XmlMappingParser for reading an mapping input stream. |
protected XmlMappingReader |
getReader()
Returns the XmlMappingReader for reading XML mapping files
into a document object model (DOM). |
Collection<BeanIOConfig> |
loadConfiguration(InputStream in)
Loads a BeanIO configuration from an input stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlConfigurationLoader()
Method Detail |
---|
public Collection<BeanIOConfig> loadConfiguration(InputStream in) throws IOException, BeanIOConfigurationException
ConfigurationLoader
loadConfiguration
in interface ConfigurationLoader
in
- the input stream to read the configuration from
IOException
- if an I/O error occurs
BeanIOConfigurationException
- if the configuration is invalid or malformedprotected XmlMappingParser createParser()
XmlMappingParser
for reading an mapping input stream.
protected XmlMappingReader getReader()
XmlMappingReader
for reading XML mapping files
into a document object model (DOM).
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |