public abstract class XdsRenderingUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
doRender(org.apache.camel.Exchange exchange,
Object body)
Renders an XDS object (either ebXML POJO or an object from the simplified model).
|
static String |
render(org.apache.camel.Exchange exchange)
Renders an XDS object (either ebXML POJO or an object from the simplified model)
contained in the input message of given Camel exchange.
|
static String |
render(org.apache.camel.Exchange exchange,
groovy.lang.Closure closure)
Renders an XDS object (either ebXML POJO or an object from the simplified model)
contained in the given Camel exchange.
|
static String |
render(org.apache.camel.Exchange exchange,
org.apache.camel.Expression expression)
Renders an XDS object (either ebXML POJO or an object from the simplified model)
contained in the given Camel exchange.
|
static String |
renderEbxml(Object ebXml)
Returns marshaled XML representation of the given ebXML POJO.
|
public static String render(org.apache.camel.Exchange exchange)
exchange
- Camel exchange containing the XDS object in exchange.in.body
.public static String render(org.apache.camel.Exchange exchange, groovy.lang.Closure closure)
exchange
- Camel exchange containing the XDS object.closure
- Groovy closure to extract the XDS object from the exchange.public static String render(org.apache.camel.Exchange exchange, org.apache.camel.Expression expression)
exchange
- Camel exchange containing the XDS object.expression
- Camel expression to extract the XDS object from the exchange.public static String doRender(org.apache.camel.Exchange exchange, Object body)
exchange
- Camel exchange.body
- XDS object (either ebXML POJO or an object from the simplified model).Copyright © 2018 Open eHealth Foundation. All rights reserved.