org.apache.camel.converter.jaxp
Class DomConverter

java.lang.Object
  extended by org.apache.camel.converter.jaxp.DomConverter

@Converter
public final class DomConverter
extends Object

Converts from some DOM types to Java types

Version:

Constructor Summary
DomConverter()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomConverter

public DomConverter()
Method Detail

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
Throws:
TransformerException

toByteArray

@Converter
public byte[] toByteArray(NodeList nodeList,
                                    Exchange exchange)
                   throws TransformerException
Throws:
TransformerException


Apache CAMEL