ua.gradsoft.termware
Class TermWare

java.lang.Object
  extended by ua.gradsoft.termware.TermWare

public class TermWare
extends Object

Singleton for termware

Author:
Ruslan Shevchenko

Field Summary
static Term[] EMPTY_TERM_ARRAY
           
static String NAME_SEPARATOR
           
static String VERSION
           
 
Constructor Summary
TermWare()
           
 
Method Summary
static void addGeneralTransformers(TermSystem system)
          add transformers from general system.
static void addGenSysTransformers(TermSystem system)
          add gensys transformers to system system
static void addListTransformers(TermSystem system)
           
static void addStringTransformers(TermSystem system)
           
static TermWareInstance createNewInstance()
           
static TermWareInstance getInstance()
           
static boolean isInDebug()
          If we prepared for rule debug ? When this switch is set, debug stubs is generated via rule processing, to allow source-level debug of rules.
static void setInDebug(boolean inDebug)
          set debug switch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_SEPARATOR

public static final String NAME_SEPARATOR
See Also:
Constant Field Values

EMPTY_TERM_ARRAY

public static final Term[] EMPTY_TERM_ARRAY

VERSION

public static final String VERSION
See Also:
Constant Field Values
Constructor Detail

TermWare

public TermWare()
Method Detail

addGeneralTransformers

public static void addGeneralTransformers(TermSystem system)
                                   throws TermWareException
add transformers from general system.

Throws:
TermWareException

addGenSysTransformers

public static void addGenSysTransformers(TermSystem system)
                                  throws TermWareException
add gensys transformers to system system

Throws:
TermWareException

addStringTransformers

public static void addStringTransformers(TermSystem system)
                                  throws TermWareException
Throws:
TermWareException

addListTransformers

public static void addListTransformers(TermSystem system)
                                throws TermWareException
Throws:
TermWareException

getInstance

public static TermWareInstance getInstance()

createNewInstance

public static TermWareInstance createNewInstance()

isInDebug

public static boolean isInDebug()
If we prepared for rule debug ? When this switch is set, debug stubs is generated via rule processing, to allow source-level debug of rules.


setInDebug

public static void setInDebug(boolean inDebug)
set debug switch.

See Also:
isInDebug()