story.scheherazade.nodes
Class NounNode
java.lang.Object
story.scheherazade.nodes.NounNode
- All Implemented Interfaces:
- NodeConfig
public class NounNode
- extends java.lang.Object
- implements NodeConfig
Noun node. Represents an abstract Noun.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATT_ISTYPE
public static final AttributeID ATT_ISTYPE
ATT_ISGROUP
public static final AttributeID ATT_ISGROUP
ATT_PARAMETERS
public static final AttributeID ATT_PARAMETERS
ATT_TYPE
public static final AttributeID ATT_TYPE
ATT_NAME
public static final AttributeID ATT_NAME
ATT_GENDER
public static final AttributeID ATT_GENDER
ATT_DEFINITION
public static final AttributeID ATT_DEFINITION
NounNode
public NounNode()
getType
public NodeType getType()
- Specified by:
getType
in interface NodeConfig
registerAttributes
public AttributeID[] registerAttributes()
throws Scheherexception
- Specified by:
registerAttributes
in interface NodeConfig
- Throws:
Scheherexception
initAttribute
public Attribute initAttribute(AttributeID att)
throws Scheherexception
- Specified by:
initAttribute
in interface NodeConfig
- Throws:
Scheherexception
subTypes
public GenericType subTypes()
- Description copied from interface:
NodeConfig
- If you want this node type to support subtypes, return a
GenericType for the enum you want to describe the possible
subtypes. Otherwise, return null.
- Specified by:
subTypes
in interface NodeConfig
Copyright © 2011 David K. Elson. All Rights Reserved.