geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r932187 - in /geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind: JAXBPermission.java annotation/XmlElement.java annotation/XmlElementRef.java
Date Fri, 09 Apr 2010 00:24:27 GMT
Author: gawor
Date: Fri Apr  9 00:24:27 2010
New Revision: 932187

URL: http://svn.apache.org/viewvc?rev=932187&view=rev
Log:
some spec updates

Modified:
    geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/JAXBPermission.java
    geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/annotation/XmlElement.java
    geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/annotation/XmlElementRef.java

Modified: geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/JAXBPermission.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/JAXBPermission.java?rev=932187&r1=932186&r2=932187&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/JAXBPermission.java
(original)
+++ geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/JAXBPermission.java
Fri Apr  9 00:24:27 2010
@@ -18,7 +18,7 @@ package javax.xml.bind;
 
 import java.security.BasicPermission;
 
-public class JAXBPermission extends BasicPermission {
+public final class JAXBPermission extends BasicPermission {
 
     private static final long serialVersionUID = 1L;
     

Modified: geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/annotation/XmlElement.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/annotation/XmlElement.java?rev=932187&r1=932186&r2=932187&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/annotation/XmlElement.java
(original)
+++ geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/annotation/XmlElement.java
Fri Apr  9 00:24:27 2010
@@ -22,7 +22,7 @@ import java.lang.annotation.Target;
 import java.lang.annotation.ElementType;
 
 @Retention(RetentionPolicy.RUNTIME)
-@Target(value  = {ElementType.FIELD, ElementType.METHOD })
+@Target(value  = {ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
 public @interface XmlElement {
 
     final class DEFAULT {

Modified: geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/annotation/XmlElementRef.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/annotation/XmlElementRef.java?rev=932187&r1=932186&r2=932187&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/annotation/XmlElementRef.java
(original)
+++ geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/annotation/XmlElementRef.java
Fri Apr  9 00:24:27 2010
@@ -34,4 +34,5 @@ public @interface XmlElementRef {
 
     Class type() default DEFAULT.class;
 
+    boolean required() default true;
 }



Mime
View raw message