Interface SchemaNodeContext

    • Method Detail

      • addMessage

        void addMessage​(UserMessage aMessage)
        Attaches the specified message to the current component. When a message must be internationalized, this method is used instead of addError(String), addWarning(String), or addInfo(String).

        Specifically, this method creates a new validation item and its subject is the entity referred to by this context. When displaying the message, the implementation adds information about this subject. As a result, it is not necessary to repeat this contextual information in the message argument.

      • getSchemaNode

        SchemaNode getSchemaNode()
        Returns the node on which the component is attached.