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;
}
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;
}
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;
}
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;
}
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;
}
Aggregations