Class WebSocketOpenElement
- java.lang.Object
-
- org.jivesoftware.smack.packet.AbstractStreamOpen
-
- org.jivesoftware.smack.websocket.elements.WebSocketOpenElement
-
- All Implemented Interfaces:
Element
,NamedElement
,Nonza
,TopLevelStreamElement
,XmlElement
,XmlLangElement
public final class WebSocketOpenElement extends AbstractStreamOpen
-
-
Field Summary
Fields Modifier and Type Field Description static String
ELEMENT
static String
NAMESPACE
static QName
QNAME
-
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
Constructors Constructor Description WebSocketOpenElement(DomainBareJid to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getElementName()
Returns the root element name.String
getNamespace()
Returns the root element XML namespace.CharSequence
toXML(XmlEnvironment xmlEnvironment)
-
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 Detail
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebSocketOpenElement
public WebSocketOpenElement(DomainBareJid to)
-
-
Method Detail
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:XmlElement
Returns the root element XML namespace.- Returns:
- the namespace.
-
toXML
public CharSequence toXML(XmlEnvironment xmlEnvironment)
-
-