@NoImplement
public interface XmlDslElementModelConverter
DslElementModel into a its XML Element
representation.| Modifier and Type | Method and Description |
|---|---|
Element |
asXml(DslElementModel elementModel)
Converts the given
DslElementModel into its XML Element representation,
populating the given owner Document with all the information required
in order for the returned Element to be correctly parsed. |
static XmlDslElementModelConverter |
getDefault(Document owner)
Provides a default implementation of the
XmlDslElementModelConverter. |
static XmlDslElementModelConverter getDefault(Document owner)
XmlDslElementModelConverter.
The required Document will be used for creating the Elements,
thus avoiding the need of deep importing the nodes after creation.
This Document will also be enriched with the xmlns alias declarations
in the root element, which removes the need of declaring the xmlns in each
Element and provides an overall cleaner serialization afterwards.
owner - the Document that will contain the converted ElementXmlDslElementModelConverterElement asXml(DslElementModel elementModel)
DslElementModel into its XML Element representation,
populating the given owner Document with all the information required
in order for the returned Element to be correctly parsed.
This method will not append the returned Element to the owner Document,
leaving its usage open to whom consumes this service.
elementModel - the DslElementModel to be convertedElement representation of the given DslElementModelCopyright © 2003–2019 MuleSoft, Inc.. All rights reserved.