ch.sahits.codegen.extensions
Interface IGeneralGeneratorExtension

All Superinterfaces:
IGeneratorExtension

public interface IGeneralGeneratorExtension
extends IGeneratorExtension

Interface extending the capabilities of the basix generator extension to provide means to filter input files based on the selected generator.

Since:
2.1.0
Author:
Andi Hotz, Sahits GmbH

Method Summary
 java.lang.String getInputFileExtension()
          Retrieve the fileextension of the input file.
 java.lang.Class<?> getXMLParser()
          Retrieve the XML parser for the input file.
 boolean withDatabase()
          Check if database information is needed.
 boolean withXMLInputFile()
          Check if the input file must be an XML file.
 
Methods inherited from interface ch.sahits.codegen.extensions.IGeneratorExtension
getBundleName, getContextHelpID, getDisplayDescription, getFileExtension
 

Method Detail

withDatabase

boolean withDatabase()
Check if database information is needed. Default is false (e.g. not specified in the extension)

Returns:
true if database information is needed

withXMLInputFile

boolean withXMLInputFile()
Check if the input file must be an XML file. Default is false (e.g. not specified in the extension)

Returns:
true if the inputfile must be an XML file

getInputFileExtension

java.lang.String getInputFileExtension()
Retrieve the fileextension of the input file. Default is null (e.g. not specified in the extension)

Returns:
input file extension

getXMLParser

java.lang.Class<?> getXMLParser()
Retrieve the XML parser for the input file. Default is false (e.g. not specified in the extension) This value may not be null if withXMLInputFile() is true

Returns:
XML Parser