1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-23 04:57:58 +01:00
Smack/smack-experimental/src/test/java/org/jivesoftware/smackx
Florian Schmaus 3d4e7938a7 Make ExtensionElement marker interface wrt. QNAME field
ExtensionElement is now a marker interface that requires all
implementation non-abstract classes to carry a static final QNAME
field (of type QName). This is verified by a new unit test.

Also FullyQualifiedElement is renamed to simply XmlElement. XmlElement
is used over ExtensionElement when implementing classes do not
statically know the qualified name of the XML elements they
represent. In general, XmlElement should be used sparingly, and every
XML element should be modeled by its own Java class (implementing
ExtensionElement).
2021-04-18 21:07:19 +02:00
..
carbons Make Forwarded a generic type 2020-09-23 17:48:04 +02:00
chat_markers Introduce and use XmlStringBuilder.text() 2020-09-17 14:20:11 +02:00
colors Organize imports everywhere 2019-10-29 21:12:22 +01:00
eme Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
fallback_indication [test] Use correct class StanzaBuilder for static call to buildMessage() 2020-05-21 22:44:51 +02:00
hashes Introduce test fixtures 2020-04-11 22:05:36 +02:00
hoxt/provider Enable MissingJavadocPackage and UnnecessaryParentheses checkstyle checks 2019-07-24 09:18:39 +02:00
httpfileupload Rename XmlUnitUtils to XmlAssertUtil 2020-06-14 16:53:21 +02:00
mam Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
message_fastening Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
message_markup Rename XmlUnitUtils to XmlAssertUtil 2020-06-14 16:53:21 +02:00
message_retraction/element Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
muclight Bump ErrorProne to 2.5.1 and refactor Providers a bit 2021-01-29 09:26:15 +01:00
push_notifications Introduce StanzaBuilder 2019-10-25 21:41:55 +02:00
reference Rename XmlUnitUtils to XmlAssertUtil 2020-06-14 16:53:21 +02:00
sid Rename XmlUnitUtils to XmlAssertUtil 2020-06-14 16:53:21 +02:00
spoiler Rename XmlUnitUtils to XmlAssertUtil 2020-06-14 16:53:21 +02:00
stanza_content_encryption Make ExtensionElement marker interface wrt. QNAME field 2021-04-18 21:07:19 +02:00
ExperimentalInitializerTest.java Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00