story.scheherazade.parameters
Class SCHParameter

java.lang.Object
  extended by story.scheherazade.parameters.SCHParameter
Direct Known Subclasses:
StoryAssertionParameter, StoryQueryParameter

public abstract class SCHParameter
extends java.lang.Object

An abstract SCHParameter (Scheherazade-specific param).

Contains functionality common to all concrete SCHParameters.


Constructor Summary
SCHParameter()
           
 
Method Summary
 SCHParameter makeClone()
          Make a clone of the Parameter.
abstract  SCHParameter makeCopy()
          Make a copy of the Parameter at the level of the concretizing class
abstract  SCHReferenceReqSet referenceRequirements()
          Each concretizing class needs to provide a ReferenceReqSet of all the references which must be set prior to the parameter's evaluation.
 java.lang.StringBuffer render()
           
abstract  java.lang.StringBuffer specificRender()
          Each concretizing class needs to provide a render function.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCHParameter

public SCHParameter()
Method Detail

referenceRequirements

public abstract SCHReferenceReqSet referenceRequirements()
Each concretizing class needs to provide a ReferenceReqSet of all the references which must be set prior to the parameter's evaluation.


specificRender

public abstract java.lang.StringBuffer specificRender()
                                               throws Scheherexception
Each concretizing class needs to provide a render function. It is encapsulated inside this abstract class's render() so that we can render the outgoing reference, if any.

Throws:
Scheherexception

render

public java.lang.StringBuffer render()
                              throws Scheherexception
Throws:
Scheherexception

makeCopy

public abstract SCHParameter makeCopy()
Make a copy of the Parameter at the level of the concretizing class


makeClone

public SCHParameter makeClone()
Make a clone of the Parameter.



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