Class NamedNode

  extended byedu.usc.alfa.xalfa.ast.Node
      extended byedu.usc.alfa.xalfa.ast.NamedNode
Direct Known Subclasses:
CompositionNode, ConstituentNode, DatumNode, DuctNode, PortalGroupNode, PortalNode

public abstract class NamedNode
extends Node

This class is a simple addition to the abstract node class, and provides a textual name, used to manually identify xAlfa objects.

Constructor Summary
NamedNode(java.lang.String ID, java.lang.String name)
          Creates a new instance of NamedNode
Method Summary
 java.lang.String getName()
Methods inherited from class edu.usc.alfa.xalfa.ast.Node
accept, equals, getID, getTabs, hashCode, nodeSequenceString, nodeSequenceString, toDebugString, toDebugString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public NamedNode(java.lang.String ID,
                 java.lang.String name)
Creates a new instance of NamedNode

ID - a unique identifier for the node
name - used to manually identify this node
Method Detail


public final java.lang.String getName()
String the name of this node