|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.xmpp.AbstractXmppMarshal
com.caucho.xmpp.data.XmppDataFormMarshal
public class XmppDataFormMarshal
DataForm
XEP-0004: http://www.xmpp.org/extensions/xep-0004.html
namespace = jabber:x:data
element x {
attribute type,
instructions*,
title?,
field*,
reported?,
item*
}
element field {
attribute label?,
attribute type?,
attribute var?,
desc?,
required?,
value*,
option*,
}
element item {
field+
}
element option {
attribute label?,
value*
}
element reported {
field+
}
element value {
string
}
| Constructor Summary | |
|---|---|
XmppDataFormMarshal()
|
|
| Method Summary | |
|---|---|
java.io.Serializable |
fromXml(XmppStreamReader in)
Deserializes the object from XML |
java.lang.String |
getClassName()
Returns the java classname of the object |
java.lang.String |
getLocalName()
Returns the local name for the XMPP stanza value |
java.lang.String |
getNamespaceURI()
Returns the namespace uri for the XMPP stanza value |
DataField |
parseField(XMLStreamReader in)
Deserializes the object from XML |
DataItem |
parseItem(XMLStreamReader in)
Deserializes the object from XML |
DataOption |
parseOption(XMLStreamReader in)
Deserializes the object from XML |
DataReported |
parseReported(XMLStreamReader in)
Deserializes the object from XML |
void |
toXml(XmppStreamWriter out,
java.io.Serializable object)
Serializes the object to XML |
| Methods inherited from class com.caucho.xmpp.AbstractXmppMarshal |
|---|
debug, expectEnd, expectEnd, skipToEnd, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XmppDataFormMarshal()
| Method Detail |
|---|
public java.lang.String getNamespaceURI()
public java.lang.String getLocalName()
public java.lang.String getClassName()
public void toXml(XmppStreamWriter out,
java.io.Serializable object)
throws java.io.IOException,
XMLStreamException
toXml in interface XmppMarshaltoXml in class AbstractXmppMarshaljava.io.IOException
XMLStreamException
public java.io.Serializable fromXml(XmppStreamReader in)
throws java.io.IOException,
XMLStreamException
fromXml in interface XmppMarshalfromXml in class AbstractXmppMarshaljava.io.IOException
XMLStreamException
public DataField parseField(XMLStreamReader in)
throws java.io.IOException,
XMLStreamException
java.io.IOException
XMLStreamException
public DataItem parseItem(XMLStreamReader in)
throws java.io.IOException,
XMLStreamException
java.io.IOException
XMLStreamException
public DataReported parseReported(XMLStreamReader in)
throws java.io.IOException,
XMLStreamException
java.io.IOException
XMLStreamException
public DataOption parseOption(XMLStreamReader in)
throws java.io.IOException,
XMLStreamException
java.io.IOException
XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||