org.apache.camel.converter.jaxb
Class JaxbConverter
java.lang.Object
org.apache.camel.converter.jaxb.JaxbConverter
public final class JaxbConverter
- extends Object
- Version:
- $Revision: 834590 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxbConverter
public JaxbConverter()
toSource
@Converter
public JAXBSource toSource(@HasAnnotation(value=javax.xml.bind.annotation.XmlRootElement.class)
Object value)
throws JAXBException
- Throws:
JAXBException
toDocument
@Converter
public Document toDocument(@HasAnnotation(value=javax.xml.bind.annotation.XmlRootElement.class)
Object value)
throws JAXBException,
ParserConfigurationException
- Throws:
JAXBException
ParserConfigurationException
toMessageType
@Converter
public static MessageDefinition toMessageType(Exchange exchange)
toMessageType
@Converter
public static MessageDefinition toMessageType(Message in)
Copyright © 2007-2009 The Apache Software Foundation. All Rights Reserved.