Class DslSyntaxUtils
java.lang.Object
org.mule.runtime.extension.api.dsl.syntax.DslSyntaxUtils
Utils class with helper methods for the
DslSyntaxResolver- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetSanitizedElementName(org.mule.runtime.api.meta.NamedObject component) Provides a sanitized, hyphenized, space-free name that can be used as an XML element-name for a givenNamedObjectstatic booleansupportsInlineDeclaration(org.mule.metadata.api.model.MetadataType metadataType, org.mule.runtime.api.meta.ExpressionSupport expressionSupport, org.mule.runtime.api.meta.model.ParameterDslConfiguration dslModel, boolean isContent) static booleantypeRequiresWrapperElement(org.mule.metadata.api.model.MetadataType metadataType, org.mule.runtime.api.meta.type.TypeCatalog typeCatalog)
-
Method Details
-
getSanitizedElementName
Provides a sanitized, hyphenized, space-free name that can be used as an XML element-name for a givenNamedObject- Parameters:
component- theNamedObjectwhose name we want to convert- Returns:
- a sanitized, hyphenized, space-free name that can be used as an XML element-name
- Since:
- 1.5.0
-
supportsInlineDeclaration
public static boolean supportsInlineDeclaration(org.mule.metadata.api.model.MetadataType metadataType, org.mule.runtime.api.meta.ExpressionSupport expressionSupport, org.mule.runtime.api.meta.model.ParameterDslConfiguration dslModel, boolean isContent) -
typeRequiresWrapperElement
public static boolean typeRequiresWrapperElement(org.mule.metadata.api.model.MetadataType metadataType, org.mule.runtime.api.meta.type.TypeCatalog typeCatalog)
-