Florian Schmaus
07da9ffb48
Do not have Stanza.getExtension(String, String) return a generic type
...
Returning a generic would allow for
List<ExtensionElement> list = stanza.getExtension("foo", "bar");
to compile (Note the we are calling getExtension(), not
getExtension*s*()).
Users are encouraged to use the type safe getExtension(Class<? extends
ExtensionElement) variant instead.
Fixes SMACK-825.
2020-04-05 22:10:05 +02:00
Florian Schmaus
5db6191110
Introduce StanzaBuilder
...
As first step to immutable Stanza types.
2019-10-25 21:41:55 +02:00
Florian Schmaus
fee3ed81ca
Introduce XmlEnvironment
2019-02-05 13:18:03 +01:00
Florian Schmaus
48627bd0fe
Merge pull request #253 from vanitasvitae/norEmpty
...
requireNotNullOrEmpty: Obey the rules of grammar
2018-07-28 12:57:49 +02:00
Paul Schaub
74bebc13e6
requireNotNullOrEmpty -> requireNotNullNorEmpty
2018-07-17 15:10:39 +02:00
Paul Schaub
29e2a633d8
Fix ClassCastException in hasProtocol method
2018-07-04 16:26:52 +02:00
Paul Schaub
b66cc4c5b5
Add EME convenience methods
2018-06-20 13:59:08 +02:00
Florian Schmaus
5ab2903c32
Change Element.toXml() to toXml(String enclosingNamespace)
2018-04-27 10:05:25 +02:00
Paul Schaub
e200f2ddf8
Add OMEMO to EME
2018-04-15 13:39:27 +02:00
Paul Schaub
cb18056613
Fix minor codestyle issues
2017-12-17 11:03:46 +01:00
Florian Schmaus
ba2a287112
Add support for XEP-0380: Explicit Message Encryption
...
Fixes SMACK-746
2017-04-22 18:58:39 +02:00