com.caucho.xmpp
Interface XmppMarshal

All Known Implementing Classes:
AbstractXmppMarshal, XmppAtomEntryMarshal, XmppCapabilitiesMarshal, XmppDataFormMarshal, XmppDiscoInfoQueryMarshal, XmppDiscoItemsQueryMarshal, XmppImBindQueryMarshal, XmppImSessionQueryMarshal, XmppMucAdminQueryMarshal, XmppMucOwnerDestroyQueryMarshal, XmppMucOwnerFormQueryMarshal, XmppMucOwnerQueryMarshal, XmppMucQueryMarshal, XmppMucUserQueryMarshal, XmppPrivateQueryMarshal, XmppPubSubItemsQueryMarshal, XmppPubSubPublishQueryMarshal, XmppPubSubQueryMarshal, XmppPubSubSubscribeQueryMarshal, XmppPubSubUnsubscribeQueryMarshal, XmppRosterQueryMarshal, XmppXmlDataMarshal

public interface XmppMarshal

Marshals from an xmpp request to and from a serialized class


Method Summary
 java.io.Serializable fromXml(XmppStreamReader in)
          Deserializes the object from XML
 java.lang.String getClassName()
          Returns the BAM class name
 java.lang.String getLocalName()
          Returns the local name
 java.lang.String getNamespaceURI()
          Returns the namespace URI
 void toXml(XmppStreamWriter out, java.io.Serializable object)
          Serializes the object to XML
 

Method Detail

getNamespaceURI

java.lang.String getNamespaceURI()
Returns the namespace URI


getLocalName

java.lang.String getLocalName()
Returns the local name


getClassName

java.lang.String getClassName()
Returns the BAM class name


toXml

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

Throws:
java.io.IOException
XMLStreamException

fromXml

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

Throws:
java.io.IOException
XMLStreamException