org.cogroo.tools.checker.rules.util
Class RulesProperties

java.lang.Object
  extended by org.cogroo.tools.checker.rules.util.RulesProperties

public class RulesProperties
extends Object

This class holds common properties to the rules applier classes.

Version:
$Id: RulesProperties.java 400 2007-04-19 02:36:40Z msuzumura $
Author:
Marcelo Suzumura

Field Summary
static boolean APPLY_LOCAL
           
static boolean APPLY_PHRASE_LOCAL
           
static boolean APPLY_SUBJECT_VERB
           
static String[] CHECKERS
           
static String DATA_SOURCE
           
static int GENERAL_TREE
          Index of the tree that matches rules in the tokens level.
static int NUMBER_OF_TREES
          Types of trees that will be generated by the RulesTreesBuilder class, based in the schema and the rules.
static String PACKAGE
           
static int PHRASE_LOCAL_TREE
          Index of the tree that matches rules in the chunks level.
static boolean REREAD_FROM_SERIALIZED
           
static String rootFolder
          This resource bundle holds various properties used by the rules applier.
static int SUBJECT_VERB_TREE
          Index of the tree that matches rules between the subject and verb.
static String XML_FILE_ENCODING
           
 
Method Summary
static String getRulesFile()
           
static String getSchemaFile()
           
static String getSerializedTreesFile()
           
static boolean isReadFromSerialized()
           
static boolean isRereadRules()
           
static void setReadFromSerialized(boolean readFromSerialized)
           
static void setRereadRules(boolean rereadRules)
           
static void setRootFolder(String value)
          This resets all paths!
static void setRulesFile(String rulesFile)
           
static void setSchemaFile(String schemaFile)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootFolder

public static String rootFolder
This resource bundle holds various properties used by the rules applier.


NUMBER_OF_TREES

public static final int NUMBER_OF_TREES
Types of trees that will be generated by the RulesTreesBuilder class, based in the schema and the rules.

See Also:
Constant Field Values

GENERAL_TREE

public static final int GENERAL_TREE
Index of the tree that matches rules in the tokens level.

See Also:
Constant Field Values

PHRASE_LOCAL_TREE

public static final int PHRASE_LOCAL_TREE
Index of the tree that matches rules in the chunks level.

See Also:
Constant Field Values

SUBJECT_VERB_TREE

public static final int SUBJECT_VERB_TREE
Index of the tree that matches rules between the subject and verb.

See Also:
Constant Field Values

APPLY_LOCAL

public static final boolean APPLY_LOCAL

APPLY_PHRASE_LOCAL

public static final boolean APPLY_PHRASE_LOCAL

APPLY_SUBJECT_VERB

public static final boolean APPLY_SUBJECT_VERB

PACKAGE

public static final String PACKAGE

REREAD_FROM_SERIALIZED

public static final boolean REREAD_FROM_SERIALIZED

DATA_SOURCE

public static final String DATA_SOURCE

XML_FILE_ENCODING

public static final String XML_FILE_ENCODING

CHECKERS

public static final String[] CHECKERS
Method Detail

setRootFolder

public static void setRootFolder(String value)
This resets all paths!

Parameters:
value -

setRulesFile

public static void setRulesFile(String rulesFile)

setSchemaFile

public static void setSchemaFile(String schemaFile)

getRulesFile

public static String getRulesFile()

getSchemaFile

public static String getSchemaFile()

getSerializedTreesFile

public static String getSerializedTreesFile()

setRereadRules

public static void setRereadRules(boolean rereadRules)

isRereadRules

public static boolean isRereadRules()

setReadFromSerialized

public static void setReadFromSerialized(boolean readFromSerialized)

isReadFromSerialized

public static boolean isReadFromSerialized()


Copyright © 2012-2013 CoGrOO. All Rights Reserved.