story.scheherazade.verbalizer
Class Style

java.lang.Object
  extended by story.scheherazade.verbalizer.Style

public class Style
extends java.lang.Object


Field Summary
static int ALL_NOUNS_GIVEN_OFF
           
static int ALL_NOUNS_GIVEN_ON
           
static int ALLOW_NAMES_OFF
           
static int ALLOW_NAMES_ON
           
static int ANONYMOUS_DISAMBIGUATORS_OFF
           
static int ANONYMOUS_DISAMBIGUATORS_ON
           
static int DEBUG_OFF
           
static int DEBUG_ON
           
static Style DEFAULT_STYLE
           
static int MODIFIERS_OFF
           
static int MODIFIERS_ON
           
static int NOUN_PROPERTIES_IN_INTRODUCTIONS_OFF
           
static int NOUN_PROPERTIES_IN_INTRODUCTIONS_ON
           
static int REALITY_PERCEPTION_ALL
           
static int REALITY_PERCEPTION_POSITIVE
           
static int STATE_ANNOUNCE_PROSE_NUMERIC
           
static int STATE_ANNOUNCE_TECHNICAL
           
 
Constructor Summary
Style()
           
 
Method Summary
 int get(StyleParam parameter)
          Retrieve a style parameter.
 void set(StyleParam parameter, int value)
          Set a style parameter.
 boolean styleSet(StyleParam parameter)
          Returns whether a style parameter has been set.
 void unset(StyleParam parameter)
          Unset a parameter, if it is set.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_ANNOUNCE_TECHNICAL

public static int STATE_ANNOUNCE_TECHNICAL

STATE_ANNOUNCE_PROSE_NUMERIC

public static int STATE_ANNOUNCE_PROSE_NUMERIC

REALITY_PERCEPTION_ALL

public static int REALITY_PERCEPTION_ALL

REALITY_PERCEPTION_POSITIVE

public static int REALITY_PERCEPTION_POSITIVE

ANONYMOUS_DISAMBIGUATORS_ON

public static int ANONYMOUS_DISAMBIGUATORS_ON

ANONYMOUS_DISAMBIGUATORS_OFF

public static int ANONYMOUS_DISAMBIGUATORS_OFF

ALL_NOUNS_GIVEN_ON

public static int ALL_NOUNS_GIVEN_ON

ALL_NOUNS_GIVEN_OFF

public static int ALL_NOUNS_GIVEN_OFF

NOUN_PROPERTIES_IN_INTRODUCTIONS_ON

public static int NOUN_PROPERTIES_IN_INTRODUCTIONS_ON

NOUN_PROPERTIES_IN_INTRODUCTIONS_OFF

public static int NOUN_PROPERTIES_IN_INTRODUCTIONS_OFF

MODIFIERS_ON

public static int MODIFIERS_ON

MODIFIERS_OFF

public static int MODIFIERS_OFF

DEBUG_ON

public static int DEBUG_ON

DEBUG_OFF

public static int DEBUG_OFF

ALLOW_NAMES_ON

public static int ALLOW_NAMES_ON

ALLOW_NAMES_OFF

public static int ALLOW_NAMES_OFF

DEFAULT_STYLE

public static Style DEFAULT_STYLE
Constructor Detail

Style

public Style()
Method Detail

set

public void set(StyleParam parameter,
                int value)
         throws Scheherexception
Set a style parameter.

Throws:
Scheherexception

get

public int get(StyleParam parameter)
        throws Scheherexception
Retrieve a style parameter.

Throws:
Scheherexception

styleSet

public boolean styleSet(StyleParam parameter)
                 throws Scheherexception
Returns whether a style parameter has been set.

Throws:
Scheherexception

unset

public void unset(StyleParam parameter)
Unset a parameter, if it is set.



Copyright © 2011 David K. Elson. All Rights Reserved.