org.mule.transformers.jaxb
Class JAXBTestTransformers
java.lang.Object
org.mule.transformers.jaxb.JAXBTestTransformers
@ContainsTransformerMethods
public class JAXBTestTransformers
- extends Object
Explicit JAXB transformers used to test that JAXB transforms can be intercepted
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBTestTransformers
public JAXBTestTransformers()
toPerson
@Transformer(sourceTypes=java.lang.String.class)
public Person toPerson(Document doc,
JAXBContext context)
throws JAXBException
- Throws:
JAXBException
toEmailAddresses
@Transformer(sourceTypes={java.lang.String.class,java.io.InputStream.class})
public List<EmailAddress> toEmailAddresses(@Payload
Document doc,
@InboundHeaders(value="*")
Map headers,
JAXBContext context)
throws JAXBException,
XPathExpressionException
- Throws:
JAXBException
XPathExpressionException
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.