public abstract static class RayoIqProvider.RayoIq
extends org.jivesoftware.smack.packet.IQ
Modifier | Constructor and Description |
---|---|
protected |
RayoIq(java.lang.String elementName)
Creates new instance of RayoIq.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChildElementXML() |
java.lang.String |
getHeader(java.lang.String name)
Returns value of the header extension with given name
(if any).
|
protected abstract void |
printAttributes(java.lang.StringBuilder out)
Implementing classes should print their attributes if any in XML
format to given out StringBuilder.
|
void |
setHeader(java.lang.String name,
java.lang.String value)
Adds 'header' extension to this Rayo IQ with given name and value
attributes.
|
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
protected RayoIq(java.lang.String elementName)
elementName
- the name of XML element that will be used.protected abstract void printAttributes(java.lang.StringBuilder out)
out
- the StringBuilder instance used to construct XML
representation of this element.public java.lang.String getChildElementXML()
getChildElementXML
in class org.jivesoftware.smack.packet.IQ
public java.lang.String getHeader(java.lang.String name)
name
- the name of header extension which value we want to
retrieve.public void setHeader(java.lang.String name, java.lang.String value)
name
- the attribute name of the 'header' extension to be added.value
- the 'value' attribute of the 'header' extension that
will be added to this IQ.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.