Class XmlTextNodeDS

    • Method Detail

      • getMaskCallName

        public String getMaskCallName()
        Description copied from interface: ITextNodeDS
        This method returns the mask call for this node. Only applicable to field nodes. This method can return null.
        Specified by:
        getMaskCallName in interface ITextNodeDS
        Returns:
        The mask call name for this node.
      • getType

        public TextNodeType getType()
        Description copied from interface: ITextNodeDS
        This method returns the type of the text node.
        Specified by:
        getType in interface ITextNodeDS
        Returns:
        the type of the text node.
      • getValue

        public String getValue()
        Description copied from interface: ITextNodeDS
        This method returns the value of the text node. Depending on the type of the text node, the value will be interpreted differently.

        The value has the following meaning for the different types:

        • ROOT - Value is ignored
        • CONDITION - The value contains the expression that should be evaluated.
        • TEXT - The value contains the text that should be displayed.
        • FIELD - The value contains the expression whose value should be shown.
        • STYLE - The value contains the presentation style that should be used (bold, italic, etc...).

        Specified by:
        getValue in interface ITextNodeDS
        Returns:
        The value for the text node.
      • iterateChildNodes

        public void iterateChildNodes​(ITextNodeVisitor visitor)
                               throws InitializationException
        Description copied from interface: ITextNodeDS
        This method should iterate over all the child nodes of the current text node, and add them to the provided visitor. The iterateChildNodes method will only be invoked for nodes that can actually have children.
        Specified by:
        iterateChildNodes in interface ITextNodeDS
        Parameters:
        visitor - The visitor that should be used to add the child nodes to.
        Throws:
        InitializationException - This exception is thrown when the definition could not be initialized due to a fatal error.