jInfer

cz.cuni.mff.ksi.jinfer.twostep.contentinfering.pattern
Class PatternFactory

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.twostep.contentinfering.pattern.PatternFactory
All Implemented Interfaces:
Capabilities, NamedModule, UserModuleDescription, ContentInferrerFactory

public class PatternFactory
extends Object
implements ContentInferrerFactory

TODO anti Comment!


Field Summary
static String DISPLAY_NAME
          Name presented to user.
static String NAME
          Canonical name.
static String PROPERTIES_AUTOMATON_SIMPLIFIER
          Property name (in configuration file) of first submodule - AutomatonSimplifier
static String PROPERTIES_AUTOMATON_SIMPLIFIER_DEFAULT
          Default AutomatonSimplifier implementation if none is set.
static String PROPERTIES_REGEXP_AUTOMATON_SIMPLIFIER
          Property name (in configuration file) of second submodule - RegexpAutomatonSimplifier
static String PROPERTIES_REGEXP_AUTOMATON_SIMPLIFIER_DEFAULT
          Default RegexpAutomatonSimplifier implementation if none is set.
 
Constructor Summary
PatternFactory()
           
 
Method Summary
 ContentInferrer create()
          Create ContentInferrer.
 List<String> getCapabilities()
          Returns the list of capabilities (strings) of this module.
 String getDisplayName()
          Returns a user friendly name of the module.
 String getModuleDescription()
          Returns the information about this module's inner workings.
 String getName()
          Returns a user friendly yet unique name of the module.
 String getUserModuleDescription()
          Text to be displayed to user in properties panel as a moderate description of module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
Canonical name.

See Also:
Constant Field Values

DISPLAY_NAME

public static final String DISPLAY_NAME
Name presented to user.

See Also:
Constant Field Values

PROPERTIES_AUTOMATON_SIMPLIFIER

public static final String PROPERTIES_AUTOMATON_SIMPLIFIER
Property name (in configuration file) of first submodule - AutomatonSimplifier

See Also:
Constant Field Values

PROPERTIES_AUTOMATON_SIMPLIFIER_DEFAULT

public static final String PROPERTIES_AUTOMATON_SIMPLIFIER_DEFAULT
Default AutomatonSimplifier implementation if none is set.

See Also:
Constant Field Values

PROPERTIES_REGEXP_AUTOMATON_SIMPLIFIER

public static final String PROPERTIES_REGEXP_AUTOMATON_SIMPLIFIER
Property name (in configuration file) of second submodule - RegexpAutomatonSimplifier

See Also:
Constant Field Values

PROPERTIES_REGEXP_AUTOMATON_SIMPLIFIER_DEFAULT

public static final String PROPERTIES_REGEXP_AUTOMATON_SIMPLIFIER_DEFAULT
Default RegexpAutomatonSimplifier implementation if none is set.

See Also:
Constant Field Values
Constructor Detail

PatternFactory

public PatternFactory()
Method Detail

create

public ContentInferrer create()
Description copied from interface: ContentInferrerFactory
Create ContentInferrer.

Specified by:
create in interface ContentInferrerFactory
Returns:
ContentInferrer instance

getName

public String getName()
Description copied from interface: NamedModule
Returns a user friendly yet unique name of the module.

Specified by:
getName in interface NamedModule
Returns:
Unique module name.

getDisplayName

public String getDisplayName()
Description copied from interface: NamedModule
Returns a user friendly name of the module. This name is not neccessary unique.

Specified by:
getDisplayName in interface NamedModule
Returns:
Displayable module name.

getModuleDescription

public String getModuleDescription()
Description copied from interface: NamedModule
Returns the information about this module's inner workings. Most of the time will be equal to a call to NamedModule.getDisplayName(), but if the module for example consists of more sub-modules, their names should be listed here.

Specified by:
getModuleDescription in interface NamedModule
Returns:
String describing inner structure of the module.

getCapabilities

public List<String> getCapabilities()
Description copied from interface: Capabilities
Returns the list of capabilities (strings) of this module.

Specified by:
getCapabilities in interface Capabilities
Returns:
List of capability names.

getUserModuleDescription

public String getUserModuleDescription()
Description copied from interface: UserModuleDescription
Text to be displayed to user in properties panel as a moderate description of module. 10-20 lines.

Specified by:
getUserModuleDescription in interface UserModuleDescription
Returns:

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011