public class XmlCapabilityExtractor extends Object implements CapabilityExtractor
CapabilityExtractor
that verifies if the extension is annotated with XmlCapability
and if so, registers into the builder a {@link org.mule.extension.introspection.capability.XmlCapabilityModifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SCHEMA_LOCATION_MASK |
Constructor and Description |
---|
XmlCapabilityExtractor() |
Modifier and Type | Method and Description |
---|---|
Object |
extractCapability(org.mule.extension.introspection.declaration.DeclarationConstruct declaration,
Class<?> capableType,
org.mule.extension.introspection.declaration.HasCapabilities<? extends org.mule.extension.introspection.declaration.Construct> capableCallback)
Looks for a specific capability in the given
extensionType . |
public static final String DEFAULT_SCHEMA_LOCATION_MASK
public Object extractCapability(org.mule.extension.introspection.declaration.DeclarationConstruct declaration, Class<?> capableType, org.mule.extension.introspection.declaration.HasCapabilities<? extends org.mule.extension.introspection.declaration.Construct> capableCallback)
CapabilityExtractor
extensionType
.
and declares it into the given capableCallback
. After doing such,
the found capability is returned (or null
if not found)extractCapability
in interface CapabilityExtractor
declaration
- the construct that is being builtcapableType
- the type of the Capable
classcapableCallback
- a HasCapabilities
on which the Capable
is to be registered.null
if none foundCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.