Package org.jibx.ws.io.handler

Examples of org.jibx.ws.io.handler.InHandler


                m_outCtx.setBodyWriter(getBodyWriter());
            }
            m_inCtx = new InContext();
            if (m_inHeaderHandlers != null) {
                for (Iterator iter = m_inHeaderHandlers.iterator(); iter.hasNext();) {
                    InHandler handler = (InHandler) iter.next();
                    m_inCtx.addHandler(SoapPhase.HEADER, handler);
                }
            }
            if (getBodyReader() != null) {
                m_inCtx.setBodyReader(getBodyReader());
            }
            if (m_inFaultDetailsHandlers != null) {
                for (Iterator iter = m_inFaultDetailsHandlers.iterator(); iter.hasNext();) {
                    InHandler handler = (InHandler) iter.next();
                    m_inCtx.addHandler(SoapPhase.BODY_FAULT, handler);
                }
            }
            m_processor = (SoapProcessor) m_protocol.createProcessor(ExchangeContext.createOutInExchange(m_outCtx, m_inCtx));
            m_processor.setSoapEncodingStyle(m_encodingStyle);
View Full Code Here


            return null;
        }
        ArrayList handlers = (ArrayList) m_handlersByPhase.get(phase);
        if (handlers != null) {
            for (int i = 0; i < handlers.size(); i++) {
                InHandler handler = (InHandler) handlers.get(i);
                Object obj = handler.invoke(this, xmlReader);
                if (obj != null) {
                    return obj;
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.jibx.ws.io.handler.InHandler

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.