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)
           
 Integer toInteger(NodeList nodeList)
           
static List toList(NodeList nodeList)
           
 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 Integer toInteger(NodeList nodeList)

toLong

@Converter
public 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