1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-06-18 09:34:53 +02:00
Smack/smack-extensions/src/main/java/org/jivesoftware/smackx
Florian Schmaus 77e26fc575 Re-work data form API
Apply builder pattern to form fields and replace getVariable() with
getFieldName(). Refer to the field name as "field name" instead of
"variable" everyone, just as XEP-0004 does.

Improve the high-level form API: introduce FilledForm and FillableForm
which perform stronger validation and consistency checks.

Also add FormFieldRegistry to enable processing of 'submit' forms
where the form field types are omitted.

Smack also now does omit the form field type declaration on 'submit'
type forms, as it is allowed by XEP-0004.
2020-05-13 20:14:41 +02:00
..
address Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
admin Re-work data form API 2020-05-13 20:14:41 +02:00
amp s/occured/occurred/ 2019-10-30 12:02:36 +01:00
attention Make use of XmlStringBuilder in AttentionElement 2020-01-06 18:41:30 +01:00
blocking Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
bob Rename Stanza.getExtension(String, String) to getExtensionElement() 2020-04-12 12:09:04 +02:00
bookmarks Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
bytestreams Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
caps Re-work data form API 2020-05-13 20:14:41 +02:00
chatstates Introduce XMPPConnection.add(Message|Presence)Interceptor 2019-10-25 21:41:55 +02:00
commands Re-work data form API 2020-05-13 20:14:41 +02:00
delay Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
disco disco: allow multiple data forms for extended discovery information 2020-04-18 19:04:21 +02:00
filetransfer Re-work data form API 2020-05-13 20:14:41 +02:00
formtypes Re-work data form API 2020-05-13 20:14:41 +02:00
forward Remove deprecated Forwarded.getForwardedPacket() 2020-04-05 22:13:14 +02:00
geoloc geoloc: make GeoLocation implement hashCode() and equals(Object) 2020-04-13 20:40:10 +02:00
iqlast s/occured/occurred/ 2019-10-30 12:02:36 +01:00
iqprivate s/occured/occurred/ 2019-10-30 12:02:36 +01:00
iqregister Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
iqversion Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
jingle Refer to static fields by their declaring type 2020-04-12 12:08:31 +02:00
jiveproperties Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
last_interaction Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
mediaelement errorprone: Enable MethodCanBeStatic 2019-09-07 23:01:39 +02:00
message_correct Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
mood pep: improve API, add PepEventListener 2020-04-13 15:26:46 +02:00
muc Re-work data form API 2020-05-13 20:14:41 +02:00
nick Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00
offline Re-work data form API 2020-05-13 20:14:41 +02:00
pep pep: improve pep event filter 2020-04-13 22:37:54 +02:00
ping Rename AbstractIqBuilder subclasses to their designated names 2019-10-29 19:34:18 +01:00
privacy Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
pubsub Re-work data form API 2020-05-13 20:14:41 +02:00
receipts Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
rsm Rename Stanza.getExtension(String, String) to getExtensionElement() 2020-04-12 12:09:04 +02:00
search Re-work data form API 2020-05-13 20:14:41 +02:00
sharedgroups Enable werror for javadoc and fix javadoc issues 2019-08-30 12:08:30 +02:00
shim Do not have Stanza.getExtension(String, String) return a generic type 2020-04-05 22:10:05 +02:00
si Use optElement() instead of optAppend() in StreamInitiation.toXML() 2019-09-24 23:29:26 +02:00
time Javadoc changes for Java 11 compatibility 2019-07-19 23:05:46 +02:00
usertune pep: improve API, add PepEventListener 2020-04-13 15:26:46 +02:00
vcardtemp Introduce StanzaBuilder 2019-10-25 21:41:55 +02:00
xdata Re-work data form API 2020-05-13 20:14:41 +02:00
xdatalayout Rework XML Element hierarchy and XmlStringBuilder 2019-09-07 18:17:08 +02:00
xdatavalidation Re-work data form API 2020-05-13 20:14:41 +02:00
xhtmlim Rename Stanza.getExtension(String, String) to getExtensionElement() 2020-04-12 12:09:04 +02:00
package-info.java Add missing package-info descriptions. 2018-02-21 16:47:11 +01:00