Search in sources :

Example 1 with Java5TypeCreator

use of org.apache.cxf.aegis.type.java5.Java5TypeCreator in project cxf by apache.

the class NoNamespaceAegisElementProvider method createTypeCreator.

/*
     * This can't use the cache in AbstractAegisProvider. It could have its own cache.
     */
private TypeCreator createTypeCreator(TypeCreationOptions options) {
    AbstractTypeCreator xmlCreator = createRootTypeCreator(options);
    Java5TypeCreator j5Creator = new NoNamespaceJava5TypeCreator();
    j5Creator.setNextCreator(createDefaultTypeCreator(options));
    j5Creator.setConfiguration(options);
    xmlCreator.setNextCreator(j5Creator);
    return xmlCreator;
}
Also used : AbstractTypeCreator(org.apache.cxf.aegis.type.AbstractTypeCreator) Java5TypeCreator(org.apache.cxf.aegis.type.java5.Java5TypeCreator)

Example 2 with Java5TypeCreator

use of org.apache.cxf.aegis.type.java5.Java5TypeCreator in project cxf by apache.

the class AegisContext method createTypeCreator.

public TypeCreator createTypeCreator() {
    AbstractTypeCreator xmlCreator = createRootTypeCreator();
    Java5TypeCreator j5Creator = new Java5TypeCreator();
    j5Creator.setNextCreator(createDefaultTypeCreator());
    j5Creator.setConfiguration(getTypeCreationOptions());
    xmlCreator.setNextCreator(j5Creator);
    return xmlCreator;
}
Also used : AbstractTypeCreator(org.apache.cxf.aegis.type.AbstractTypeCreator) Java5TypeCreator(org.apache.cxf.aegis.type.java5.Java5TypeCreator)

Aggregations

AbstractTypeCreator (org.apache.cxf.aegis.type.AbstractTypeCreator)2 Java5TypeCreator (org.apache.cxf.aegis.type.java5.Java5TypeCreator)2