Class Validator


  • public final class Validator
    extends java.lang.Object
    Date: 12.08.2011
    Author:
    James R. Perkins
    • Constructor Summary

      Constructors 
      Constructor Description
      Validator​(javax.annotation.processing.ProcessingEnvironment processingEnv)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<ValidationMessage> validate​(MessageInterface messageInterface)
      Validates the message interface and returns a collection of validation messages or an empty collection.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Validator

        public Validator​(javax.annotation.processing.ProcessingEnvironment processingEnv)
    • Method Detail

      • validate

        public final java.util.Collection<ValidationMessage> validate​(MessageInterface messageInterface)
        Validates the message interface and returns a collection of validation messages or an empty collection.
        Parameters:
        messageInterface - the message interface to validate.
        Returns:
        a collection of validation messages or an empty collection.