noope.input
Class LawPropertyRecordLoader

java.lang.Object
  |
  +--noope.input.LawPropertyRecordLoader
Direct Known Subclasses:
DynamicLawPropertyRecordLoader, HardCodedLawPropertyRecordLoader

public abstract class LawPropertyRecordLoader
extends java.lang.Object

Objects of this class provide to Law objects a means of creating new instances of LawPropertyRecord classes with a given name. These classes can be dynamically loaded or hard-coded into the LawLoader (e.g. for an Applet that isn't allowed by the SecurityManager to access the constructor of a dynamically loaded class).

Version:
28-Apr-2001
Author:
Miklos Reiter

Constructor Summary
LawPropertyRecordLoader()
           
 
Method Summary
abstract  LawPropertyRecord createLawPropertyRecord(java.lang.String className, BlockReaderLocation brL, BlockReader br, Entity ent)
          This method should create a new LawPropertyRecord object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LawPropertyRecordLoader

public LawPropertyRecordLoader()
Method Detail

createLawPropertyRecord

public abstract LawPropertyRecord createLawPropertyRecord(java.lang.String className,
                                                          BlockReaderLocation brL,
                                                          BlockReader br,
                                                          Entity ent)
                                                   throws BRLoadingException
This method should create a new LawPropertyRecord object. The arguments, except for className and brL are passed on to the constructor, so the class has to have a constructor of this form.