org.yasl.xmlobjects.impl
Class BaseComponent
java.lang.Object
org.yasl.xmlobjects.impl.BaseComponent
- Direct Known Subclasses:
- ArgumentDefComplexImpl, MapEntryArgDefImpl, MethodCallImpl, ObjectInstantiatorImpl
- public abstract class BaseComponent
- extends Object
- Version:
- 1.0
- Author:
- Jeff Chapman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseComponent
protected BaseComponent()
BaseComponent
protected BaseComponent(String className,
String key,
String keyType)
getArgClasses
protected Class[] getArgClasses()
getArgObjects
protected Object[] getArgObjects()
throws ObjectInstantiationException
- Throws:
ObjectInstantiationException
getClassName
protected String getClassName()
getMethod
protected Method getMethod(Class targetClass,
String methodName,
Class[] parameterTypes)
throws SecurityException,
NoSuchMethodException
- Throws:
SecurityException
NoSuchMethodException
getConstructor
protected Constructor getConstructor(Class targetObj,
Class[] argClasses)
throws SecurityException,
NoSuchMethodException
- Throws:
SecurityException
NoSuchMethodException
getArgumentClasses
protected Class[] getArgumentClasses(Class[] targetArgs,
Class[] ctorArgs)
findMatchingClass
protected boolean findMatchingClass(Class targetArg,
Class ctorArg)
setObjectInfo
public void setObjectInfo(String key,
Object info)
getObjectInfo
public Object getObjectInfo(String key)
addArgument
public void addArgument(ArgumentDef arg)
getKey
public String getKey()
getKeyType
public String getKeyType()