G - 解析的目标类型描述public abstract class AbstractIterableParser<G extends cn.featherfly.common.lang.GenericType<?>> extends AbstractParser<G>
可迭代对象抽象解析器,完成可迭代对象(数组,集合)配置的解析,具体解析方式由子类实现类实现。
logger| 构造器和说明 |
|---|
AbstractIterableParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected <T> T |
doParse(java.lang.String content,
G to)
解析传入的字符串
|
protected abstract <T> T |
doParseContent(java.lang.String content,
G to)
解析传入的字符串
|
protected boolean |
isMultyType(java.lang.Class<?> type)
判断传入类型是否是多对象
|
parse, supportForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProtocolprotected abstract <T> T doParseContent(java.lang.String content,
G to)
解析传入的字符串
T - 返回类型content - 需要解析的内容to - 解析的目标类型描述protected <T> T doParse(java.lang.String content,
G to)
解析传入的字符串
doParse 在类中 AbstractParser<G extends cn.featherfly.common.lang.GenericType<?>>T - 返回类型content - 需要解析的内容to - 解析的目标类型描述信息protected boolean isMultyType(java.lang.Class<?> type)
判断传入类型是否是多对象
type - type