Use this class to add extended address information to a stanza.
Address address = new Address(Address.Type.CC, Jid.valueOf("juliet@example.net")); Addresses addresses = new Addresses(Arrays.asList(address)); Message message = new Message(Jid.valueOf("romeo@example.net")); message.getExtensions().add(addresses);
@author Christian Schudt
@see XEP-0033: Extended Stanza Addressing
@see XML Schema
@see Address
|
|