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.xml.dsl.api.DslElementSyntax elementDsl,
MuleContext muleContext)
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.xml.dsl.api.DslElementSyntax elementDsl, MuleContext muleContext)
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 elementmuleContext - the Mule nodeValueResolver which resolves to the Charset corresponding with the given keyCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.