story.scheherazade.verbalizer
Class AssignedModifierSymbol

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

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

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


Constructor Summary
AssignedModifierSymbol(AssignedModifier modifier, TimelineTime perceptionTime, Perspective perspective)
           
AssignedModifierSymbol(NodeProxy modifier, TimelineTime perceptionTime, Perspective perspective)
           
 
Method Summary
 NodeProxy getModifier()
           
 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

AssignedModifierSymbol

public AssignedModifierSymbol(AssignedModifier modifier,
                              TimelineTime perceptionTime,
                              Perspective perspective)
                       throws Scheherexception
Throws:
Scheherexception

AssignedModifierSymbol

public AssignedModifierSymbol(NodeProxy modifier,
                              TimelineTime perceptionTime,
                              Perspective perspective)
                       throws Scheherexception
Throws:
Scheherexception
Method Detail

getNode

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

getModifier

public NodeProxy getModifier()

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.