public final class Open extends Object
<open/> element in the urn:ietf:params:xml:ns:xmpp-framing namespace.| Constructor and Description |
|---|
Open(rocks.xmpp.addr.Jid to,
rocks.xmpp.addr.Jid from,
String id,
Locale language)
Creates an
<open/> element with a 'to', 'from', 'id' and 'lang' attribute. |
Open(rocks.xmpp.addr.Jid to,
rocks.xmpp.addr.Jid from,
String id,
Locale language,
String version)
Creates an
<open/> element with a 'to', 'from', 'id' and 'lang' attribute. |
Open(rocks.xmpp.addr.Jid to,
Locale language)
Creates an
<open/> element with a 'to' and 'lang' attribute. |
| Modifier and Type | Method and Description |
|---|---|
rocks.xmpp.addr.Jid |
getFrom()
Gets the 'from' attribute.
|
String |
getId()
Gets the 'id' attribute.
|
Locale |
getLanguage()
Gets the 'xml:lang' attribute.
|
rocks.xmpp.addr.Jid |
getTo()
Gets the 'to' attribute.
|
String |
getVersion()
Gets the 'version' attribute.
|
String |
toString() |
public Open(rocks.xmpp.addr.Jid to,
Locale language)
<open/> element with a 'to' and 'lang' attribute.to - The 'to' attribute.language - The 'lang' attribute.public Open(rocks.xmpp.addr.Jid to,
rocks.xmpp.addr.Jid from,
String id,
Locale language)
<open/> element with a 'to', 'from', 'id' and 'lang' attribute.to - The 'to' attribute.from - The 'from' attribute.id - The 'id' attribute.language - The 'lang' attribute.public Open(rocks.xmpp.addr.Jid to,
rocks.xmpp.addr.Jid from,
String id,
Locale language,
String version)
<open/> element with a 'to', 'from', 'id' and 'lang' attribute.to - The 'to' attribute.from - The 'from' attribute.id - The 'id' attribute.language - The 'lang' attribute.version - The 'version' attribute.public final rocks.xmpp.addr.Jid getTo()
public final rocks.xmpp.addr.Jid getFrom()
public final String getVersion()
public final String getId()
public final Locale getLanguage()
Copyright © 2014–2016 XMPP.rocks. All rights reserved.