1 package javax.xml.bind.annotation; 2 3 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 4 import static java.lang.annotation.RetentionPolicy.RUNTIME ; 5 import static java.lang.annotation.ElementType.FIELD ; 6 import static java.lang.annotation.ElementType.METHOD ; 7 import java.lang.annotation.Retention ; 8 import java.lang.annotation.Target ; 9 10 68 69 @Retention (RUNTIME) @Target ({FIELD, METHOD}) 70 public @interface XmlElementWrapper { 71 75 String name() default "##default"; 76 77 94 String namespace() default "##default"; 95 96 101 boolean nillable() default false; 102 103 119 boolean required() default false; 120 } 121 | Popular Tags |