org.castor.xml.XmlConfigurations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of castor-xml Show documentation
Show all versions of castor-xml Show documentation
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();
}
}