org.milyn.smooks.camel.converters
Class ResultConverter
java.lang.Object
org.milyn.smooks.camel.converters.ResultConverter
@Converter
public class ResultConverter
- extends java.lang.Object
ResultConverter converts from different Result types.
- Author:
- Daniel Bevenius
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SMOOKS_RESULT_KEY
public static final java.lang.String SMOOKS_RESULT_KEY
- See Also:
- Constant Field Values
toDocument
@Converter
public static org.w3c.dom.Node toDocument(javax.xml.transform.dom.DOMResult domResult)
toList
@Converter
public static java.util.List toList(JavaResult.ResultMap javaResult,
org.apache.camel.Exchange exchange)
toInteger
@Converter
public static java.lang.Integer toInteger(JavaResult.ResultMap result)
toDouble
@Converter
public static java.lang.Double toDouble(JavaResult.ResultMap result)
toString
@Converter
public static java.lang.String toString(StringResult result)
toMap
@Converter
public static java.util.Map toMap(JavaResult.ResultMap resultBeans,
org.apache.camel.Exchange exchange)
toStreamSource
@Converter
public static javax.xml.transform.stream.StreamSource toStreamSource(StringResult stringResult)
convertTo
@FallbackConverter
public static <T> T convertTo(java.lang.Class<T> type,
org.apache.camel.Exchange exchange,
java.lang.Object value,
org.apache.camel.spi.TypeConverterRegistry registry)
Copyright © 2011. All Rights Reserved.