use of org.whole.lang.xsd.builders.XsdGenericBuilderAdapter in project whole by wholeplatform.
the class XsdLanguageDeployer method deploy.
public void deploy(ReflectionFactory platform) {
platform.addLanguageKit(new XsdLanguageKit());
platform.addOperationFactory(XsdLanguageKit.URI, GenericBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new XsdGenericBuilderAdapter((IXsdBuilder) strategy, entityContext);
}
});
platform.addOperationFactory(XsdLanguageKit.URI, SpecificBuilderAdapterOperation.ID, new IBuilderFactory() {
public IBuilder create(IBuilder strategy, IEntityContext entityContext) {
return new XsdSpecificBuilderAdapter(strategy, entityContext);
}
});
}
Aggregations