package javax.xml.bind.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This annotation class is used to support the XSD 'annotation' * element in XML Schema files generated by JAXB RI. * * @author Waldemar Hummer (hummer@infosys.tuwien.ac.at) * @since JAXB-Facets version 0.4 */ @Target(value = { ElementType.FIELD, ElementType.METHOD, ElementType.TYPE, ElementType.PACKAGE }) @Retention(value = RetentionPolicy.RUNTIME) @Documented public @interface Annotation { String id() default ""; Attribute[] attributes() default {}; AppInfo[] appinfo() default {}; Documentation[] documentation() default {}; AnnotationLocation location() default AnnotationLocation.INSIDE_ELEMENT; }