Modifier and Type | Field and Description |
---|---|
static QName |
MULE_ABSTRACT_BYTE_STREAMING_STRATEGY_QNAME
QName for the byte streaming strategy |
static QName |
MULE_ABSTRACT_DEFAULT_RECONNECTION_QNAME
QName for a reconnection config |
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_EXPIRATION_POLICY_QNAME
QName for the expiration-policy element |
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 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(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 PoolingProfile
public static final QName MULE_ABSTRACT_DEFAULT_RECONNECTION_QNAME
QName
for a reconnection configpublic 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 final QName MULE_ABSTRACT_OBJECT_STREAMING_STRATEGY_QNAME
QName
for the object streaming strategypublic static 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.XmlDslModel
public static boolean supportsTopLevelDeclaration(MetadataType metadataType)
metadataType
- a typemetadataType
can be defined as a top level elementCopyright © 2018. All rights reserved.