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

org.castor.xml.XmlConfigurations Maven / Gradle / Ivy

Go to download

The core XML data binding framework with support for marshalling Java objects to and unmarshalling from XML documents.

The newest version!
package org.castor.xml;

import org.exolab.castor.xml.util.DefaultNaming;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class XmlConfigurations {

  @Bean(name = "javaNamingImpl")
  JavaNaming javaNamingImpl() {
    return new JavaNamingImpl();
  }

  @Bean(name = "javaNamingNG")
  JavaNaming javaNamingNGImpl() {
    return new JavaNamingNGImpl();
  }

  @Bean
  XMLNaming xmlNaming() {
    return new DefaultNaming();
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy