edu.neu.ccs.demeterf.demfgen.classes
Class TypeDef

java.lang.Object
  extended by edu.neu.ccs.demeterf.demfgen.classes.TypeDef
Direct Known Subclasses:
ClassDef, IntfcDef

public abstract class TypeDef
extends java.lang.Object

Representation of TypeDef


Constructor Summary
TypeDef()
          Construct a(n) TypeDef Instance
 
Method Summary
abstract  TypeDef addFieldsAndSyntax(List<FieldOrSyntax> nfs)
           
 boolean doParse()
           
 boolean isDef()
           
 boolean isIntfc()
           
abstract  boolean isProd()
           
abstract  java.lang.String name()
           
abstract  TypeDefParams params()
           
static TypeDef parse(java.io.InputStream inpt)
          Parse an instance of TypeDef from the given Stream
static TypeDef parse(java.io.Reader inpt)
          Parse an instance of TypeDef from the given Reader
static TypeDef parse(java.lang.String inpt)
          Parse an instance of TypeDef from the given String
 java.lang.String print()
          DGP method from Class Print
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeDef

public TypeDef()
Construct a(n) TypeDef Instance

Method Detail

parse

public static TypeDef parse(java.lang.String inpt)
                     throws ParseException
Parse an instance of TypeDef from the given String

Throws:
ParseException

parse

public static TypeDef parse(java.io.InputStream inpt)
                     throws ParseException
Parse an instance of TypeDef from the given Stream

Throws:
ParseException

parse

public static TypeDef parse(java.io.Reader inpt)
                     throws ParseException
Parse an instance of TypeDef from the given Reader

Throws:
ParseException

isProd

public abstract boolean isProd()

name

public abstract java.lang.String name()

params

public abstract TypeDefParams params()

isDef

public boolean isDef()

isIntfc

public boolean isIntfc()

doParse

public boolean doParse()

addFieldsAndSyntax

public abstract TypeDef addFieldsAndSyntax(List<FieldOrSyntax> nfs)

print

public java.lang.String print()
DGP method from Class Print