|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.protocol.xml.XMLWrapperTransformer
public class XMLWrapperTransformer
The XMLWrapperTransformer
wraps the given String
into a XBUSXMLMessage
. The XBUS_Data section of the outcoming
XBUSXML document contains the given String
as a CDATA element.
This makes sure the XML parser will not try to evaluate the
String
.
Constructor Summary | |
---|---|
XMLWrapperTransformer()
|
Method Summary | |
---|---|
java.lang.Object |
transform(java.lang.Object inObject,
XBUSSystem source,
XBUSSystem destination,
Message destinationMessage)
The transform method wraps the given Object
into a XBUSXMLMessage . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLWrapperTransformer()
Method Detail |
---|
public java.lang.Object transform(java.lang.Object inObject, XBUSSystem source, XBUSSystem destination, Message destinationMessage) throws XException
transform
method wraps the given Object
into a XBUSXMLMessage
.
transform
in interface Transformer
inObject
- either the request or response that shall be wrapped into
a XBUSXMLMessage. This Object
must be of type
String
.source
- not useddestination
- not useddestinationMessage
- not used
org.w3c.Document
containing a
XBUSXMLMessage
containing the
inObject
as a CDATA section.
XException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |