public class CharsetValueResolverParsingDelegate extends Object implements ValueResolverParsingDelegate
ValueResolverParsingDelegate for parsing instances of Charset| Constructor and Description |
|---|
CharsetValueResolverParsingDelegate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(org.mule.metadata.api.model.MetadataType metadataType)
Verifies that
this instance is capable of handling a specific type. |
ValueResolver<Object> |
parse(String key,
org.mule.metadata.api.model.MetadataType metadataType,
org.mule.runtime.extension.api.dsl.syntax.DslElementSyntax elementDsl)
Performs the parsing and returns a value.
|
public boolean accepts(org.mule.metadata.api.model.MetadataType metadataType)
ParsingDelegatethis instance is capable of handling a specific type.accepts in interface ParsingDelegate<org.mule.metadata.api.model.MetadataType,ValueResolver<Object>>metadataType - a MetadataTypetrue if metadataType represents a Charsetpublic ValueResolver<Object> parse(String key, org.mule.metadata.api.model.MetadataType metadataType, org.mule.runtime.extension.api.dsl.syntax.DslElementSyntax elementDsl)
ParsingDelegate
This method should only be invoked if ParsingDelegate.accepts(MetadataType) returns true for the same metadataType
parse in interface ParsingDelegate<org.mule.metadata.api.model.MetadataType,ValueResolver<Object>>key - the parsed entity keymetadataType - a MetadataTypeelementDsl - the DslElementSyntax of the parsed elementValueResolver which resolves to the Charset corresponding with the given keyCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.