use of org.apache.cxf.aegis.type.XMLTypeCreator in project cxf by apache.
the class ConfigurationTest method setUp.
@Before
public void setUp() throws Exception {
super.setUp();
AegisContext context = new AegisContext();
config = new TypeCreationOptions();
context.setTypeCreationOptions(config);
context.initialize();
XMLTypeCreator creator = new XMLTypeCreator();
creator.setConfiguration(config);
Java5TypeCreator next = new Java5TypeCreator();
next.setConfiguration(config);
creator.setNextCreator(next);
tm = (DefaultTypeMapping) context.getTypeMapping();
tm.setTypeCreator(creator);
}
use of org.apache.cxf.aegis.type.XMLTypeCreator in project cxf by apache.
the class NoNamespaceAegisElementProvider method createRootTypeCreator.
protected AbstractTypeCreator createRootTypeCreator(TypeCreationOptions options) {
AbstractTypeCreator creator = new XMLTypeCreator();
creator.setConfiguration(options);
return creator;
}
use of org.apache.cxf.aegis.type.XMLTypeCreator in project cxf by apache.
the class AegisContext method createRootTypeCreator.
protected AbstractTypeCreator createRootTypeCreator() {
AbstractTypeCreator creator = new XMLTypeCreator();
creator.setConfiguration(getTypeCreationOptions());
return creator;
}
Aggregations