public class ReflectionInstantiator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
npkg |
(package private) java.lang.String[] |
pkgs |
(package private) java.util.ArrayList |
search |
(package private) java.lang.String |
wkpkg |
Constructor and Description |
---|
ReflectionInstantiator() |
ReflectionInstantiator(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
void |
addSearchPackage(java.lang.String s) |
void |
appendContent(java.lang.Object obj,
java.lang.String s) |
void |
applyAttributes(java.lang.Object target,
Attribute[] atta) |
void |
checkAddPackage(java.lang.Object oret) |
java.lang.Object |
getChildObject(java.lang.Object parent,
java.lang.String name,
Attribute[] atta) |
java.lang.Object |
getField(java.lang.Object ob,
java.lang.String fnm) |
java.lang.Object |
newInstance(java.lang.String scl) |
private boolean |
nonPrimitive(java.lang.Object arg) |
void |
setArrayField(java.lang.Object obj,
java.lang.reflect.Field fld,
java.util.ArrayList vals) |
boolean |
setAttributeField(java.lang.Object target,
java.lang.String name,
java.lang.String arg) |
boolean |
setField(java.lang.Object ob,
java.lang.String sf,
java.lang.Object arg) |
void |
setIntFromStatic(java.lang.Object ret,
java.lang.String id,
java.lang.String sv) |
java.util.ArrayList search
int npkg
java.lang.String[] pkgs
java.lang.String wkpkg
public ReflectionInstantiator()
public ReflectionInstantiator(java.lang.String path)
public void addSearchPackage(java.lang.String s)
public void appendContent(java.lang.Object obj, java.lang.String s)
public void checkAddPackage(java.lang.Object oret)
public java.lang.Object newInstance(java.lang.String scl)
public java.lang.Object getField(java.lang.Object ob, java.lang.String fnm)
public java.lang.Object getChildObject(java.lang.Object parent, java.lang.String name, Attribute[] atta)
public void applyAttributes(java.lang.Object target, Attribute[] atta)
public boolean setAttributeField(java.lang.Object target, java.lang.String name, java.lang.String arg)
public boolean setField(java.lang.Object ob, java.lang.String sf, java.lang.Object arg)
public void setArrayField(java.lang.Object obj, java.lang.reflect.Field fld, java.util.ArrayList vals)
private boolean nonPrimitive(java.lang.Object arg)
public void setIntFromStatic(java.lang.Object ret, java.lang.String id, java.lang.String sv)
Copyright © 2013. All Rights Reserved.