|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessObject
The interface AccessObject
declares the methods
to access non public fields and methods. The implementation
of the AccessObject should enclose all the nessecary things.
Method Summary | |
---|---|
AccessField |
getField(String fieldName)
The methode getField select a field
for manipulation. |
AccessMethod |
getMethod(String methodName)
The method getMethod provide access to
a by name called method. |
AccessObject |
newInnerInstance(String innerClassname)
The method newInnerInstance create a instance of an
inner class from the current object. |
AccessObject |
newInnerInstance(String innerClassname,
Object[] args)
The method newInnerInstance create a instance of an inner
class from the current object. |
Method Detail |
---|
AccessField getField(String fieldName) throws TestExtensionException
getField
select a field
for manipulation.
fieldName
- the name of the wished field.
TestExtensionException
- the exception shows an
error, when preparing the access to the field.AccessMethod getMethod(String methodName) throws TestExtensionException
getMethod
provide access to
a by name called method. If there exists several methods
with the same name, all methods were accessed by this method.
methodName
- the name of the method.
TestExtensionException
- the exception shows an
error, when preparing the access to the method, for instance
when no method was found.AccessObject newInnerInstance(String innerClassname) throws TestExtensionException
newInnerInstance
create a instance of an
inner class from the current object.
innerClassname
- The name of the inner class without the prefix for
the outer class.
TestExtensionException
- shows any error.AccessObject newInnerInstance(String innerClassname, Object[] args) throws TestExtensionException
newInnerInstance
create a instance of an inner
class from the current object.
innerClassname
- The name of the inner class without the prefix for the outer
class.args
- the arguments for the constructor.
TestExtensionException
- shows any error.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |