story.scheherazade.virgil
Interface VirgilConfiguration

All Known Implementing Classes:
VirgilFileConfig

public interface VirgilConfiguration

Interface for providing configuration data to Virgil.


Method Summary
 java.lang.String getInputStoryText()
          Get the text of the natural-language input story.
 VirgilParams getParams()
          Get miscellaneous Virgil parameters.
 PlannerRepository getPlannerRepository()
          Get the repository of Verbalizer planners for serializing the various symbols
 java.awt.Image getPortrait(java.lang.String key)
          Returns the portrait image for some key.
 StoryListener getStartupStoryListener()
          Get the StoryListner for the startup state of the story.
 boolean portraitSet(java.lang.String key)
          Return whether a portrait image is set for some key.
 

Method Detail

getStartupStoryListener

StoryListener getStartupStoryListener()
                                      throws Scheherexception
Get the StoryListner for the startup state of the story.

Throws:
Scheherexception

getInputStoryText

java.lang.String getInputStoryText()
                                   throws Scheherexception
Get the text of the natural-language input story.

Throws:
Scheherexception

portraitSet

boolean portraitSet(java.lang.String key)
                    throws Scheherexception
Return whether a portrait image is set for some key.

Throws:
Scheherexception

getPortrait

java.awt.Image getPortrait(java.lang.String key)
                           throws Scheherexception
Returns the portrait image for some key. Throws an exception if no such portrait is availalable.

Throws:
Scheherexception

getPlannerRepository

PlannerRepository getPlannerRepository()
                                       throws Scheherexception
Get the repository of Verbalizer planners for serializing the various symbols

Throws:
Scheherexception

getParams

VirgilParams getParams()
                       throws Scheherexception
Get miscellaneous Virgil parameters.

Throws:
Scheherexception


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