Class XmlContentDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.composer.ds.xml.parsing.XmlContentDS
- All Implemented Interfaces:
IContentDS
,IContentNodeDS
,IElementDS
,IReportingDS
- Direct Known Subclasses:
XmlDocumentDS
Xml datasource implementation.
- Since:
- 7.2
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlContentDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the content style that should be used when including the content element that is referred to.This method returns a descriptive text for the content element.getName()
This method returns the (unique) name of the element.String[]
This method returns the presentation styles that should be used when including the content element that is referred to.void
iterateContent
(INodeVisitor visitor) This method will be invoked during initialization to read all the sub content.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 Details
-
XmlContentDS
-
-
Method Details
-
iterateContent
Description copied from interface:IContentNodeDS
This method will be invoked during initialization to read all the sub content.- Specified by:
iterateContent
in interfaceIContentNodeDS
- Parameters:
visitor
- This visitor should be used to add all the sub-content to.- Throws:
InitializationException
- This exception is thrown when the definition could not be initialized due to a fatal error.
-
getContentStyle
Description copied from interface:IContentDS
This method returns the content style that should be used when including the content element that is referred to.- Specified by:
getContentStyle
in interfaceIContentDS
- Returns:
- the content style that should be used when including the content element that is referred to.
-
getDescription
Description copied from interface:IContentDS
This method returns a descriptive text for the content element.- Specified by:
getDescription
in interfaceIContentDS
- Returns:
- a descriptive text for the content element.
-
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
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.
-