story.scheherazade.verbalizer
Class AssignedConditionSymbol

java.lang.Object
  extended by story.scheherazade.verbalizer.AssignedConditionSymbol
All Implemented Interfaces:
RenderableObject, SerializationSymbol

public class AssignedConditionSymbol
extends java.lang.Object
implements RenderableObject, SerializationSymbol

An object that Verbalizer attaches to a verbalization of an AssignedCondition that contains the metadata allowing Virgil to jump to the corresponding symbols that generated the text.


Constructor Summary
AssignedConditionSymbol(AssignedCondition condition, TimelineTime perceptionTime)
           
AssignedConditionSymbol(NodeProxy condition, TimelineTime perceptionTime)
           
 
Method Summary
 NodeProxy getCondition()
           
 NodeProxy getNode()
           
 TimelineTime getPerceptionTime()
           
 java.lang.String key(boolean includePerceptionTime)
           
 java.lang.StringBuffer render()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignedConditionSymbol

public AssignedConditionSymbol(NodeProxy condition,
                               TimelineTime perceptionTime)

AssignedConditionSymbol

public AssignedConditionSymbol(AssignedCondition condition,
                               TimelineTime perceptionTime)
Method Detail

getNode

public NodeProxy getNode()
Specified by:
getNode in interface SerializationSymbol

getCondition

public NodeProxy getCondition()

getPerceptionTime

public TimelineTime getPerceptionTime()

render

public java.lang.StringBuffer render()
                              throws Scheherexception
Specified by:
render in interface RenderableObject
Throws:
Scheherexception

key

public java.lang.String key(boolean includePerceptionTime)
                     throws Scheherexception
Specified by:
key in interface SerializationSymbol
Throws:
Scheherexception


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