public abstract class AbstractParser extends Object
Modifier and Type | Field and Description |
---|---|
protected List<WeiXinConvert> |
convertList |
Constructor and Description |
---|
AbstractParser() |
Modifier and Type | Method and Description |
---|---|
void |
addWeiXinConvert(WeiXinConvert convert) |
boolean |
checkConvertMode(WeiXinConvert convert,
WeiXinConvertMode mode)
判断转换器的类型是否匹配
|
abstract <T> T |
parse(String result,
WeiXinContext context,
WeiXinConvertMode mode) |
void |
removeWeiXinConvert(WeiXinConvert convert) |
protected List<WeiXinConvert> convertList
public void addWeiXinConvert(WeiXinConvert convert)
public void removeWeiXinConvert(WeiXinConvert convert)
public boolean checkConvertMode(WeiXinConvert convert, WeiXinConvertMode mode)
convert
- mode
- public abstract <T> T parse(String result, WeiXinContext context, WeiXinConvertMode mode)
Copyright © 2006–2018 TinyGroup. All rights reserved.