JBoss Logging I18n Tools 1.0.0.Beta7

org.jboss.logging.validation
Interface ValidationMessage

All Known Implementing Classes:
ValidationErrorMessage, ValidationWarningMessage

public interface ValidationMessage

Date: 09.04.2011

Author:
James R. Perkins

Nested Class Summary
static class ValidationMessage.MessageType
          Validation message type enum.
 
Method Summary
 Element getElement()
          Returns the element that caused the error.
 String getMessage()
          Returns the error message.
 ValidationMessage.MessageType type()
          The type of the message.
 

Method Detail

type

ValidationMessage.MessageType type()
The type of the message.

Returns:
the type of the message.

getElement

Element getElement()
Returns the element that caused the error.

Returns:
the element that caused the error.

getMessage

String getMessage()
Returns the error message.

Returns:
the error message.

JBoss Logging I18n Tools 1.0.0.Beta7

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.