1 5 package javax.xml.bind.annotation; 6 7 import java.lang.annotation.Retention ; 8 import java.lang.annotation.Target ; 9 10 import static java.lang.annotation.ElementType.FIELD ; 11 import static java.lang.annotation.ElementType.METHOD ; 12 import static java.lang.annotation.ElementType.PACKAGE ; 13 import static java.lang.annotation.RetentionPolicy.RUNTIME ; 14 15 67 68 @Retention (RUNTIME) @Target ({FIELD,METHOD,PACKAGE}) 69 public @interface XmlSchemaType { 70 String name(); 71 String namespace() default "http://www.w3.org/2001/XMLSchema"; 72 76 77 Class type() default DEFAULT.class; 78 79 84 85 static final class DEFAULT {} 86 87 } 88 89 90 91 | Popular Tags |