org.objectweb.jotm.btp.messages
Class MessageParser

java.lang.Object
  |
  +--org.objectweb.jotm.btp.messages.MessageParser

public class MessageParser
extends Object


Constructor Summary
MessageParser()
           
 
Method Summary
static BtpMessage parseMessage(String xml)
           
static XElement parseXml(String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageParser

public MessageParser()
Method Detail

parseMessage

public static BtpMessage parseMessage(String xml)
                               throws org.xmlpull.v1.XmlPullParserException,
                                      IOException
org.xmlpull.v1.XmlPullParserException
IOException

parseXml

public static XElement parseXml(String xml)
                         throws org.xmlpull.v1.XmlPullParserException,
                                IOException
org.xmlpull.v1.XmlPullParserException
IOException