java.lang.Object
org.mule.runtime.extension.api.dsl.syntax.XmlDslSyntaxResolver
All Implemented Interfaces:
DslSyntaxResolver

public class XmlDslSyntaxResolver extends Object implements DslSyntaxResolver
Default implementation of a DslSyntaxResolver based on XML.

Provides the DslElementSyntax of any Component, Parameter or Type within the context of the Extension model where the Component was declared.

Since:
1.0
  • Constructor Details

    • XmlDslSyntaxResolver

      public XmlDslSyntaxResolver(org.mule.runtime.api.meta.model.ExtensionModel model, org.mule.runtime.api.dsl.DslResolvingContext context)
      Creates an instance using the default implementation
      Parameters:
      model - the ExtensionModel that provides context for resolving the component's DslElementSyntax
      context - the DslResolvingContext in which the Dsl resolution takes place
      Throws:
      IllegalArgumentException - if the ExtensionModel declares an imported type from an ExtensionModel not present in the provided DslResolvingContext or if the imported ExtensionModel doesn't have any ImportedTypeModel
    • XmlDslSyntaxResolver

      public XmlDslSyntaxResolver(org.mule.runtime.api.meta.model.ExtensionModel model, ImportTypesStrategy importTypesStrategy)
      Creates an instance using the default implementation
      Parameters:
      model - the ExtensionModel that provides context for resolving the component's DslElementSyntax
      importTypesStrategy - the ImportTypesStrategy used for external types resolution
      Throws:
      IllegalArgumentException - if the ExtensionModel declares an imported type from an ExtensionModel not present in the provided DslResolvingContext or if the imported ExtensionModel doesn't have any ImportedTypeModel
  • Method Details