JBoss Logging I18n Tools 1.0.0.Beta7

org.jboss.logging.validation
Interface ElementValidator

All Known Implementing Classes:
BundleReturnTypeValidator, LoggerReturnTypeValidator, MessageAnnotationValidator, MessageIdValidator, MethodParameterValidator

public interface ElementValidator

Used to validate various aspects of an interface to make sure the classes can be implemented the code model.

Author:
James R. Perkins, Kevin Pollet - SERLI - (kevin.pollet@serli.com)

Method Summary
 Collection<ValidationMessage> validate(TypeElement element, Collection<ExecutableElement> elementMethods)
          Validates the collection of methods that were passed.
 

Method Detail

validate

Collection<ValidationMessage> validate(TypeElement element,
                                       Collection<ExecutableElement> elementMethods)
Validates the collection of methods that were passed.

Parameters:
element - the root element, generally the interface.
elementMethods - the methods of the interface.
Returns:
a collection of messages or a an empty collection if no errors or warnings were found.

JBoss Logging I18n Tools 1.0.0.Beta7

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