Interface NamedElement

All Superinterfaces:
Element
All Known Subinterfaces:
AffixExtensionElement, EmbeddedPacketExtension, ExtensionElement, FormFieldChildElement, JingleContentDescriptionChildElement, JingleContentTransportInfo, MetaInformationElement, Nonza, SaslNonza, TopLevelStreamElement, XmlElement
All Known Implementing Classes:
AbstractHttpOverXmpp, AbstractHttpOverXmpp.Base64, AbstractHttpOverXmpp.ChunkedBase64, AbstractHttpOverXmpp.Data, AbstractHttpOverXmpp.Ibb, AbstractHttpOverXmpp.Text, AbstractHttpOverXmpp.Xml, AbstractJsonPacketExtension, AbstractMultiFormField, AbstractSingleStringValueFormField, AbstractStreamClose, AbstractStreamOpen, AbstractTextElement, AdHocCommandData, AdHocCommandData.SpecificError, Affiliation, AffiliationsExtension, AgentChatHistory, AgentInfo, AgentStatus, AgentStatusRequest, AgentWorkgroups, AMPExtension, AttentionExtension, AuthParamElement, Base64BinaryChunk, Bind, Bind.Feature, BlockContactsIQ, BlockedErrorExtension, BlockListIQ, BlockQuoteElement, BoBDataExtension, BoBIQ, BooleanFormField, Bytestream, Bytestream.Activate, Bytestream.StreamHost, Bytestream.StreamHostUsed, CapsExtension, Carbon.Disable, Carbon.Enable, CarbonExtension, CarbonExtension.Private, ChatMarkersElements.AcknowledgedExtension, ChatMarkersElements.ChatMarkerExtensionWithId, ChatMarkersElements.DisplayedExtension, ChatMarkersElements.MarkableExtension, ChatMarkersElements.ReceivedExtension, ChatMetadata, ChatNotes, ChatSettings, ChatStateExtension, Checksum, ClearCache, ClearCacheResponse, ClientStateIndication.Active, ClientStateIndication.Feature, ClientStateIndication.Inactive, Close, CodeBlockElement, Compress, Compress.Feature, Compressed, ConfigurationEvent, ContentElement, CookieElement, CryptElement, Data, DataForm, DataForm.Item, DataForm.ReportedData, DataFormsXmlElement, DataLayout, DataLayout.DataFormLayoutElement, DataLayout.Fieldref, DataLayout.Reportedref, DataLayout.Section, DataLayout.Text, DataPacketExtension, DelayInformation, DeliveryReceipt, DeliveryReceiptRequest, DepartQueuePacket, DescElement, Destroy, DisablePushNotificationsIQ, DiscoverInfo, DiscoverItems, DnsIq, EmptyResultIQ, EnablePushNotificationsIQ, EncryptedOpenPgpContentElement, ErrorIQ, EventElement, ExplicitMessageEncryptionElement, ExternalElement, Failure, FallbackIndicationElement, FasteningElement, FileMetadataElement, FileTooLargeError, FileTooLargeError_V0_2, FormField, FormField.Description, FormField.Option, FormField.Required, FormField.Value, FormNode, Forwarded, Friend, FromAffixElement, GcmPacketExtension, GenericSettings, GeoLocation, GetItemsRequest, GroupChatInvitation, HashElement, Header, HeaderElement, HeadersExtension, HttpAuthElement, HttpOverXmppReq, HttpOverXmppResp, IdleElement, IoTClaimed, IoTDataExtensionElement, IoTDataField, IoTDataField.BooleanField, IoTDataField.IntField, IoTDataReadOutAccepted, IoTDataRequest, IoTDisown, IoTDisowned, IoTFieldsExtension, IoTIsFriend, IoTIsFriendResponse, IoTMine, IoTRegister, IoTRemove, IoTRemoved, IoTSetRequest, IoTSetResponse, IoTUnregister, IQ, Item, ItemsExtension, JidAffixElement, JidMultiFormField, JidPrepIq, JidSingleFormField, Jingle, Jingle, JingleContent, JingleContent, JingleContentDescription, JingleContentDescription, JingleContentDescription.Audio, JingleContentInfo, JingleContentInfo.Audio, JingleContentInfo.Audio.Busy, JingleContentInfo.Audio.Hold, JingleContentInfo.Audio.Mute, JingleContentInfo.Audio.Queued, JingleContentInfo.Audio.Ringing, JingleContentTransport, JingleContentTransportCandidate, JingleDescription, JingleDescription.Audio, JingleError, JingleError, JingleFileTransfer, JingleFileTransferChild, JingleIBBTransport, JingleReason, JingleReason.AlternativeSession, JingleS5BTransport, JingleS5BTransportCandidate, JingleS5BTransportInfo, JingleS5BTransportInfo.CandidateActivated, JingleS5BTransportInfo.CandidateError, JingleS5BTransportInfo.CandidateUsed, JingleS5BTransportInfo.JingleS5BCandidateTransportInfo, JingleS5BTransportInfo.ProxyError, JingleTransport, JingleTransport.Ice, JingleTransport.RawUdp, JivePropertiesExtension, JsonPacketExtension, LastActivity, ListElement, ListElement.ListEntryElement, ListMultiFormField, ListSingleFormField, Macros, MamElements.MamResultExtension, MamFinIQ, MamPrefsIQ, MamQueryIQ, MarkupElement, MarkupElement.BlockLevelMarkupElement, MarkupElement.MarkupChildElement, MarkupElement.NonEmptyChildElement, Mechanisms, MediaElement, MediaElement.Uri, Message, Message.Body, Message.Subject, Message.Thread, MessageCorrectExtension, MessageEvent, MessageOrPresence, MessageProcessingHint, MetaData, MonitorPacket, MoodConcretisation, MoodElement, MoodElement.MoodSubjectElement, MUCAdmin, MUCInitialPresence, MUCInitialPresence.History, MUCItem, MUCLightAffiliationsIQ, MUCLightBlockingIQ, MUCLightChangeAffiliationsIQ, MUCLightConfigurationIQ, MUCLightCreateIQ, MUCLightDestroyIQ, MUCLightElements.AffiliationsChangeExtension, MUCLightElements.ConfigurationsChangeExtension, MUCLightGetAffiliationsIQ, MUCLightGetConfigsIQ, MUCLightGetInfoIQ, MUCLightInfoIQ, MUCLightSetConfigsIQ, MUCOwner, MUCUser, MUCUser.Decline, MUCUser.Invite, MUCUser.Status, MultipleAddresses, MultipleAddresses.Address, NameValuePairElement, Nick, NoCopyHint, NodeElement, NodeExtension, NoPermanentStoreHint, NoStoreHint, OccupantsInfo, OfferConfirmation, OfferRequestProvider.OfferRequestPacket, OfferRevokeProvider.OfferRevokePacket, OfflineMessageInfo, OfflineMessageRequest, OfflineSettings, OmemoBundleElement, OmemoBundleElement_VAxolotl, OmemoDeviceListElement, OmemoDeviceListElement_VAxolotl, OmemoElement, OmemoElement_VAxolotl, OmemoHeaderElement, OmemoHeaderElement_VAxolotl, OmemoKeyElement, Open, OpenPgpContentElement, OpenPgpElement, OptionsExtension, OriginIdElement, PayloadElement, PayloadItem, Ping, Presence, Privacy, PrivateDataIQ, PubkeyElement, PubkeyElement.PubkeyDataElement, PublicKeysListElement, PublicKeysListElement.PubkeyMetadataElement, PublishItem, PubSub, PushNotificationsElements.RemoteDisablingExtension, QueueDetails, QueueOverview, QueueUpdate, RandomPaddingAffixElement, Range, ReferenceElement, Registration, Registration.Feature, RetractedElement, RetractElement, RetractItem, RoomInvitation, RoomInvitation.RoomInvitationIQ, RoomTransfer, RoomTransfer.RoomTransferIQ, RosterExchange, RosterPacket, RosterPacket.Item, RosterVer, RSMSet, RTPBridge, SaslNonza.AuthMechanism, SaslNonza.Challenge, SaslNonza.Response, SaslNonza.SASLFailure, SaslNonza.Success, SearchSettings, SecretkeyElement, Session, Session.Feature, SessionID, SetBoolData, SetData, SetDoubleData, SetIntData, SetLongData, SharedGroupsInfo, SigncryptElement, SignElement, SimpleIQ, SimplePayload, SingleValueFormField, Slot, Slot_V0_2, SlotRequest, SlotRequest_V0_2, SoundSettings, SpanElement, SpoilerElement, StableAndUniqueIdElement, StandardExtensionElement, Stanza, StanzaError, StanzaErrorTextElement, StanzaIdElement, StartTls, StoreHint, StreamClose, StreamError, StreamInitiation, StreamInitiation.Feature, StreamInitiation.File, StreamManagement.AckAnswer, StreamManagement.AckRequest, StreamManagement.Enable, StreamManagement.Enabled, StreamManagement.Failed, StreamManagement.Resume, StreamManagement.Resumed, StreamManagement.StreamManagementFeature, StreamOpen, STUN, SubscribeExtension, Subscription, SubscriptionPreApproval, SubscriptionsExtension, Tag, TextMultiFormField, TextSingleFormField, ThumbnailElement, Time, TimestampAffixElement, TimestampElement, TlsFailure, TlsProceed, ToAffixElement, Transcript, Transcripts, TranscriptSearch, UnblockContactsIQ, Unfriend, UnknownJingleContentDescription, UnknownJingleContentTransport, UnparsedIQ, UnsubscribeExtension, UrlDataElement, UserID, UserSearch, UserTuneElement, ValidateElement, ValidateElement.BasicValidateElement, ValidateElement.ListRange, ValidateElement.OpenValidateElement, ValidateElement.RangeValidateElement, ValidateElement.RegexValidateElement, VCard, Version, WebSocketCloseElement, WebSocketOpenElement, WorkgroupForm, WorkgroupInformation, WorkgroupProperties, XHTMLExtension

public interface NamedElement extends Element
Interface to represent a XML element. This is similar to ExtensionElement, but does not carry a single namespace, but instead is used with multiple namespaces. Examples for this include MUC's <destroy/> element.

Please note that usage of this interface is discouraged. The reason is that every XML element is fully qualified, i.e., it is qualified by a namespace. The namespace may not be explicitly given, but instead, is inherited from an outer element. Use XmlElement instead when possible.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the root element name.

    Methods inherited from interface org.jivesoftware.smack.packet.Element

    toXML, toXML, toXML
  • Method Details