认识smack3.0.4基本对象——From分析

不点 阅读:306 2021-03-31 22:13:02 评论:0

From收集的数据形式,可以是以下类型:

  • form -> 表示From需要填充.
  • submit -> 表示From已经填充,这是从From中返回的数据
  • cancel -> 表示From已经取消,告诉请求者连接信息. .
  • result -> 表示数据结果来自From, 或者其他查询.
不同From决定不同的操作,比如: 如果From类型“提交”,则只能设置答复。


Represents a Form for gathering data. The form could be of the following types:

  • form -> Indicates a form to fill out.
  • submit -> The form is filled out, and this is the data that is being returned from the form.
  • cancel -> The form was cancelled. Tell the asker that piece of information.
  • result -> Data results being returned from a search, or some other query.
Depending of the form's type different operations are available. For example, it's only possible to set answers if the form is of type "submit".
声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

发表评论
搜索
KIKK导航

KIKK导航

排行榜
关注我们

一个IT知识分享的公众号