org.jasen.core.parsers
Class StandardHeuristicDefinitionSet

java.lang.Object
  extended byorg.jasen.core.parsers.StandardHeuristicDefinitionSet
All Implemented Interfaces:
HeuristicDefinitionSet

public class StandardHeuristicDefinitionSet
extends Object
implements HeuristicDefinitionSet

Maintains a set of regular expressions.

Author:
Jason Polites

Constructor Summary
StandardHeuristicDefinitionSet()
           
 
Method Summary
 String[] getDefinitions()
          Gets the set of definitions contained in this set
 void init(Properties properties)
          Initialises the definition set from the given properties
 void setDefinitions(String[] definitions)
          Sets the set of definitions contained in this set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardHeuristicDefinitionSet

public StandardHeuristicDefinitionSet()
Method Detail

getDefinitions

public String[] getDefinitions()
Gets the set of definitions contained in this set

Returns:
An array of strings representing each definition

setDefinitions

public void setDefinitions(String[] definitions)
Sets the set of definitions contained in this set

Parameters:
definitions - An array of strings representing each definition

init

public void init(Properties properties)
          throws JasenException
Description copied from interface: HeuristicDefinitionSet
Initialises the definition set from the given properties

Specified by:
init in interface HeuristicDefinitionSet
Parameters:
properties - The set of properties used to initialise and configure the definition set
Throws:
JasenException