001/**
002 *
003 * Copyright 2003-2007 Jive Software.
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 */
017
018package org.jivesoftware.smack.packet;
019
020/**
021 * Interface to represent extension elements.
022 * <p>
023 * An extension element is an XML subdocument
024 * with a root element name and namespace. Extension elements are used to provide
025 * extended functionality beyond what is in the base XMPP specification. Examples of
026 * extensions elements include message events, message properties, and extra presence data.
027 * IQ stanzas have limited support for extension elements.
028 * <p>
029 * This class is used primarily for extended content in XMPP Stanzas, to act as so called "extension elements". For more
030 * information see <a href="https://tools.ietf.org/html/rfc6120#section-8.4">RFC 6120 ยง 8.4 Extended Content</a>.
031 * </p>
032 *
033 * @see DefaultExtensionElement
034 * @see org.jivesoftware.smack.provider.ExtensionElementProvider
035 * @author Matt Tucker
036 * @deprecated use {@link ExtensionElement} instead.
037 */
038@Deprecated
039public interface PacketExtension extends ExtensionElement {
040
041}