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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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