org.eaglei.datatools.etl.server.extractor.parsers.xmlparser
Class XmlFileParser

java.lang.Object
  extended by org.eaglei.datatools.etl.server.extractor.parsers.EIFileParser<java.util.Map<java.lang.String,Data>>
      extended by org.eaglei.datatools.etl.server.extractor.parsers.xmlparser.XmlFileParser

public class XmlFileParser
extends EIFileParser<java.util.Map<java.lang.String,Data>>

Author:
Sravan Cheriyala

Constructor Summary
XmlFileParser(java.io.File xmlFile)
           
 
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
 

Constructor Detail

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
Method Detail

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.