Package org.jivesoftware.smack.packet
Interface NamedElement
-
- All Superinterfaces:
Element
- All Known Subinterfaces:
ExtensionElement,FullyQualifiedElement,Nonza,SaslNonza,TopLevelStreamElement
- All Known Implementing Classes:
AbstractTextElement,Bind,Bind.Feature,Compress,Compress.Feature,Compressed,EmptyResultIQ,ErrorIQ,Failure,IQ,Mechanisms,Message,Message.Body,Message.Subject,Message.Thread,MessageOrPresence,Presence,SaslNonza.AuthMechanism,SaslNonza.Challenge,SaslNonza.Response,SaslNonza.SASLFailure,SaslNonza.Success,Session,Session.Feature,SimpleIQ,StandardExtensionElement,Stanza,StanzaError,StanzaErrorTextElement,StartTls,StreamClose,StreamError,StreamOpen,TlsFailure,TlsProceed,UnparsedIQ
public interface NamedElement extends Element
Interface to represent a XML element. This is similar toExtensionElement, 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
FullyQualifiedElementinstead when possible.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetElementName()Returns the root element name.
-