edu.usc.alfa.xalfa.ast.primitive
Class InterfaceNode

java.lang.Object
  extended byedu.usc.alfa.xalfa.ast.Node
      extended byedu.usc.alfa.xalfa.ast.NamedNode
          extended byedu.usc.alfa.xalfa.ast.primitive.PortalGroupNode
              extended byedu.usc.alfa.xalfa.ast.primitive.InterfaceNode

public class InterfaceNode
extends PortalGroupNode

An interface is a basic grouping of portals similar to a subroutine definition in programming languages.


Constructor Summary
InterfaceNode(java.lang.String ID, java.lang.String label)
          Creates a new instance of InterfaceNode
 
Method Summary
 void accept(edu.usc.alfa.xalfa.visitor.NodeVisitor v)
          The visitor method to analyze xAlfa objects.
 java.lang.String toDebugString(int level)
          Generate debug information for this node.
 java.lang.String toString()
           
 
Methods inherited from class edu.usc.alfa.xalfa.ast.primitive.PortalGroupNode
getPortals, getTemplate, setPortals, setTemplate
 
Methods inherited from class edu.usc.alfa.xalfa.ast.NamedNode
getName
 
Methods inherited from class edu.usc.alfa.xalfa.ast.Node
equals, getID, getTabs, hashCode, nodeSequenceString, nodeSequenceString, toDebugString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterfaceNode

public InterfaceNode(java.lang.String ID,
                     java.lang.String label)
Creates a new instance of InterfaceNode

Parameters:
ID - uniquely identifying the node
label - for manual identification
Method Detail

accept

public void accept(edu.usc.alfa.xalfa.visitor.NodeVisitor v)
Description copied from class: Node
The visitor method to analyze xAlfa objects. This method is part of the Visitor pattern from GOF.

Overrides:
accept in class PortalGroupNode

toDebugString

public java.lang.String toDebugString(int level)
Description copied from class: Node
Generate debug information for this node. Nesting levels are provided so that hierarchical information can be easily debugged. Typically, debugging information includes values of various parameters and the debugging information for internal objects

Overrides:
toDebugString in class PortalGroupNode

toString

public java.lang.String toString()
Overrides:
toString in class PortalGroupNode