Package org.apache.cxf.jaxb.io

Examples of org.apache.cxf.jaxb.io.EventDataWriter


    }

    public void handleMessage(Message msg) {
        try {
            CorbaMessage message = (CorbaMessage)msg;
            EventDataWriter writer = (EventDataWriter)ContextUtils.getDataWriter(message);

            CorbaDestination destination = null;
            if (message.getDestination() != null) {
                destination = (CorbaDestination)message.getDestination();
            } else {
View Full Code Here


   
   
    protected void handleOutBoundMessage(CorbaMessage message, BindingOperationInfo boi)
        throws Exception {
        OperationType opType = boi.getExtensor(OperationType.class);
        EventDataWriter writer = (EventDataWriter)getDataWriter(message);
        List<ParamType> paramTypes = opType.getParam();
        List<Object> args = message.getContent(List.class);
        MessageInfo msgInfo = message.get(MessageInfo.class);
        addMarshalRequestParams(message,
                                args,
View Full Code Here

    }
   
    protected void handleInBoundMessage(CorbaMessage message, BindingOperationInfo boi)
        throws Exception {
        OperationType opType = boi.getExtensor(OperationType.class);
        EventDataWriter writer = (EventDataWriter)getDataWriter(message);
        ArgType returnParam = opType.getReturn();
        List<Object> args = message.getContent(List.class);
        addMarshalResponseParams(message,
                                 args,
                                 boi,
View Full Code Here

    @SuppressWarnings("unchecked")
    public <T> DataWriter<T> createWriter(Class<T> c) {
        if (c == XMLStreamWriter.class) {
            return (DataWriter<T>)new XMLStreamDataWriter(context);
        } else if (c == XMLEventWriter.class) {
            return (DataWriter<T>)new EventDataWriter(context);           
        } else if (c == Node.class) {
            return (DataWriter<T>)new NodeDataWriter(context);
        }
       
        return null;
View Full Code Here

    public <T> DataWriter<T> createWriter(Class<T> cls) {
       
        if (cls == XMLStreamWriter.class) {
            return (DataWriter<T>)new XMLStreamDataWriter(this);
        } else if (cls == XMLEventWriter.class) {
            return (DataWriter<T>)new EventDataWriter(this);           
        } else if (cls == Message.class) {
            return (DataWriter<T>)new MessageDataWriter(this);
        } else if (cls == Node.class) {
            return (DataWriter<T>)new NodeDataWriter(this);
        } else if (cls == SOAPBody.class) {
View Full Code Here

TOP

Related Classes of org.apache.cxf.jaxb.io.EventDataWriter

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.