Interface IXmlElementRenderer
- All Superinterfaces:
IElementRenderer
- All Known Implementing Classes:
XmlAsset
,XmlAsset
,XmlButton
,XmlButton
,XmlContainer
,XmlContainer
,XmlContentItem
,XmlContentItem
,XmlDocument
,XmlDocumentRendererBase
,XmlElement
,XmlFailedElement
,XmlFailedElement
,XmlField
,XmlField
,XmlIgnoreElement
,XmlImage
,XmlImage
,XmlLink
,XmlListContainer
,XmlPage
,XmlPage
,XmlTextItem
,XmlTextItem
,XmlUnknownElement
This interface is used to convert IElement instances to XML.
- Since:
- 6.0
- Author:
- F. van der Meer
-
Method Summary
Modifier and TypeMethodDescriptiontoXml
(IXmlRendererContext ctx, IElement element) This function allows one to convert an IElement instance to an XML element.
-
Method Details
-
toXml
This function allows one to convert an IElement instance to an XML element. The implementor of this function should only convert the element itself and not it's children as the caller will process these. (Unless ctx.setContinueChildProcessing( false ) has been called)- Parameters:
ctx
- The context which contains some information and control options.element
- The element which should be converted.- Returns:
- an XMLElement class or null indicating this element should not be included in the resulting xml.
-