Interface IContentStyleDS
- All Superinterfaces:
IElementDS
,IReportingDS
- All Known Implementing Classes:
XmlContentStyleDS
This interface defines the methods that should be implemented to initialize a content style.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionString[]
This method returns an array of style names that are allowed for content items that are direct child nodes of the content item with this style.boolean
This method returns a boolean indicating if the content style should be used as default when a content node does not specify a content style, but does define a presentation style.boolean
This method returns a boolean indicating if the content style restricts the type of child styles that are allowed.Methods inherited from interface com.aquima.interactions.composer.ds.IElementDS
getName, getPresentationStyles
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Method Details
-
isRestricted
boolean isRestricted()This method returns a boolean indicating if the content style restricts the type of child styles that are allowed. When this method returns false, i.e. not restricted, the array of valid children is ignored.- Returns:
- a boolean indicating if the content style restricts the type of child styles that are allowed.
-
isDefault
boolean isDefault()This method returns a boolean indicating if the content style should be used as default when a content node does not specify a content style, but does define a presentation style.- Returns:
- a boolean indicating if the content style should be used as default.
-
getChildren
String[] getChildren()This method returns an array of style names that are allowed for content items that are direct child nodes of the content item with this style.- Returns:
- The array of style names that are allowed as child style.
-