Package org.jivesoftware.smack.packet
Interface XmlElement
-
- All Superinterfaces:
Element
,NamedElement
,XmlLangElement
- All Known Subinterfaces:
AffixExtensionElement
,EmbeddedPacketExtension
,ExtensionElement
,FormFieldChildElement
,JingleContentDescriptionChildElement
,JingleContentTransportInfo
,Nonza
,SaslNonza
,TopLevelStreamElement
- 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
,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
,CryptElement
,Data
,DataForm
,DataForm.Item
,DataForm.ReportedData
,DataFormsXmlElement
,DataLayout
,DataLayout.DataFormLayoutElement
,DataLayout.Fieldref
,DataLayout.Reportedref
,DataLayout.Section
,DataLayout.Text
,DataPacketExtension
,DelayInformation
,DeliveryReceipt
,DeliveryReceiptRequest
,DepartQueuePacket
,DisablePushNotificationsIQ
,DiscoverInfo
,DiscoverItems
,DnsIq
,EmptyResultIQ
,EnablePushNotificationsIQ
,EncryptedOpenPgpContentElement
,ErrorIQ
,EventElement
,ExplicitMessageEncryptionElement
,Failure
,FallbackIndicationElement
,FasteningElement
,FileTooLargeError
,FileTooLargeError_V0_2
,FormField
,FormField.Description
,FormField.Option
,FormField.Required
,FormField.Value
,FormNode
,Forwarded
,Friend
,GcmPacketExtension
,GenericSettings
,GeoLocation
,GetItemsRequest
,GroupChatInvitation
,HashElement
,Header
,HeadersExtension
,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
,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
,MUCLightAffiliationsIQ
,MUCLightBlockingIQ
,MUCLightChangeAffiliationsIQ
,MUCLightConfigurationIQ
,MUCLightCreateIQ
,MUCLightDestroyIQ
,MUCLightElements.AffiliationsChangeExtension
,MUCLightElements.ConfigurationsChangeExtension
,MUCLightGetAffiliationsIQ
,MUCLightGetConfigsIQ
,MUCLightGetInfoIQ
,MUCLightInfoIQ
,MUCLightSetConfigsIQ
,MUCOwner
,MUCUser
,MUCUser.Decline
,MultipleAddresses
,MultipleAddresses.Address
,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
,PayloadItem
,Ping
,Presence
,Privacy
,PrivateDataIQ
,PubkeyElement
,PubkeyElement.PubkeyDataElement
,PublicKeysListElement
,PublicKeysListElement.PubkeyMetadataElement
,PublishItem
,PubSub
,PushNotificationsElements.RemoteDisablingExtension
,QueueDetails
,QueueOverview
,QueueUpdate
,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
,TextMultiFormField
,TextSingleFormField
,Time
,TimestampElement
,TlsFailure
,TlsProceed
,Transcript
,Transcripts
,TranscriptSearch
,UnblockContactsIQ
,Unfriend
,UnknownJingleContentDescription
,UnknownJingleContentTransport
,UnparsedIQ
,UnsubscribeExtension
,UserID
,UserSearch
,UserTuneElement
,ValidateElement
,ValidateElement.BasicValidateElement
,ValidateElement.ListRange
,ValidateElement.OpenValidateElement
,ValidateElement.RangeValidateElement
,ValidateElement.RegexValidateElement
,VCard
,Version
,WebSocketCloseElement
,WebSocketOpenElement
,WorkgroupForm
,WorkgroupInformation
,WorkgroupProperties
,XHTMLExtension
public interface XmlElement extends NamedElement, XmlLangElement
Interface to represent XML elements. Every XML element in XMPP has a qualified XML name (QName
). This name can be obtained viagetQName()
.XMPP uses "extension elements", i.e. XML elements, to provide extended functionality beyond what is in the base XMPP specification. Examples of extensions elements include message events, message properties, and extra presence data. IQ stanzas have limited support for extension elements. See
ExtensionElement
for more information about XMPP extension elements.It is recommend to use
ExtensionElement
over this class when creating new extension elements.- Since:
- 4.5
- See Also:
ExtensionElementProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default String
getLanguage()
Returns the xml:lang of this XML element, or null if one has not been set.String
getNamespace()
Returns the root element XML namespace.default QName
getQName()
-
Methods inherited from interface org.jivesoftware.smack.packet.NamedElement
getElementName
-
-
-
-
Method Detail
-
getNamespace
String getNamespace()
Returns the root element XML namespace.- Returns:
- the namespace.
-
getLanguage
default String getLanguage()
Description copied from interface:XmlLangElement
Returns the xml:lang of this XML element, or null if one has not been set.- Specified by:
getLanguage
in interfaceXmlLangElement
- Returns:
- the xml:lang of this XML element, or null.
-
-