Modifier and Type | Field and Description |
---|---|
protected static String |
APP_TAG |
protected static String |
ARRAY_TAG |
protected static String |
BOOLEAN_TAG |
protected static String |
DOUBLE_TAG |
protected static String |
EL_TAG |
protected static String |
EVN_TAG |
protected static String |
FILE_TAG |
protected static String |
FLOAT_TAG |
protected static String |
INT_TAG |
protected Map<String,IocObject> |
iocMap |
protected static String |
ITEM_TAG |
protected static String |
JAVA_TAG |
protected static String |
JNDI_TAG |
protected static String |
LIST_TAG |
protected static String |
LONG_TAG |
protected static String |
MAP_TAG |
protected static String |
OBJ_TAG |
protected Map<String,String> |
parentMap |
protected static String |
REFER_TAG |
protected static String |
SET_TAG |
protected static String |
SHORT_TAG |
protected static String |
STR_TAG |
protected static String |
SYS_TAG |
protected static String |
TAG_ARGS |
protected static String |
TAG_FACTORY |
protected static String |
TAG_FIELD |
protected static String |
TAG_OBJ |
Constructor and Description |
---|
XmlIocLoader(String... fileNames) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
check(List<String> parentList,
String currentBeanId) |
protected List<Element> |
getChildNodesByTagName(Element element,
String tagName) |
String[] |
getName() |
protected String |
getScanPatten() |
protected void |
handleParent() |
boolean |
has(String name) |
IocObject |
load(IocLoading loading,
String name)
每次这个函数被调用,则要构造一个新的 IocObject
|
protected void |
parseArgs(Element beanElement,
IocObject iocObject) |
protected void |
parseEvents(Element beanElement,
IocObject iocObject) |
protected void |
parseFields(Element beanElement,
IocObject iocObject) |
protected IocValue |
parseX(Element element) |
protected String |
paserBean(Element beanElement,
boolean innerBean) |
protected List<IocValue> |
paserCollection(Element element) |
protected Map<String,?> |
paserMap(Element element) |
protected static final String TAG_OBJ
protected static final String TAG_ARGS
protected static final String TAG_FIELD
protected static final String TAG_FACTORY
protected static final String STR_TAG
protected static final String ARRAY_TAG
protected static final String MAP_TAG
protected static final String ITEM_TAG
protected static final String LIST_TAG
protected static final String SET_TAG
protected static final String OBJ_TAG
protected static final String INT_TAG
protected static final String SHORT_TAG
protected static final String LONG_TAG
protected static final String FLOAT_TAG
protected static final String DOUBLE_TAG
protected static final String BOOLEAN_TAG
protected static final String REFER_TAG
protected static final String JAVA_TAG
protected static final String FILE_TAG
protected static final String EVN_TAG
protected static final String JNDI_TAG
protected static final String SYS_TAG
protected static final String APP_TAG
protected static final String EL_TAG
public XmlIocLoader(String... fileNames)
public String[] getName()
public IocObject load(IocLoading loading, String name) throws ObjectLoadException
IocLoader
load
in interface IocLoader
ObjectLoadException
protected String paserBean(Element beanElement, boolean innerBean) throws Throwable
Throwable
protected void parseArgs(Element beanElement, IocObject iocObject) throws Throwable
Throwable
protected void parseFields(Element beanElement, IocObject iocObject) throws Throwable
Throwable
protected List<IocValue> paserCollection(Element element) throws Throwable
Throwable
protected void handleParent()
protected String getScanPatten()
Copyright © 2017. All rights reserved.