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

java.lang.Object
  extended by edu.neu.ccs.demeterf.demfgen.classes.BehFile

public class BehFile
extends java.lang.Object

Representation of BehFile


Nested Class Summary
static class BehFile.behs
          Field Class for BehFile.behs
static class BehFile.incl
          Field Class for BehFile.incl
 
Constructor Summary
BehFile(IncludeList incl, BehDefList behs)
          Construct a(n) BehFile Instance
 
Method Summary
 boolean equals(java.lang.Object o)
          Is the given object Equal to this BehFile?
 BehDef findDef(java.lang.String n)
           
 BehDefList getBehs()
          Getter for field BehFile.behs
 IncludeList getIncl()
          Getter for field BehFile.incl
 boolean hasDef(java.lang.String n)
           
static BehFile parse(java.io.InputStream inpt)
          Parse an instance of BehFile from the given Stream
static BehFile parse(java.io.Reader inpt)
          Parse an instance of BehFile from the given Reader
static BehFile parse(java.lang.String inpt)
          Parse an instance of BehFile from the given String
 java.lang.String print()
          DGP method from Class Print
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BehFile

public BehFile(IncludeList incl,
               BehDefList behs)
Construct a(n) BehFile Instance

Method Detail

equals

public boolean equals(java.lang.Object o)
Is the given object Equal to this BehFile?

Overrides:
equals in class java.lang.Object

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

parse

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

Throws:
ParseException

findDef

public BehDef findDef(java.lang.String n)

hasDef

public boolean hasDef(java.lang.String n)

print

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


getBehs

public BehDefList getBehs()
Getter for field BehFile.behs


getIncl

public IncludeList getIncl()
Getter for field BehFile.incl