public abstract class AbstractWeiXinConvert extends Object implements WeiXinConvert
Constructor and Description |
---|
AbstractWeiXinConvert(Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
protected <INPUT> boolean |
checkResultType(INPUT input,
WeiXinContext context)
检查返回结果是否和当前处理器匹配
|
int |
compareTo(WeiXinConvert o) |
Class<?> |
getCalssType()
获得结果类型
|
int |
getPriority()
获得优先级
|
void |
setPriority(int priority)
设置优先级
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convert, getWeiXinConvertMode, isMatch
protected Class<?> clazz
public AbstractWeiXinConvert(Class<?> clazz)
public Class<?> getCalssType()
WeiXinConvert
getCalssType
in interface WeiXinConvert
public int getPriority()
WeiXinConvert
getPriority
in interface WeiXinConvert
public void setPriority(int priority)
WeiXinConvert
setPriority
in interface WeiXinConvert
public int compareTo(WeiXinConvert o)
compareTo
in interface Comparable<WeiXinConvert>
protected <INPUT> boolean checkResultType(INPUT input, WeiXinContext context)
INPUT
- input
- context
- Copyright © 2006–2018 TinyGroup. All rights reserved.