Class FormatValidatorFactory
- java.lang.Object
-
- org.jboss.logging.processor.validation.FormatValidatorFactory
-
public final class FormatValidatorFactory extends java.lang.Object
Date: 12.08.2011
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
FormatValidatorFactory.InvalidFormatValidator
-
Constructor Summary
Constructors Modifier Constructor Description private
FormatValidatorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormatValidator
create(Message.Format format, java.lang.String message)
static FormatValidator
create(MessageMethod messageMethod)
-
-
-
Method Detail
-
create
public static FormatValidator create(MessageMethod messageMethod) throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
-
create
public static FormatValidator create(Message.Format format, java.lang.String message) throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
-
-