org.apache.camel.converter.jaxp
Class DomConverter
java.lang.Object
org.apache.camel.converter.jaxp.DomConverter
@Converter
public final class DomConverter
- extends Object
Converts from some DOM types to Java types
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomConverter
public DomConverter()
toString
@Converter
public String toString(NodeList nodeList,
Exchange exchange)
throws TransformerException
- Throws:
TransformerException
toInteger
@Converter
public static Integer toInteger(NodeList nodeList)
toLong
@Converter
public static Long toLong(NodeList nodeList)
toList
@Converter
public static List<?> toList(NodeList nodeList)
toInputStream
@Converter
public InputStream toInputStream(NodeList nodeList,
Exchange exchange)
throws TransformerException,
UnsupportedEncodingException
- Throws:
TransformerException
UnsupportedEncodingException
toByteArray
@Converter
public byte[] toByteArray(NodeList nodeList,
Exchange exchange)
throws TransformerException,
UnsupportedEncodingException
- Throws:
TransformerException
UnsupportedEncodingException
Apache Camel