Class XmlTextDS
- java.lang.Object
-
- com.aquima.interactions.foundation.report.ReportingDS
-
- com.aquima.interactions.composer.ds.xml.r8.parsing.XmlTextDS
-
- All Implemented Interfaces:
IElementDS
,ITextDS
,IReportingDS
public class XmlTextDS extends ReportingDS implements ITextDS
Xml r8 datasource implementation.- Since:
- 7.2
- Author:
- Jon van Leuven
-
-
Constructor Summary
Constructors Constructor Description XmlTextDS(IInitializationReport report, IXmlNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
This method returns the (unique) name of the element.String[]
getPresentationStyles()
This method returns the presentation styles that should be used when including the content element that is referred to.void
iterateContent(ITextContentVisitor visitor)
This method should iterate over the content of the text element and add the content to the provided visitor.-
Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
-
-
-
Constructor Detail
-
XmlTextDS
public XmlTextDS(IInitializationReport report, IXmlNode node)
-
-
Method Detail
-
iterateContent
public void iterateContent(ITextContentVisitor visitor) throws InitializationException
Description copied from interface:ITextDS
This method should iterate over the content of the text element and add the content to the provided visitor.- Specified by:
iterateContent
in interfaceITextDS
- Parameters:
visitor
- The visitor that should be used to add the content to.- Throws:
InitializationException
- This exception is thrown when the definition could not be initialized due to a fatal error.
-
getName
public String getName()
Description copied from interface:IElementDS
This method returns the (unique) name of the element. The name is required when adding the content as a definition to the composer, but it is optional when the element is added directly as inline sub-content.- Specified by:
getName
in interfaceIElementDS
- Returns:
- the (unique) name of the element.
-
getPresentationStyles
public String[] getPresentationStyles()
Description copied from interface:IElementDS
This method returns the presentation styles that should be used when including the content element that is referred to.- Specified by:
getPresentationStyles
in interfaceIElementDS
- Returns:
- the presentation styles that should be used when including the content element that is referred to.
-
-