|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--XMLData | +--edu.ou.kmi.buddyspace.xml.XData
XData
contains <x xmlns='jabber:x:data'> tag.
Constructor Summary | |
XData(XDataBuilder builder)
Creates a new XData instance, based on the builder
state. |
Method Summary | |
void |
appendItem(java.lang.StringBuffer retval)
appendItem converts this packet to XML. |
java.util.Enumeration |
fields()
returns an enumeration of fields contained within this
object. |
java.lang.String |
getInstructions()
|
java.lang.String |
getTitle()
|
java.lang.String |
getType()
|
java.util.Enumeration |
items()
returns an enumeration of items contained within this
object. |
void |
setType(java.lang.String type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XData(XDataBuilder builder) throws java.lang.InstantiationException
XData
instance, based on the builder
state.
builder
- an XDataBuilder
value
java.lang.InstantiationException
- if malformed or insufficient data is
in the builder.Method Detail |
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getTitle()
public java.lang.String getInstructions()
public java.util.Enumeration fields()
fields
contained within this
object.
Enumeration
valuepublic java.util.Enumeration items()
items
contained within this
object.
Enumeration
valuepublic void appendItem(java.lang.StringBuffer retval)
appendItem
converts this packet to XML.
It then appends it to a StringBuffer.
retval
- The StringBuffer
to append to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |