Search in sources :

Example 1 with AbstractTypeCreator

use of org.apache.cxf.aegis.type.AbstractTypeCreator 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 2 with AbstractTypeCreator

use of org.apache.cxf.aegis.type.AbstractTypeCreator 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 3 with AbstractTypeCreator

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

the class NoNamespaceAegisElementProvider method createRootTypeCreator.

protected AbstractTypeCreator createRootTypeCreator(TypeCreationOptions options) {
    AbstractTypeCreator creator = new XMLTypeCreator();
    creator.setConfiguration(options);
    return creator;
}
Also used : XMLTypeCreator(org.apache.cxf.aegis.type.XMLTypeCreator) AbstractTypeCreator(org.apache.cxf.aegis.type.AbstractTypeCreator)

Example 4 with AbstractTypeCreator

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

the class NoNamespaceAegisElementProvider method createDefaultTypeCreator.

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

Example 5 with AbstractTypeCreator

use of org.apache.cxf.aegis.type.AbstractTypeCreator 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)6 XMLTypeCreator (org.apache.cxf.aegis.type.XMLTypeCreator)2 Java5TypeCreator (org.apache.cxf.aegis.type.java5.Java5TypeCreator)2 DefaultTypeCreator (org.apache.cxf.aegis.type.DefaultTypeCreator)1