|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IXmlToMessage
Provides conversion methods between IMessage
and XML Strings.
IBadhnAti
provides means of:
Marshal
IMessage
: converts any XML source into an
IMessage
instance.
Unmarshal
IBusMessage
to XML: converts the contents of the
IMessage
into a valid XML String.
Method Summary | |
---|---|
IMessage |
marshal(org.xml.sax.InputSource pXmlSource)
Converts a given XML compliant string into a message instance. |
IMessage |
marshal(java.io.Reader pXmlReader)
Converts a given XML compliant string into a message instance. |
IMessage |
marshal(java.lang.String pXmlMsg)
Converts a given XML compliant string into a IMessage instance. |
java.lang.String |
unmarshal(IMessage pMessage)
Converts the provided IMessage instance into an XML String representation. |
Method Detail |
---|
IMessage marshal(java.lang.String pXmlMsg) throws RaccoonException
IMessage
instance.
pXmlMsg
- the XML string
IMessage
instance.
RaccoonException
- if the XML string is invalid.IMessage marshal(java.io.Reader pXmlReader) throws RaccoonException
pXmlReader
- the XML reader
IMessage
instance.
RaccoonException
- if the XML string is invalid.IMessage marshal(org.xml.sax.InputSource pXmlSource) throws RaccoonException
pXmlSource
- the XML input source to use.
IMessage
instance.
RaccoonException
- if the XML string is invalid.java.lang.String unmarshal(IMessage pMessage) throws RaccoonException
IMessage
instance into an XML String representation.
pMessage
- the message to be converted
RaccoonException
- if the conversion fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |