Package org.jibx.ws.io

Examples of org.jibx.ws.io.UnmarshallingPayloadReader


     *
     * @param clazz the target class
     * @throws WsBindingException on any error in finding or accessing factory, or creating unmarshaller
     */
    public UnmarshallingInHandler(Class clazz) throws WsBindingException {
        m_unmarshaller = new UnmarshallingPayloadReader(clazz);
    }
View Full Code Here


     * @param bindingName binding name
     * @param packageName target package for binding
     * @throws WsBindingException on any error in finding or accessing factory, or creating unmarshaller
     */
    public UnmarshallingInHandler(String bindingName, String packageName) throws WsBindingException {
        m_unmarshaller = new UnmarshallingPayloadReader(bindingName, packageName);
    }
View Full Code Here

     *
     * @param factory the binding factory
     * @throws WsBindingException on any error in creating unmarshaller
     */
    public UnmarshallingInHandler(IBindingFactory factory) throws WsBindingException {
        m_unmarshaller = new UnmarshallingPayloadReader(factory);
    }
View Full Code Here

     * @param clazz the target class
     * @param attributeName the key to store the unmarshalled object in the current context
     * @throws WsBindingException on any error in finding or accessing factory, or creating unmarshaller
     */
    public ContextAttributeUnmarshallingInHandler(Class clazz, String attributeName) throws WsBindingException {
        m_unmarshaller = new UnmarshallingPayloadReader(clazz);
        m_attributeName = attributeName;
    }
View Full Code Here

    public ContextAttributeUnmarshallingInHandler(String className, String attributeName) throws WsBindingException,
        WsConfigurationException {

        try {
            Class clazz = Class.forName(className);
            m_unmarshaller = new UnmarshallingPayloadReader(clazz);
            m_attributeName = attributeName;
        } catch (ClassNotFoundException e) {
            throw new WsConfigurationException("Unable to create ContextualPayloadUnmarshaller.  Class not found: "
                + className);
        }
View Full Code Here

     * @param attributeName the key to store the unmarshalled object in the current context
     * @throws WsBindingException on any error in finding or accessing factory, or creating unmarshaller
     */
    public ContextAttributeUnmarshallingInHandler(String bindingName, String packageName, String attributeName)
        throws WsBindingException {
        m_unmarshaller = new UnmarshallingPayloadReader(bindingName, packageName);
        m_attributeName = attributeName;
    }
View Full Code Here

     * @param attributeName the key to store the unmarshalled object in the current context
     * @throws WsBindingException on any error in creating unmarshaller
     */
    public ContextAttributeUnmarshallingInHandler(IBindingFactory factory, String attributeName)
            throws WsBindingException {
        m_unmarshaller = new UnmarshallingPayloadReader(factory);
        m_attributeName = attributeName;
    }
View Full Code Here

            outCtx.setBodyWriter(new MarshallingPayloadWriter(outBodyBindingFactory));
        }
   
        IBindingFactory inBodyBindingFactory = getInBodyBindingFactory();
        if (inBodyBindingFactory != null) {
            inCtx.setBodyReader(new UnmarshallingPayloadReader(inBodyBindingFactory));
        }
    }
View Full Code Here

     *
     * @param factory the JiBX binding factory to use for reading the inbound body
     * @throws WsBindingException if unmarshaller cannot be created due to an error with the JiBX bindings
     */
    public final void setInBodyBindingFactory(IBindingFactory factory) throws WsBindingException {
        setBodyReader(new UnmarshallingPayloadReader(factory));
    }
View Full Code Here

   
    private InContext m_inCtx;

    protected void setUp() throws Exception {
        StubbedChannel.getInstance().close();
        UnmarshallingPayloadReader inBodyHandler = new UnmarshallingPayloadReader(Customer.class);
        m_inCtx = new InContext();
        m_inCtx.setBodyReader(inBodyHandler);
    }
View Full Code Here

TOP

Related Classes of org.jibx.ws.io.UnmarshallingPayloadReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.