All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.jersey.json.impl.SupportedJaxbProvider Maven / Gradle / Ivy

Go to download

Ehcache is an open source, standards-based cache used to boost performance, offload the database and simplify scalability. Ehcache is robust, proven and full-featured and this has made it the most widely-used Java-based cache.

There is a newer version: 2.10.9.2
Show newest version
package com.sun.jersey.json.impl;

/**
* @author Michal Gajdos (michal.gajdos at oracle.com)
*/
public enum SupportedJaxbProvider implements JaxbProvider {

    JAXB_RI("com.sun.xml.bind.v2.runtime.JAXBContextImpl", JaxbRiXmlStructure.class),
    MOXY("org.eclipse.persistence.jaxb.JAXBContext", MoxyXmlStructure.class),
    JAXB_JDK("com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl", JaxbJdkXmlStructure.class);

    private final String jaxbContextClassName;
    private final Class documentStructureClass;

    SupportedJaxbProvider(final String jaxbContextClassName,
                          final Class documentStructureClass) {
        this.jaxbContextClassName = jaxbContextClassName;
        this.documentStructureClass = documentStructureClass;
    }

    @Override
    public Class getDocumentStructureClass() {
        return documentStructureClass;
    }

    @Override
    public String getJaxbContextClassName() {
        return jaxbContextClassName;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy