public static class RayoIqProvider.RefIq extends RayoIqProvider.RayoIq
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
XML element name of RefIq.
|
static java.lang.String |
URI_ATTR_NAME
Name of the URI attribute that stores call resource reference.
|
Modifier | Constructor and Description |
---|---|
protected |
RefIq()
Creates new RefIq.
|
Modifier and Type | Method and Description |
---|---|
static RayoIqProvider.RefIq |
create(java.lang.String uri)
Creates new RefIq parametrized with given call uri.
|
static RayoIqProvider.RefIq |
createResult(org.jivesoftware.smack.packet.IQ requestIq,
java.lang.String uri)
Creates result RefIq for given requestIq
parametrized with given call uri.
|
java.lang.String |
getUri()
Returns call URI held by this instance.
|
protected void |
printAttributes(java.lang.StringBuilder out)
Implementing classes should print their attributes if any in XML
format to given out StringBuilder.
|
void |
setUri(java.lang.String uri)
Sets given call uri value on this instance.
|
getChildElementXML, getHeader, setHeader
createErrorResponse, createResultIQ, getType, setType, toXML
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String URI_ATTR_NAME
public static RayoIqProvider.RefIq create(java.lang.String uri)
uri
- the call URI to be set on newly created RefIq.public static RayoIqProvider.RefIq createResult(org.jivesoftware.smack.packet.IQ requestIq, java.lang.String uri)
requestIq
- the request IQ which 'from', 'to' and 'id'
attributes will be used for constructing result IQ.uri
- the call URI that will be included in newly created
RefIq.protected void printAttributes(java.lang.StringBuilder out)
printAttributes
in class RayoIqProvider.RayoIq
out
- the StringBuilder instance used to construct XML
representation of this element.public void setUri(java.lang.String uri)
uri
- the call uri to be stored in this instance.public java.lang.String getUri()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.