org.apache.hivemind.definition.impl
Class ConfigurationParserDefinitionImpl

java.lang.Object
  extended by org.apache.hivemind.definition.impl.ExtensionDefinitionImpl
      extended by org.apache.hivemind.definition.impl.ConfigurationParserDefinitionImpl
All Implemented Interfaces:
ConfigurationParserDefinition, ExtensionDefinition, Locatable

public class ConfigurationParserDefinitionImpl
extends ExtensionDefinitionImpl
implements ConfigurationParserDefinition

Default implementation of ConfigurationParserDefinition.

Author:
Achim Huegen

Constructor Summary
ConfigurationParserDefinitionImpl(ModuleDefinition module)
           
ConfigurationParserDefinitionImpl(ModuleDefinition module, Location location, java.lang.String inputFormat, ConfigurationParserConstructor parserConstructor)
           
 
Method Summary
 java.lang.String getInputFormat()
           
 ConfigurationParserConstructor getParserConstructor()
           
 
Methods inherited from class org.apache.hivemind.definition.impl.ExtensionDefinitionImpl
getLocation, getModule, getModuleId, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hivemind.definition.ExtensionDefinition
getModule, getModuleId
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

ConfigurationParserDefinitionImpl

public ConfigurationParserDefinitionImpl(ModuleDefinition module)

ConfigurationParserDefinitionImpl

public ConfigurationParserDefinitionImpl(ModuleDefinition module,
                                         Location location,
                                         java.lang.String inputFormat,
                                         ConfigurationParserConstructor parserConstructor)
Method Detail

getInputFormat

public java.lang.String getInputFormat()
Specified by:
getInputFormat in interface ConfigurationParserDefinition
Returns:
the format of the data the parser can process
See Also:
ConfigurationParserDefinition.getInputFormat()

getParserConstructor

public ConfigurationParserConstructor getParserConstructor()
Specified by:
getParserConstructor in interface ConfigurationParserDefinition
Returns:
a factory for the construction of a parser instance
See Also:
ConfigurationParserDefinition.getParserConstructor()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.