story.scheherazade.verbalizer
Class AssignedActionSymbol

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

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

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


Constructor Summary
AssignedActionSymbol(AssignedAction action, TimelineTime perceptionTime, Perspective perspective)
           
AssignedActionSymbol(NodeProxy action, TimelineTime perceptionTime, Perspective perspective)
           
 
Method Summary
 NodeProxy getAction()
           
 NodeProxy getNode()
           
 TimelineTime getPerceptionTime()
           
 Perspective getPerspective()
           
 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

AssignedActionSymbol

public AssignedActionSymbol(AssignedAction action,
                            TimelineTime perceptionTime,
                            Perspective perspective)
                     throws Scheherexception
Throws:
Scheherexception

AssignedActionSymbol

public AssignedActionSymbol(NodeProxy action,
                            TimelineTime perceptionTime,
                            Perspective perspective)
                     throws Scheherexception
Throws:
Scheherexception
Method Detail

getNode

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

getAction

public NodeProxy getAction()

getPerceptionTime

public TimelineTime getPerceptionTime()

getPerspective

public Perspective getPerspective()

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.