edu.ou.kmi.buddyspace.plugins.pubsub.xml
Class PubsubEntity

java.lang.Object
  |
  +--XMLData
        |
        +--edu.ou.kmi.buddyspace.plugins.pubsub.xml.PubsubEntity

public class PubsubEntity
extends XMLData

PubsubEntity contains <entity> tag from pubsub.

See Also:
Serialized Form

Constructor Summary
PubsubEntity(PubsubEntityBuilder builder)
          Creates a new PubsubEntity instance, based on the builder state.
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem appends the XML representation of the current packet data to the specified StringBuffer.
 java.lang.String getAffiliation()
           
 java.lang.String getErrorCode()
           
 java.lang.String getErrorText()
           
 JID getJID()
           
 java.lang.String getNode()
           
 XMLData getSubscribeOpt()
           
 java.lang.String getSubscription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PubsubEntity

public PubsubEntity(PubsubEntityBuilder builder)
             throws java.lang.InstantiationException
Creates a new PubsubEntity instance, based on the builder state.

Parameters:
builder - an PubsubEntityBuilder value
Throws:
java.lang.InstantiationException - if malformed or insufficient data is in the builder.
Method Detail

getNode

public java.lang.String getNode()

getSubscription

public java.lang.String getSubscription()

getAffiliation

public java.lang.String getAffiliation()

getSubscribeOpt

public XMLData getSubscribeOpt()

getJID

public JID getJID()

getErrorCode

public java.lang.String getErrorCode()

getErrorText

public java.lang.String getErrorText()

appendItem

public void appendItem(java.lang.StringBuffer retval)
appendItem appends the XML representation of the current packet data to the specified StringBuffer.

Parameters:
retval - The StringBuffer to append to