| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 构造器和说明 |
|---|
XmlIocLoader(String... fileNames) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
public XmlIocLoader(String... fileNames)
public IocObject load(IocLoading loading, String name) throws ObjectLoadException
IocLoaderload 在接口中 IocLoaderObjectLoadExceptionprotected String paserBean(Element beanElement, boolean innerBean) throws Throwable
Throwableprotected void parseArgs(Element beanElement, IocObject iocObject) throws Throwable
Throwableprotected void parseFields(Element beanElement, IocObject iocObject) throws Throwable
Throwableprotected List<IocValue> paserCollection(Element element) throws Throwable
Throwableprotected void handleParent()
protected String getScanPatten()
Copyright © 2017. All rights reserved.