public ExtensionElement removeExtension ( String elementName , String namespace ) { String key = XmppStringUtils . generateKey ( elementName , namespace ) ; synchronized ( packetExtensions ) { return packetExtensions . remove ( key ) ; } }
Remove the stanza extension with the given elementName and namespace .