public void addExtensions ( Collection < ExtensionElement > extensions ) { if ( extensions == null ) return ; for ( ExtensionElement packetExtension : extensions ) { addExtension ( packetExtension ) ; } }
Adds a collection of stanza extensions to the packet . Does nothing if extensions is null .