edu.wpi.cs.DSRG.xmldb.DTDWrapper
Class Item

java.lang.Object
  |
  +--edu.wpi.cs.DSRG.xmldb.DTDWrapper.Item
Direct Known Subclasses:
ElementTypeDeclaration, ElementTypeReference, Group

public abstract class Item
extends java.lang.Object

This is the superclass of the ElementTypeDeclaration and Group. It's an abstract class that means no objects could be directly the objects of class item, it will be either ElementTypeDeclaration or Group. Purpose of doing it to use Reference to reference to this superclass, instead of distinguishing between the Group and the ElementTypeDeclaration.


Constructor Summary
Item()
           
 
Method Summary
abstract  java.lang.String getName()
          Return the name of this Item.
abstract  int getNumberOfReferences()
          Return the number of the references from this Item.
abstract  Reference getReferenceAt(int Index)
          Return the specific reference by Index.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Item

public Item()
Method Detail

getName

public abstract java.lang.String getName()
Return the name of this Item.

getNumberOfReferences

public abstract int getNumberOfReferences()
Return the number of the references from this Item.

getReferenceAt

public abstract Reference getReferenceAt(int Index)
Return the specific reference by Index.