1 15 package org.apache.hivemind.definition.impl; 16 17 import org.apache.hivemind.Location; 18 import org.apache.hivemind.definition.ConfigurationParserConstructor; 19 import org.apache.hivemind.definition.ConfigurationParserDefinition; 20 import org.apache.hivemind.definition.ModuleDefinition; 21 22 27 public class ConfigurationParserDefinitionImpl extends ExtensionDefinitionImpl implements ConfigurationParserDefinition 28 { 29 private String _inputFormat; 30 private ConfigurationParserConstructor _parserConstructor; 31 32 public ConfigurationParserDefinitionImpl(ModuleDefinition module) 33 { 34 super(module); 35 } 36 37 public ConfigurationParserDefinitionImpl(ModuleDefinition module, Location location, 38 String inputFormat, ConfigurationParserConstructor parserConstructor) 39 { 40 super(module, location); 41 _inputFormat = inputFormat; 42 _parserConstructor = parserConstructor; 43 } 44 45 48 public String getInputFormat() 49 { 50 return _inputFormat; 51 } 52 53 56 public ConfigurationParserConstructor getParserConstructor() 57 { 58 return _parserConstructor; 59 } 60 } 61 | Popular Tags |