pl.edu.agh.cast.importer.base.util
Interface IImporterPluginRegistryProvider

All Known Implementing Classes:
MockImporterPluginRegistryProvider

public interface IImporterPluginRegistryProvider

Basic interface for the importer implementation provider.

Author:
AGH CAST Team

Method Summary
 String getConversionRuleDescription(String conversionRuleId)
          Retrieves description of conversion rule with a given extension identifier.
 List<ConversionRuleInfo> getConversionRuleInfos()
          Returns the list of information about all available conversion rules.
 IConversionRule getConversionRuleInstance(String conversionRuleId)
          Returns the conversion rule for model with given extension identifier.
 String getConversionRuleName(String ruleId)
          Retrieves name of conversion rule with a given extension identifier.
 String getConverterDescription(String converterId)
          Retrieves description of converter with a given extension identifier.
 List<ImportConverterInfo> getConverterInfos()
          Returns the list of information about all available converters.
 IImportConverter getConverterInstance(String converterId)
          Returns the converter for model with given extension identifier.
 List<DataTypeInfo> getDataTypeInfos()
          Returns the list of information about all available data types.
 Map<String,String> getSupportedFileExtensions()
          Retrieves all file extensions supported by all tokenizers, mapped to their tokenizer's identifiers.
 String getTokenizerDescription(String tokenizerId)
          Retrieves description of tokenizer with a given extension identifier.
 List<TokenizerInfo> getTokenizerInfos()
          Returns the list of information about all available tokenizers.
 IImportTokenizer getTokenizerInstance(String tokenizerId)
          Returns the tokenizer for model with given extension identifier.
 String getTokenizerName(String tokenizerId)
          Retrieves name of tokenizer with a given extension identifier.
 

Method Detail

getTokenizerInfos

List<TokenizerInfo> getTokenizerInfos()
                                      throws org.eclipse.core.runtime.CoreException
Returns the list of information about all available tokenizers.

Returns:
list of tokenizer information
Throws:
org.eclipse.core.runtime.CoreException

getConversionRuleInfos

List<ConversionRuleInfo> getConversionRuleInfos()
                                                throws org.eclipse.core.runtime.CoreException
Returns the list of information about all available conversion rules.

Returns:
list of conversion rules information
Throws:
org.eclipse.core.runtime.CoreException

getConverterInfos

List<ImportConverterInfo> getConverterInfos()
                                            throws org.eclipse.core.runtime.CoreException
Returns the list of information about all available converters.

Returns:
list of converters information
Throws:
org.eclipse.core.runtime.CoreException

getDataTypeInfos

List<DataTypeInfo> getDataTypeInfos()
                                    throws org.eclipse.core.runtime.CoreException
Returns the list of information about all available data types.

Returns:
list of data type information
Throws:
org.eclipse.core.runtime.CoreException

getTokenizerInstance

IImportTokenizer getTokenizerInstance(String tokenizerId)
                                      throws org.eclipse.core.runtime.CoreException
Returns the tokenizer for model with given extension identifier.

Parameters:
tokenizerId - the id of the tokenizer extension (defined in the plugin.xml file)
Returns:
the import tokenizer of given model
Throws:
org.eclipse.core.runtime.CoreException

getConverterInstance

IImportConverter getConverterInstance(String converterId)
                                      throws org.eclipse.core.runtime.CoreException
Returns the converter for model with given extension identifier.

Parameters:
converterId - the id of the converter extension (defined in the plugin.xml file)
Returns:
the import converter of given model
Throws:
org.eclipse.core.runtime.CoreException

getConversionRuleInstance

IConversionRule getConversionRuleInstance(String conversionRuleId)
                                          throws org.eclipse.core.runtime.CoreException
Returns the conversion rule for model with given extension identifier.

Parameters:
conversionRuleId - the id of the conversion rule extension (defined in the plugin.xml file)
Returns:
the conversion rule of given model
Throws:
org.eclipse.core.runtime.CoreException

getTokenizerName

String getTokenizerName(String tokenizerId)
Retrieves name of tokenizer with a given extension identifier.

Parameters:
tokenizerId - The id of the tokenizer extension (defined in the plugin.xml file)
Returns:
the name of the tokenizer

getConversionRuleName

String getConversionRuleName(String ruleId)
Retrieves name of conversion rule with a given extension identifier.

Parameters:
ruleId - The id of the conversion rule extension (defined in the plugin.xml file)
Returns:
the name of the conversion rule

getTokenizerDescription

String getTokenizerDescription(String tokenizerId)
Retrieves description of tokenizer with a given extension identifier.

Parameters:
tokenizerId - The id of the tokenizer extension (defined in the plugin.xml file)
Returns:
the description of the tokenizer

getSupportedFileExtensions

Map<String,String> getSupportedFileExtensions()
Retrieves all file extensions supported by all tokenizers, mapped to their tokenizer's identifiers.

Returns:
all supported file extensions mappings

getConverterDescription

String getConverterDescription(String converterId)
Retrieves description of converter with a given extension identifier.

Parameters:
converterId - The id of the converter extension (defined in the plugin.xml file)
Returns:
the description of the converter

getConversionRuleDescription

String getConversionRuleDescription(String conversionRuleId)
Retrieves description of conversion rule with a given extension identifier.

Parameters:
conversionRuleId - The id of the conversion rule extension (defined in the plugin.xml file)
Returns:
the description of the conversion rule


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.