class XMPPNotification implements NotificationMethods {

    ParagraphStyle mapLevelToStyle (NotificationLevel level) {
        switch (level) {
            case WARN:
                return ParagraphStyle.NOTIFICATION_MESSAGE_WARN;
            case ERROR:
                return ParagraphStyle.NOTIFICATION_MESSAGE_ERROR;
            default:
                return ParagraphStyle.NOTIFICATION_MESSAGE_GOOD;
        }
    }

    @Autowired public  XMPPNotification();

}