story.scheherazade.misc
Class NounWithName
java.lang.Object
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).
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NounWithName
public NounWithName(Noun noun,
NounName name)
throws Scheherexception
- Throws:
Scheherexception
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.