use of org.mule.runtime.module.extension.internal.config.dsl.object.ObjectParsingDelegate in project mule by mulesoft.
the class ExtensionDefinitionParser method parseObject.
protected void parseObject(String key, String name, ObjectType type, Object defaultValue, ExpressionSupport expressionSupport, boolean required, boolean acceptsReferences, DslElementSyntax elementDsl, Set<ModelProperty> modelProperties) {
parseAttributeParameter(key, name, type, defaultValue, expressionSupport, required, acceptsReferences, modelProperties);
ObjectParsingDelegate delegate = (ObjectParsingDelegate) locateParsingDelegate(objectParsingDelegates, type).orElseThrow(() -> new MuleRuntimeException(createStaticMessage("Could not find a parsing delegate for type " + getType(type).getName())));
addParameter(getChildKey(key), delegate.parse(name, type, elementDsl));
}
Aggregations