public class TemplateInfoFactory extends Object
| Constructor and Description |
|---|
TemplateInfoFactory() |
| Modifier and Type | Method and Description |
|---|---|
static EndpointTemplateInfo |
createTemplateInfo(org.apache.synapse.endpoints.Template endpointTemplate) |
static TemplateInfo |
createTemplateInfo(org.apache.synapse.mediators.template.TemplateMediator sequenceMediator)
Creates an instance of
TemplateInfo from the
provided sequenceMediator |
static String |
getEndpointTypeFromTemplate(org.apache.axiom.om.OMElement templateEl) |
static EndpointTemplateInfo[] |
getSortedTemplateInfoArrayByTemplate(Collection<org.apache.synapse.endpoints.Template> templateMediators) |
static TemplateInfo[] |
getSortedTemplateInfoArrayByTemplateMediator(Collection<org.apache.synapse.mediators.template.TemplateMediator> templateMediators)
Creates an array of
TemplateInfo instances
corresponds to the templateMediators collection |
public static TemplateInfo createTemplateInfo(org.apache.synapse.mediators.template.TemplateMediator sequenceMediator)
TemplateInfo from the
provided sequenceMediatorsequenceMediator - of which the TemplateInfo
object needs to be createdpublic static EndpointTemplateInfo createTemplateInfo(org.apache.synapse.endpoints.Template endpointTemplate)
public static String getEndpointTypeFromTemplate(org.apache.axiom.om.OMElement templateEl)
public static TemplateInfo[] getSortedTemplateInfoArrayByTemplateMediator(Collection<org.apache.synapse.mediators.template.TemplateMediator> templateMediators)
TemplateInfo instances
corresponds to the templateMediators collectiontemplateMediators - of which the
TemplateInfo array needs to be createdpublic static EndpointTemplateInfo[] getSortedTemplateInfoArrayByTemplate(Collection<org.apache.synapse.endpoints.Template> templateMediators)
Copyright © 2019 WSO2. All rights reserved.