story.scheherazade.elements
Class InterpValidationError

java.lang.Object
  extended by story.scheherazade.elements.InterpValidationError

public class InterpValidationError
extends java.lang.Object

A closure error in the story graph.


Constructor Summary
InterpValidationError(InterpValidationErrorType errorType, InterpElement interpElement)
           
 
Method Summary
 InterpValidationErrorType getErrorType()
           
 InterpElement getOffendingElement()
           
 java.lang.StringBuffer render(StoryInterpreter story, Verbalizer verbalizer, PlannerRepository plannerRep)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterpValidationError

public InterpValidationError(InterpValidationErrorType errorType,
                             InterpElement interpElement)
Method Detail

getErrorType

public InterpValidationErrorType getErrorType()

getOffendingElement

public InterpElement getOffendingElement()

render

public java.lang.StringBuffer render(StoryInterpreter story,
                                     Verbalizer verbalizer,
                                     PlannerRepository plannerRep)
                              throws Scheherexception
Throws:
Scheherexception


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