org.apache.camel.converter.jaxb
Class JaxbConverter

java.lang.Object
  extended by org.apache.camel.converter.jaxb.JaxbConverter

public class JaxbConverter
extends Object

Version:
$Revision: 525892 $

Constructor Summary
JaxbConverter()
           
 
Method Summary
protected static javax.xml.bind.JAXBContext createJaxbContext(Object value)
           
 org.apache.camel.converter.jaxp.XmlConverter getJaxbConverter()
           
 void setJaxbConverter(org.apache.camel.converter.jaxp.XmlConverter jaxbConverter)
           
 Document toDocument(Object value)
           
static javax.xml.bind.util.JAXBSource toSource(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxbConverter

public JaxbConverter()
Method Detail

getJaxbConverter

public org.apache.camel.converter.jaxp.XmlConverter getJaxbConverter()

setJaxbConverter

public void setJaxbConverter(org.apache.camel.converter.jaxp.XmlConverter jaxbConverter)

toSource

public static javax.xml.bind.util.JAXBSource toSource(Object value)
                                               throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

toDocument

public Document toDocument(Object value)
                    throws javax.xml.bind.JAXBException,
                           ParserConfigurationException
Throws:
javax.xml.bind.JAXBException
ParserConfigurationException

createJaxbContext

protected static javax.xml.bind.JAXBContext createJaxbContext(Object value)
                                                       throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException


Copyright © 2007 Apache Software Foundation. All Rights Reserved.