story.scheherazade.misc
Class NounWithName

java.lang.Object
  extended by story.scheherazade.misc.NounWithName
All Implemented Interfaces:
RenderableObject

public class NounWithName
extends java.lang.Object
implements RenderableObject

Like a NamedNoun, but for Nouns not yet validated (i.e., loading from file).


Constructor Summary
NounWithName(Noun noun, NounName name)
           
 
Method Summary
 NounName getName()
          Get the name, potentially null.
 Noun getNoun()
          Get the noun.
 java.lang.StringBuffer render()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NounWithName

public NounWithName(Noun noun,
                    NounName name)
             throws Scheherexception
Throws:
Scheherexception
Method Detail

getNoun

public Noun getNoun()
Get the noun.


getName

public NounName getName()
Get the name, potentially null.


render

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


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