com.caucho.xmpp.muc
Class XmppMucUserQueryMarshal

java.lang.Object
  extended by com.caucho.xmpp.AbstractXmppMarshal
      extended by com.caucho.xmpp.muc.XmppMucUserQueryMarshal
All Implemented Interfaces:
XmppMarshal

public class XmppMucUserQueryMarshal
extends AbstractXmppMarshal

MucUser query XEP-0045: http://www.xmpp.org/extensions/xep-0045.html

 namespace = http://jabber.org/protocol/muc#user

 element x {
   decline?
   & destroy?
   & invite*
   & item?
   & password?
   & status*
 }

 element decline {


Constructor Summary
XmppMucUserQueryMarshal()
           
 
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
 MucDecline parseDecline(XMLStreamReader in)
          Deserializes the object from XML
 MucDestroy parseDestroy(XMLStreamReader in)
          Deserializes the object from XML
 MucInvite parseInvite(XMLStreamReader in)
          Deserializes the object from XML
 MucStatus parseStatus(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

XmppMucUserQueryMarshal

public XmppMucUserQueryMarshal()
Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI()
Returns the namespace uri for the XMPP stanza value


getLocalName

public java.lang.String getLocalName()
Returns the local name for the XMPP stanza value


getClassName

public java.lang.String getClassName()
Returns the java classname of the object


toXml

public void toXml(XmppStreamWriter out,
                  java.io.Serializable object)
           throws java.io.IOException,
                  XMLStreamException
Serializes the object to XML

Specified by:
toXml in interface XmppMarshal
Specified by:
toXml in class AbstractXmppMarshal
Throws:
java.io.IOException
XMLStreamException

fromXml

public java.io.Serializable fromXml(XmppStreamReader in)
                             throws java.io.IOException,
                                    XMLStreamException
Deserializes the object from XML

Specified by:
fromXml in interface XmppMarshal
Specified by:
fromXml in class AbstractXmppMarshal
Throws:
java.io.IOException
XMLStreamException

parseInvite

public MucInvite parseInvite(XMLStreamReader in)
                      throws java.io.IOException,
                             XMLStreamException
Deserializes the object from XML

Throws:
java.io.IOException
XMLStreamException

parseDecline

public MucDecline parseDecline(XMLStreamReader in)
                        throws java.io.IOException,
                               XMLStreamException
Deserializes the object from XML

Throws:
java.io.IOException
XMLStreamException

parseDestroy

public MucDestroy parseDestroy(XMLStreamReader in)
                        throws java.io.IOException,
                               XMLStreamException
Deserializes the object from XML

Throws:
java.io.IOException
XMLStreamException

parseStatus

public MucStatus parseStatus(XMLStreamReader in)
                      throws java.io.IOException,
                             XMLStreamException
Deserializes the object from XML

Throws:
java.io.IOException
XMLStreamException