summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/uic/barcode/asn1/datatypes/RestrictedString.java
blob: 7539aed67a16102f9ada9c2d8a97f9d5f8bfd0af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.uic.barcode.asn1.datatypes;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RestrictedString {
    CharacterRestriction value();
    Class<? extends Alphabet> alphabet() default DefaultAlphabet.class;
}