Package org.jivesoftware.smack.packet
Class StreamOpen
java.lang.Object
org.jivesoftware.smack.packet.AbstractStreamOpen
org.jivesoftware.smack.packet.StreamOpen
- All Implemented Interfaces:
Element
,NamedElement
,Nonza
,TopLevelStreamElement
,XmlElement
,XmlLangElement
The stream open tag.
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.jivesoftware.smack.packet.AbstractStreamOpen
CLIENT_NAMESPACE, contentNamespace, ETHERX_JABBER_STREAMS_NAMESPACE, from, id, lang, SERVER_NAMESPACE, to, VERSION
-
Constructor Summary
ConstructorDescriptionStreamOpen
(CharSequence to, CharSequence from, String id) StreamOpen
(CharSequence to, CharSequence from, String id, String lang) StreamOpen
(CharSequence to, CharSequence from, String id, String lang, StreamOpen.StreamContentNamespace ns) -
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.Returns the root element XML namespace.toXML
(XmlEnvironment enclosingXmlEnvironment) Methods inherited from class org.jivesoftware.smack.packet.AbstractStreamOpen
addCommonAttributes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
UNPREFIXED_ELEMENT
- See Also:
-
ELEMENT
- See Also:
-
-
Constructor Details
-
StreamOpen
-
StreamOpen
-
StreamOpen
-
StreamOpen
public StreamOpen(CharSequence to, CharSequence from, String id, String lang, StreamOpen.StreamContentNamespace ns)
-
-
Method Details
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Returns:
- the namespace.
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
toXML
-