Package org.exolab.castor.xml.util

Examples of org.exolab.castor.xml.util.XMLClassDescriptorResolverImpl


     */
    public static ClassDescriptorResolver createClassDescriptorResolver(final BindingType type) {
        if (type == BindingType.JDO) {
            return new JDOClassDescriptorResolverImpl();
        } else if (type == BindingType.XML) {
            XMLClassDescriptorResolver resolver = new XMLClassDescriptorResolverImpl();
            // for cases in which users really work with the factory only and not
            // with any kind of InternalContext...
            resolver.setResolverStrategy(new CastorXMLStrategy());
            return resolver;
        }
        // TODO: throw IllegalArgumentException instead ?
        return null;
    }
View Full Code Here

TOP

Related Classes of org.exolab.castor.xml.util.XMLClassDescriptorResolverImpl

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.