Search in sources :

Example 1 with DefaultTypeCreator

use of org.apache.cxf.aegis.type.DefaultTypeCreator in project cxf by apache.

the class XFireXmlParamTypeTest method setUp.

@Before
public void setUp() throws Exception {
    super.setUp();
    tm = new DefaultTypeMapping(null, DefaultTypeMapping.createDefaultTypeMapping(false, false));
    creator = new Java5TypeCreator();
    creator.setNextCreator(new DefaultTypeCreator());
    creator.setConfiguration(new org.apache.cxf.aegis.type.TypeCreationOptions());
    tm.setTypeCreator(creator);
}
Also used : DefaultTypeMapping(org.apache.cxf.aegis.type.DefaultTypeMapping) DefaultTypeCreator(org.apache.cxf.aegis.type.DefaultTypeCreator) Before(org.junit.Before)

Example 2 with DefaultTypeCreator

use of org.apache.cxf.aegis.type.DefaultTypeCreator in project cxf by apache.

the class XmlParamTypeTest method setUp.

@Before
public void setUp() throws Exception {
    super.setUp();
    tm = new DefaultTypeMapping(null, DefaultTypeMapping.createDefaultTypeMapping(false, false));
    creator = new Java5TypeCreator();
    creator.setNextCreator(new DefaultTypeCreator());
    creator.setConfiguration(new TypeCreationOptions());
    tm.setTypeCreator(creator);
}
Also used : DefaultTypeMapping(org.apache.cxf.aegis.type.DefaultTypeMapping) DefaultTypeCreator(org.apache.cxf.aegis.type.DefaultTypeCreator) TypeCreationOptions(org.apache.cxf.aegis.type.TypeCreationOptions) Before(org.junit.Before)

Example 3 with DefaultTypeCreator

use of org.apache.cxf.aegis.type.DefaultTypeCreator in project cxf by apache.

the class AegisContext method createDefaultTypeCreator.

protected AbstractTypeCreator createDefaultTypeCreator() {
    AbstractTypeCreator creator = new DefaultTypeCreator();
    creator.setConfiguration(getTypeCreationOptions());
    return creator;
}
Also used : DefaultTypeCreator(org.apache.cxf.aegis.type.DefaultTypeCreator) AbstractTypeCreator(org.apache.cxf.aegis.type.AbstractTypeCreator)

Example 4 with DefaultTypeCreator

use of org.apache.cxf.aegis.type.DefaultTypeCreator in project cxf by apache.

the class JaxbXmlParamTypeTest method setUp.

@Before
public void setUp() throws Exception {
    super.setUp();
    tm = new DefaultTypeMapping(null, DefaultTypeMapping.createDefaultTypeMapping(false, false));
    creator = new Java5TypeCreator();
    creator.setNextCreator(new DefaultTypeCreator());
    creator.setConfiguration(new TypeCreationOptions());
    tm.setTypeCreator(creator);
}
Also used : DefaultTypeMapping(org.apache.cxf.aegis.type.DefaultTypeMapping) DefaultTypeCreator(org.apache.cxf.aegis.type.DefaultTypeCreator) TypeCreationOptions(org.apache.cxf.aegis.type.TypeCreationOptions) Before(org.junit.Before)

Aggregations

DefaultTypeCreator (org.apache.cxf.aegis.type.DefaultTypeCreator)4 DefaultTypeMapping (org.apache.cxf.aegis.type.DefaultTypeMapping)3 Before (org.junit.Before)3 TypeCreationOptions (org.apache.cxf.aegis.type.TypeCreationOptions)2 AbstractTypeCreator (org.apache.cxf.aegis.type.AbstractTypeCreator)1