1 5 6 package javax.xml.bind.annotation; 7 8 import java.lang.annotation.Retention ; 9 import java.lang.annotation.Target ; 10 11 import static java.lang.annotation.ElementType .*; 12 import static java.lang.annotation.RetentionPolicy .*; 13 14 108 109 @Retention (RUNTIME) @Target ({FIELD, METHOD}) 110 public @interface XmlAttribute { 111 116 String name() default "##default"; 117 118 125 boolean required() default false; 126 127 132 String namespace() default "##default" ; 133 } 134 | Popular Tags |