org.media.mn8.protocol.jabber.datablocks
Class Iq

java.lang.Object
  |
  +--org.media.mn8.protocol.jabber.JabberDataBlock
        |
        +--org.media.mn8.protocol.jabber.datablocks.Iq
Direct Known Subclasses:
Roster

public class Iq
extends JabberDataBlock

Class representing the iq message block


Fields inherited from class org.media.mn8.protocol.jabber.JabberDataBlock
attributes, childBlocks, parent, textData
 
Constructor Summary
Iq()
          Constructor.
Iq(JabberDataBlock _parent, java.util.Hashtable _attributes)
          Constructor including an Attribute list
Iq(java.lang.String type)
          Constructor.
 
Method Summary
 Iq constructReply()
          Construct a reply message
 java.lang.String getTagName()
          Method to return the tag name
 
Methods inherited from class org.media.mn8.protocol.jabber.JabberDataBlock
addAttributeToStringBuffer, addChild, addText, constructReply, getAttribute, getBytes, getChildBlocks, getParent, getTagEnd, getTagStart, getText, setAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Iq

public Iq()
Constructor.

Iq

public Iq(java.lang.String type)
Constructor. Sets the message type and constructs an empty IQ message

Iq

public Iq(JabberDataBlock _parent,
          java.util.Hashtable _attributes)
Constructor including an Attribute list
Parameters:
_parent - The parent of this datablock
_attributes - The list of element attributes
Method Detail

getTagName

public java.lang.String getTagName()
Method to return the tag name
Overrides:
getTagName in class JabberDataBlock
Returns:
Always the string "iq".

constructReply

public Iq constructReply()
Construct a reply message
Returns:
A message object destined for the sender of this message.


"Copyright © 2001 Internet Multicasting Services & media.org. All Rights Reserved."