Package org.apache.cxf.jaxb.io

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


    @SuppressWarnings("unchecked")
    public <T> DataReader<T> createReader(Class<T> c) {
        DataReader<T> dr = null;
        if (c == XMLStreamReader.class) {
            dr = (DataReader<T>)new XMLStreamDataReader(context);
        } else if (c == XMLEventReader.class) {
            dr = (DataReader<T>)new EventDataReader(context);
        } else if (c == Node.class) {
            dr = (DataReader<T>)new NodeDataReader(context);
        }
View Full Code Here


   
    @SuppressWarnings("unchecked")
    public <T> DataReader<T> createReader(Class<T> cls) {
        DataReader<T> dr = null;
        if (cls == XMLStreamReader.class) {
            dr = (DataReader<T>)new XMLStreamDataReader(this);
        } else if (cls == XMLEventReader.class) {
            dr = (DataReader<T>)new EventDataReader(this);
        } else if (cls == Message.class) {
            dr = (DataReader<T>)new MessageDataReader(this);           
        } else if (cls == Node.class) {
View Full Code Here

TOP

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

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.