edu.ou.kmi.buddyspace.plugins.pubsub.xml
Class PubsubPublish
java.lang.Object
|
+--XMLData
|
+--edu.ou.kmi.buddyspace.plugins.pubsub.xml.PubsubPublish
- public class PubsubPublish
- extends XMLData
PubsubPublish
contains <publish> or <retract> tag
from pubsub.
- See Also:
- Serialized Form
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 |
getNode()
|
boolean |
isPublish()
|
java.util.Enumeration |
items()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PubsubPublish
public PubsubPublish(PubsubPublishBuilder builder)
throws java.lang.InstantiationException
- Creates a new
PubsubPublish
instance, based on the builder
state.
- Parameters:
builder
- an PubsubPublishBuilder
value
- Throws:
java.lang.InstantiationException
- if malformed or insufficient data is
in the builder.
getNode
public java.lang.String getNode()
isPublish
public boolean isPublish()
items
public java.util.Enumeration items()
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