java.lang.Object
com.aquima.interactions.framework.renderer.XmlElement
com.aquima.interactions.framework.renderer.page.r6.XmlPage
All Implemented Interfaces:
IElementRenderer, IXmlElementRenderer

public class XmlPage extends XmlElement
This class converts a page element to an XML node.
Since:
6.0
Author:
F. van der Meer
  • Constructor Details

    • XmlPage

      public XmlPage(boolean includeChildMessages)
      Constructs the Page XML renderer with the required arguments.
      Parameters:
      includeChildMessages - boolean indicating if error/warning messages of child elements should also be shown at the page level.
  • Method Details

    • toXml

      public IXmlElement toXml(IXmlRendererContext ctx, IElement element)
      Description copied from interface: IXmlElementRenderer
      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.