All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xworker.app.weixin.MessageActions.xer.txt Maven / Gradle / Ivy

The newest version!
^1445484098692
@
sname
MessageActions
slabel
MessageActions
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
snotXmlAttribute
false
sth_createIndex
true
sth_registThing
child|xworker.lang.actions.Actions
sth_registMyChilds
true
sth_registDisabled
false
sth_mark
false
@/@TextMessageHandler
sname
TextMessageHandler
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.lang.actions.SelfAction
smany
true
seditCols
2
sinitialization
false
sgroup
xworker.app.weixin
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@

只处理文本消息的处理器。

可以重写的方法:

  • handleText
    处理消息,输入message(String),输出String。
#$@text#$@ snotXmlAttribute false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@TextMessageHandler/@actions sname actions sdescriptors xworker.lang.MetaDescriptor3/@actions sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@TextMessageHandler/@actions/@run sname run sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.app.weixin.MessageActions smethodName textMessageHandler sdisableGlobalContext false sattributeTemplate false sinterpretationType Action svarScope Global screateLocalVarScope false ssaveReturn false sdebugLog false sdescriptors xworker.lang.actions.Actions/@JavaAction sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@TextMessageHandler/@actions/@handleText sname handleText sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.app.weixin.MessageActions smethodName handleText sdisableGlobalContext false sattributeTemplate false sinterpretationType Action svarScope Global screateLocalVarScope false ssaveReturn false sdebugLog false sdescriptors xworker.lang.actions.Actions/@JavaAction sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@TextMessageHandler/@name sname name sshowLabel true sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@TextMessageHandler/@label sname label sshowLabel true sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@TextMessageHandler/@description sname description sinputtype html sshowLabel true sreadOnly false sinheritDescription false svalidateAllowBlank true LvalidateOnBlur true LallowDecimals true LallowNegative true snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@TextMessageHandler/@actions1 sname actions slabel Actions sdescriptors xworker.lang.MetaDescriptor2/@thing sextends xworker.lang.actions.Actions smany true seditCols 2 Sdescription #$@text#$@

动作集合

    通过动作可以定义事物的行为,事物的行为即动作,可以用多种语言和方式编写。

self变量

    当一个动作作为一个事物的行为执行时,会把该事物以self变量传给动作。

第一个动作集合生效

    只有事物的第一个actions子节点才被认为是行为的定义集合,第二个及以后不算。

#$@text#$@ sid actions szh_label 动作 sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false Sen_description #$@text#$@

Actions

    Use actions can define behaviors of the thing. Behavior is action, can be defined by many program languages or other things.

Variable self

    When a action is executed as a behavior, in the actionContext will have a virable named 'self', self like this in java, self is it's onwer thing.

First actions is validate

    Only first actions node is behaviros collections.

#$@text#$@ sth_mark false @/@TextMessageHandler/@actions1/@name sname name sid name sdescriptors xworker.lang.MetaDescriptor2/@attribute




© 2015 - 2025 Weber Informatics LLC | Privacy Policy