coins.snapshot
Class AbstType

java.lang.Object
  extended bycoins.snapshot.AbstType
Direct Known Subclasses:
LabelType, StringType

abstract class AbstType
extends java.lang.Object

The super class of the LabelType and StringType. This type has a list of the element, which is a information about the nodes of a graph structure. Also, it has a attribute `displayName' which specify the name of the information.


Field Summary
protected  java.lang.String displayName
          The attribute of this type
protected  BiList elem
          The list of the element
 
Constructor Summary
(package private) AbstType(java.lang.String dName)
          Constructor
 
Method Summary
 java.lang.String displayName()
          Get the attribute `displayName'.
 java.lang.String toString()
          Generate the XML representation with no white spaces before.
 java.lang.String toString(int space)
          Generate the XML representation in string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

elem

protected BiList elem
The list of the element


displayName

protected final java.lang.String displayName
The attribute of this type

Constructor Detail

AbstType

AbstType(java.lang.String dName)
Constructor

Parameters:
dName - The attribute `displayName'
Method Detail

displayName

public java.lang.String displayName()
Get the attribute `displayName'.

Returns:
The attribute `displayName'

toString

public java.lang.String toString(int space)
Generate the XML representation in string.

Parameters:
space - The number of the white spaces
Returns:
The XML representation

toString

public java.lang.String toString()
Generate the XML representation with no white spaces before.

Returns:
The XML representation