@Converter public final class DomConverter extends Object
Constructor and Description |
---|
DomConverter() |
Modifier and Type | Method and Description |
---|---|
byte[] |
toByteArray(NodeList nodeList,
Exchange exchange) |
InputStream |
toInputStream(NodeList nodeList,
Exchange exchange) |
static Integer |
toInteger(NodeList nodeList) |
static List<?> |
toList(NodeList nodeList) |
static Long |
toLong(NodeList nodeList) |
String |
toString(NodeList nodeList,
Exchange exchange) |
public DomConverter()
@Converter public String toString(NodeList nodeList, Exchange exchange) throws TransformerException
TransformerException
@Converter public static Integer toInteger(NodeList nodeList)
@Converter public static Long toLong(NodeList nodeList)
@Converter public static List<?> toList(NodeList nodeList)
@Converter public InputStream toInputStream(NodeList nodeList, Exchange exchange) throws TransformerException, UnsupportedEncodingException
@Converter public byte[] toByteArray(NodeList nodeList, Exchange exchange) throws TransformerException, UnsupportedEncodingException
Apache Camel