DEFAULT_LANGUAGE, ID_NOT_AVAILABLE
Constructor and Description |
---|
Data(DataPacketExtension data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
DataPacketExtension |
getDataPacketExtension()
Returns the data packet extension.
|
createErrorResponse, createResultIQ, getType, setType, toXML
addCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toString
public Data(DataPacketExtension data)
data
- data packet extension containing the encoded datapublic DataPacketExtension getDataPacketExtension()
Convenience method for packet.getExtension("data",
"http://jabber.org/protocol/ibb")
.
public String getChildElementXML()
IQ
Extensions of this class must override this method.
getChildElementXML
in class IQ