public final class XmlModelUtils extends Object
extension.
This is an internal utils class, not to be considered part of the API. Backwards compatibility not guaranteed| Modifier and Type | Field and Description |
|---|---|
static QName |
MULE_ABSTRACT_BYTE_STREAMING_STRATEGY_QNAME
QName for the byte streaming strategy |
static QName |
MULE_ABSTRACT_OBJECT_STREAMING_STRATEGY_QNAME
QName for the object streaming strategy |
static QName |
MULE_ABSTRACT_RECONNECTION_STRATEGY_QNAME
QName for a reconnection strategy |
static QName |
MULE_ABSTRACT_REDELIVERY_POLICY_QNAME
QName for an abstract redelivery policy |
static QName |
MULE_POOLING_PROFILE_TYPE_QNAME
QName for a PoolingProfile |
| Constructor and Description |
|---|
XmlModelUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildSchemaLocation(String prefix,
String namespace)
Given a prefix and a namespace returns the correspondent schema location
|
static org.mule.runtime.api.meta.model.XmlDslModel |
createXmlLanguageModel(Optional<String> prefix,
Optional<String> namespace,
String extensionName,
String extensionVersion)
Takes a set of parameters extracted from the extension and generates a
XmlDslModel. |
static boolean |
supportsTopLevelDeclaration(org.mule.metadata.api.model.MetadataType metadataType) |
public static final QName MULE_ABSTRACT_REDELIVERY_POLICY_QNAME
QName for an abstract redelivery policypublic static final QName MULE_POOLING_PROFILE_TYPE_QNAME
QName for a PoolingProfilepublic static final QName MULE_ABSTRACT_RECONNECTION_STRATEGY_QNAME
QName for a reconnection strategypublic static final QName MULE_ABSTRACT_BYTE_STREAMING_STRATEGY_QNAME
QName for the byte streaming strategypublic static org.mule.runtime.api.meta.model.XmlDslModel createXmlLanguageModel(Optional<String> prefix, Optional<String> namespace, String extensionName, String extensionVersion)
XmlDslModel.prefix - prefix of the extension. If Optional.empty() or empty string, then it will default using the extensionName.namespace - namespace location of the extension. If Optional.empty() or empty string, then it will default using a generated namespace.extensionName - name of the extension, cannot be null.extensionVersion - version of the extension, cannot be null.XmlDslModelpublic static boolean supportsTopLevelDeclaration(org.mule.metadata.api.model.MetadataType metadataType)
metadataType - a typemetadataType can be defined as a top level elementCopyright © 2017 MuleSoft, Inc.. All rights reserved.