public interface IlrClassDriver
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IlrClassDriver.ClassTester
Interface for testing if an object is an instance of some class.
|
static interface |
IlrClassDriver.Constructor
Interface for invoking some constructor with some given argument values.
|
static interface |
IlrClassDriver.Invoker
Interface for invoking some method with an object and the current
argument values.
|
static interface |
IlrClassDriver.Reader
Interface for getting some field of a given object.
|
static interface |
IlrClassDriver.UnknownChecker
Interface for testing whether a field has been assigned a value.
|
static interface |
IlrClassDriver.Writer
Interface for setting a value to some field of a given object.
|
| Modifier and Type | Method and Description |
|---|---|
IlrClassDriver.Constructor |
getConstructor(IlrConstructor constructor)
Gets a constructor for the constructor passed as argument.
|
IlrClassDriver.Invoker |
getInvoker(IlrMethod method)
Gets an invoker for the method passed as argument.
|
IlrClassDriver.Reader |
getReader(IlrAttribute attribute)
Gets a reader for the passed attribute.
|
java.lang.Class |
getRootClass()
Gets the root class of this class driver.
|
IlrClassDriver.ClassTester |
getTester(IlrClass aclass)
Gets the tester for the class passed as argument.
|
IlrClassDriver.UnknownChecker |
getUnknownChecker(IlrAttribute attribute)
Gets a checker for the passed attribute.
|
IlrClassDriver.Writer |
getWriter(IlrAttribute attribute)
Gets a writer for the passed attribute.
|
IlrClass |
getXOMClass(java.lang.Object object)
Gets the virtual class, that is an instance of
IlrClass for
a given object. |
java.lang.Class getRootClass()
IlrClass getXOMClass(java.lang.Object object)
IlrClass for
a given object. If the class driver recognizes the object, it will return
its virtual class. If it does not recognize the passed
object, it should return null.object - An object. This parameter is never null.IlrClass or null.IlrClassDriver.ClassTester getTester(IlrClass aclass)
null, the rule parsing will fail.aclass - The dynamic class for which a tester is requested.IlrClassDriver.Reader getReader(IlrAttribute attribute)
null is returned, the rule parsing will
fail.attribute - The dynamic attribute.IlrClassDriver.Writer getWriter(IlrAttribute attribute)
null is returned, the rule
parsing will fail.attribute - The dynamic attribute.IlrClassDriver.UnknownChecker getUnknownChecker(IlrAttribute attribute)
null is
returned, the rule parsing will fail.attribute - The dynamic attribute.IlrClassDriver.Invoker getInvoker(IlrMethod method)
null is
returned, the rule parsing will fail.method - The dynamic method.IlrClassDriver.Constructor getConstructor(IlrConstructor constructor)
null is
returned, the rule parsing will fail.constructor - The dynamic constructor.© Copyright IBM Corp. 1987, 2017