org.eaglei.datatools.etl.server.extractor.parsers.xmlparser
Class XmlFileParser
java.lang.Object
org.eaglei.datatools.etl.server.extractor.parsers.EIFileParser<java.util.Map<java.lang.String,Data>>
org.eaglei.datatools.etl.server.extractor.parsers.xmlparser.XmlFileParser
public class XmlFileParser
- extends EIFileParser<java.util.Map<java.lang.String,Data>>
- Author:
- Sravan Cheriyala
|
Method Summary |
java.util.Map<java.lang.String,java.lang.String> |
getAllNamespacesFromXmlDocument()
|
java.util.Map<java.lang.String,Data> |
parse(java.io.File mapDirectory)
parses the file passed in the constructor using the template Configuration file . |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlFileParser
public XmlFileParser(java.io.File xmlFile)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
parse
public java.util.Map<java.lang.String,Data> parse(java.io.File mapDirectory)
throws org.apache.commons.configuration.ConfigurationException,
java.io.IOException,
java.text.ParseException,
ExtractorException
- Description copied from class:
EIFileParser
- parses the file passed in the constructor using the template Configuration file .
- Specified by:
parse in class EIFileParser<java.util.Map<java.lang.String,Data>>
- Returns:
-
- Throws:
org.apache.commons.configuration.ConfigurationException
java.io.IOException
java.text.ParseException
ExtractorException
getAllNamespacesFromXmlDocument
public java.util.Map<java.lang.String,java.lang.String> getAllNamespacesFromXmlDocument()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2009-2011 Eagle-I. All Rights Reserved.