org.apache.oodt.cas.metadata.extractors
Class AbstractSAXConfigReader

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.apache.oodt.cas.metadata.extractors.AbstractSAXConfigReader
All Implemented Interfaces:
MetExtractorConfig, MetExtractorConfigReader, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class AbstractSAXConfigReader
extends org.xml.sax.helpers.DefaultHandler
implements MetExtractorConfigReader, MetExtractorConfig

Parses an xml config file for MetExtractors using SAX.

Author:
rickdn (Ricky Nguyen)

Constructor Summary
AbstractSAXConfigReader()
           
 
Method Summary
 AbstractSAXConfigReader parseConfigFile(File configFile)
          Parses a config File into a MetExtractorConfig obj
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSAXConfigReader

public AbstractSAXConfigReader()
Method Detail

parseConfigFile

public AbstractSAXConfigReader parseConfigFile(File configFile)
                                        throws MetExtractorConfigReaderException
Description copied from interface: MetExtractorConfigReader
Parses a config File into a MetExtractorConfig obj

Specified by:
parseConfigFile in interface MetExtractorConfigReader
Parameters:
configFile - The config File to be parsed
Returns:
The MetExtractorConfig obj created by parsing the input config File
Throws:
MetExtractorConfigReaderException - If any error occurs


Copyright © 1999-2014 Apache OODT. All Rights Reserved.