|
||||||||||
| 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.pubsub.XmppPubSubQueryMarshal
public class XmppPubSubQueryMarshal
pubsub query
XEP-0060: http://www.xmpp.org/extensions/xep-0060.html
namespace = http://jabber.org/protocol/pubsub
element pubsub {
(create, configure?)
| (subscribe?, options?)
| affiliations
| items
| publish
| retract
| subscription
| subscriptions
| unsubscribe
}
element affiliation {
attribute affiliation,
attribute node
}
element affiliations {
affiliation*
}
element configure {
x{jabber:x:data}?
}
element create {
attribute node?
}
element item {
attribute id?,
other?
}
element items {
attribute max_items?,
attribute node,
attribute subid?,
item*
}
element options {
attribute address,
attribute node?,
attribute subid?,
x{jabber:x:data}*
}
element publish {
attribute node,
item*
}
element retract {
attribute node,
attribute notify?,
item+
}
element subscribe {
attribute address,
attribute node?
}
element subscribe-options {
required?
}
element subscription {
attribute address,
attribute node?,
attribute subid?,
attribute subscription?,
subscribe-options?
}
element unsubscribe {
attribute address,
attribute node?
attribute subid?
}
| Constructor Summary | |
|---|---|
XmppPubSubQueryMarshal()
|
|
| 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 |
PubSubItemsQuery |
parseItems(XmppStreamReader in)
Deserializes the object from XML |
PubSubOptions |
parseOptions(XmppStreamReader in)
Deserializes the object from XML |
PubSubPublishQuery |
parsePublish(XmppStreamReader in)
Deserializes the object from XML |
PubSubSubscribeQuery |
parseSubscribe(XmppStreamReader in)
Deserializes the object from XML |
PubSubUnsubscribeQuery |
parseUnsubscribe(XmppStreamReader 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 XmppPubSubQueryMarshal()
| 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 PubSubItemsQuery parseItems(XmppStreamReader in)
throws java.io.IOException,
XMLStreamException
java.io.IOException
XMLStreamException
public PubSubPublishQuery parsePublish(XmppStreamReader in)
throws java.io.IOException,
XMLStreamException
java.io.IOException
XMLStreamException
public PubSubSubscribeQuery parseSubscribe(XmppStreamReader in)
throws java.io.IOException,
XMLStreamException
java.io.IOException
XMLStreamException
public PubSubUnsubscribeQuery parseUnsubscribe(XmppStreamReader in)
throws java.io.IOException,
XMLStreamException
java.io.IOException
XMLStreamException
public PubSubOptions parseOptions(XmppStreamReader 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 | |||||||||