public abstract class SchemaInputMetadataResolver extends Object implements org.mule.runtime.api.metadata.resolving.InputTypeResolver<Object>
InputTypeResolver implementations that dynamically load a schema.| Constructor and Description |
|---|
SchemaInputMetadataResolver() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.metadata.api.model.MetadataType |
getInputMetadata(org.mule.runtime.api.metadata.MetadataContext metadataContext,
Object keyLess) |
String |
getResolverName() |
protected abstract String |
getSchemaPath()
Absolute path to the schema between the context of the owning connector.
|
protected abstract org.mule.metadata.api.model.MetadataType |
loadSchema(String schema)
Parses the given
schema and transforms it to a MetadataType |
public String getResolverName()
getResolverName in interface org.mule.runtime.api.metadata.resolving.InputTypeResolver<Object>getResolverName in interface org.mule.runtime.api.metadata.resolving.NamedTypeResolverprotected abstract String getSchemaPath()
Class.getResourceAsStream(String) methodprotected abstract org.mule.metadata.api.model.MetadataType loadSchema(String schema)
schema and transforms it to a MetadataTypeschema - the schema to parseMetadataTypeCopyright © 2019. All rights reserved.