Top Description Inners Methods
javax.annotation

public @Interface RegEx

extends Annotation
Annotations
@Documented
@Syntax:RegEx
@TypeQualifierNickname
@Retention:RUNTIME
Imports
java.lang.annotation.Documented, .Retention, .RetentionPolicy, java.util.regex.Pattern, .PatternSyntaxException, javax.annotation.meta.TypeQualifierNickname, .TypeQualifierValidator, .When

This qualifier is used to denote String values that should be a Regular expression.

When this annotation is applied to a method it applies to the method return value.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Method Summary

Modifier and TypeMethod and Description
public When
when()

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

whenback to summary
public When when()
javax.annotation back to summary

public Class RegEx.Checker

extends Object
implements TypeQualifierValidator<RegEx>
Class Inheritance
All Implemented Interfaces
javax.annotation.meta.TypeQualifierValidator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public When
forConstantValue(RegEx
the type qualifier
annotation
,
Object
the value to check
value
)

Implements javax.annotation.meta.TypeQualifierValidator.forConstantValue.

Given a type qualifier, check to see if a known specific constant value is an instance of the set of values denoted by the qualifier.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Checkerback to summary
public Checker()

Method Detail

forConstantValueback to summary
public When forConstantValue(RegEx annotation, Object value)

Implements javax.annotation.meta.TypeQualifierValidator.forConstantValue.

Doc from javax.annotation.meta.TypeQualifierValidator.forConstantValue.

Given a type qualifier, check to see if a known specific constant value is an instance of the set of values denoted by the qualifier.

Parameters
annotation:RegEx

the type qualifier

value:Object

the value to check

Returns:When

a value indicating whether or not the value is an member of the values denoted by the type qualifier