mandala.util
Interface ConstructorOp

All Superinterfaces:
AccessibleObjectOp, Member
All Known Implementing Classes:
SerializableConstructor

public interface ConstructorOp
extends AccessibleObjectOp, Member

Interface for the Constructor class.

Since:
2.1
Version:
$Revision: 1.1 $
Author:
eipi
See Also:
Constructor

Field Summary
 
Fields inherited from interface java.lang.reflect.Member
DECLARED, PUBLIC
 
Method Summary
 Class getDeclaringClass()
           
 Class[] getExceptionTypes()
           
 int getModifiers()
           
 String getName()
           
 Class[] getParameterTypes()
           
 Object newInstance(Object[] args)
          Equivalent of Constructor.newInstance(Object[]).
 
Methods inherited from interface mandala.util.AccessibleObjectOp
isAccessible, setAccessible
 

Method Detail

getModifiers

public int getModifiers()
Specified by:
getModifiers in interface Member

getDeclaringClass

public Class getDeclaringClass()
Specified by:
getDeclaringClass in interface Member

getExceptionTypes

public Class[] getExceptionTypes()

getParameterTypes

public Class[] getParameterTypes()

getName

public String getName()
Specified by:
getName in interface Member

newInstance

public Object newInstance(Object[] args)
                   throws InstantiationException,
                          IllegalAccessException,
                          IllegalArgumentException,
                          InvocationTargetException

Equivalent of Constructor.newInstance(Object[]).

Parameters:
args - an Object[] value
Returns:
an Object value
Throws:
IllegalAccessException - if an error occurs
InvocationTargetException - if an error occurs
IllegalArgumentException - if an error occurs
InstantiationException
See Also:
Constructor.newInstance(Object[]).


Mandala help mailing list