001/** 002 * 003 * Copyright 2003-2007 Jive Software, 2018 Florian Schmaus. 004 * 005 * Licensed under the Apache License, Version 2.0 (the "License"); 006 * you may not use this file except in compliance with the License. 007 * You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. 016 */ 017package org.jivesoftware.smack.packet; 018 019/** 020 * Interface to represent extension elements. 021 * <p> 022 * An extension element is an XML subdocument 023 * with a root element name and namespace. Extension elements are used to provide 024 * extended functionality beyond what is in the base XMPP specification. Examples of 025 * extensions elements include message events, message properties, and extra presence data. 026 * IQ stanzas have limited support for extension elements. 027 * <p> 028 * This class is used primarily for extended content in XMPP Stanzas, to act as so called "extension elements". For more 029 * information see <a href="https://tools.ietf.org/html/rfc6120#section-8.4">RFC 6120 ยง 8.4 Extended Content</a>. 030 * </p> 031 * 032 * @see org.jivesoftware.smack.provider.ExtensionElementProvider 033 * @author Matt Tucker 034 */ 035public interface ExtensionElement extends FullyQualifiedElement { 036 037}