Interface Element

All Known Subinterfaces:
AffixElement, AffixExtensionElement, EmbeddedPacketExtension, ExtensionElement, FormFieldChildElement, JingleContentDescriptionChildElement, JingleContentTransportInfo, MetaInformationElement, NamedElement, 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, IQ.IQChildElementXmlStringBuilder, 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.AlwaysJidListElement, MamElements.MamResultExtension, MamElements.NeverJidListElement, 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.BlockingElement, MUCLightElements.ConfigurationElement, MUCLightElements.ConfigurationsChangeExtension, MUCLightElements.OccupantsElement, MUCLightElements.UserWithAffiliationElement, 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, XmlStringBuilder

public interface Element
Interface to represent a XML element. This is similar to ExtensionElement, but does not carry a namespace and is usually included as child element of an stanza extension.
  • Method Details

    • toXML

    • toXML

      default CharSequence toXML(String enclosingNamespace)
      Returns the XML representation of this Element. This method takes an optional argument for the enclosing namespace which may be null or the empty String if the value is not known.
      Parameters:
      enclosingNamespace - the enclosing namespace or null.
      Returns:
      the stanza extension as XML.
    • toXML

      default CharSequence toXML()