/* 58 */ this.jaxbContext = jaxbContext;
/* */ }
/* */
/* */ public MessageAbstraction getRequestMessage(Object obj)
/* */ {
/* 63 */ HTTPMessageImpl reqMsg = null;
/* */ try
/* */ {
/* 66 */ if (Source.class.isAssignableFrom(this.type))
/* */ {
/* 68 */ Source source = (Source)obj;
/* 69 */ reqMsg = new HTTPMessageImpl(source);
/* 70 */ if (this.validateDispatch)
/* 71 */ reqMsg.doValidate();
/* */ }
/* 73 */ else if (this.jaxbContext != null)
/* */ {
/* 75 */ Marshaller marshaller = this.jaxbContext.createMarshaller();
/* 76 */ marshaller.setProperty("jaxb.fragment", Boolean.valueOf(true));
/* 77 */ BufferedStreamResult result = new BufferedStreamResult();
/* 78 */ marshaller.marshal(obj, result);
/* */
/* 80 */ reqMsg = new HTTPMessageImpl(result);
/* */ }
/* */ }
/* */ catch (RuntimeException rte)
/* */ {
/* 85 */ throw rte;