You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2008/04/24 18:34:12 UTC

svn commit: r651309 [1/2] - in /servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind: ./ annotation/ annotation/adapters/ attachment/ helpers/ util/

Author: gnodet
Date: Thu Apr 24 09:33:34 2008
New Revision: 651309

URL: http://svn.apache.org/viewvc?rev=651309&view=rev
Log:
Add ASL headers, remove the idea creation comment, fix small incompatibilities with the spec

Modified:
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Binder.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ContextFinder.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/DatatypeConverter.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/DatatypeConverterInterface.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Element.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBContext.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBElement.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBException.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBIntrospector.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/MarshalException.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Marshaller.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/NotIdentifiableEvent.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ParseConversionEvent.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/PrintConversionEvent.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/PropertyException.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/SchemaOutputResolver.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/TypeConstraintException.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/UnmarshalException.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Unmarshaller.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/UnmarshallerHandler.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEvent.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEventHandler.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEventLocator.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationException.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Validator.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/DomHandler.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/W3CDomHandler.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessOrder.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessType.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessorOrder.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessorType.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAnyAttribute.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAnyElement.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttachmentRef.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttribute.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElement.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementDecl.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementRef.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementRefs.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementWrapper.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElements.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlEnum.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlEnumValue.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlID.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlIDREF.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlInlineBinaryData.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlList.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlMimeType.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlMixed.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlNs.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlNsForm.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlRegistry.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlRootElement.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchema.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchemaType.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchemaTypes.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlTransient.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlType.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlValue.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/CollapsedStringAdapter.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/HexBinaryAdapter.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/NormalizedStringAdapter.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlAdapter.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapters.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentMarshaller.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentUnmarshaller.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/AbstractMarshallerImpl.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/AbstractUnmarshallerImpl.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/DefaultValidationEventHandler.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/NotIdentifiableEventImpl.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ParseConversionEventImpl.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/PrintConversionEventImpl.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ValidationEventImpl.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ValidationEventLocatorImpl.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/JAXBResult.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/JAXBSource.java
    servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/ValidationEventCollector.java

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Binder.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Binder.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Binder.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Binder.java Thu Apr 24 09:33:34 2008
@@ -1,14 +1,26 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
 import javax.xml.validation.Schema;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:36:09 AM
- * To change this template use File | Settings | File Templates.
- */
 public abstract class Binder<XmlNode> {
 
     public abstract ValidationEventHandler getEventHandler() throws JAXBException;
@@ -19,7 +31,7 @@
 
     public abstract Schema getSchema();
 
-    public abstract XmlNode getXmlNode(Object jaxbObject);
+    public abstract XmlNode getXMLNode(Object jaxbObject);
 
     public abstract void marshal(Object jaxbObject, XmlNode xmlNode) throws JAXBException;
 

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ContextFinder.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ContextFinder.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ContextFinder.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ContextFinder.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
 import java.lang.reflect.InvocationTargetException;
@@ -145,8 +164,8 @@
             try {
                 Method m = spiClass.getMethod("createContext", new Class[] { String.class, ClassLoader.class, Map.class });
                 context = m.invoke(null, new Object[] { contextPath, classLoader, properties });
+            } catch(NoSuchMethodException e) { 
             }
-            catch(NoSuchMethodException e) { }
             if (context == null) {
                 Method m = spiClass.getMethod("createContext", new Class[] { String.class, ClassLoader.class });
                 context = m.invoke(null, new Object[] { contextPath, classLoader });
@@ -155,17 +174,17 @@
                 handleClassCastException(context.getClass(), JAXBContext.class);
             }
             return (JAXBContext)context;
-        } catch(InvocationTargetException x) {
-            handleInvocationTargetException(x);
-            Throwable e = x;
-            if (x.getTargetException() != null) {
-                e = x.getTargetException();
-            }
-            throw new JAXBException("Provider " + className + " coult not be instanciated: " + e, e);
-        } catch (RuntimeException x) {
-            throw x;
-        } catch (Exception x) {
-            throw new JAXBException("Provider " + className + " coult not be instanciated: " + x, x);
+        } catch (InvocationTargetException e) {
+            handleInvocationTargetException(e);
+            Throwable x = e;
+            if (e.getTargetException() != null) {
+                x = e.getTargetException();
+            }
+            throw new JAXBException("Provider " + className + " could not be instanciated: " + x, x);
+        } catch (RuntimeException e) {
+            throw e;
+        } catch (Exception e) {
+            throw new JAXBException("Provider " + className + " could not be instanciated: " + e, e);
         }
     }
 
@@ -180,12 +199,12 @@
         } catch (Throwable t) {
         }
         try {
-            if(cl != null) {
+            if (cl != null) {
                 spiClass = cl.loadClass(className);
             } else {
                 spiClass = Class.forName(className);
             }
-        } catch(ClassNotFoundException e) {
+        } catch (ClassNotFoundException e) {
             throw new JAXBException("Provider " + className + " not found", e);
         }
         return spiClass;
@@ -200,7 +219,7 @@
         Method m;
         try {
             m = spiClass.getMethod("createContext", new Class[] { Class[].class, Map.class });
-        } catch(NoSuchMethodException e) {
+        } catch (NoSuchMethodException e) {
             throw new JAXBException(e);
         }
         try {
@@ -209,12 +228,12 @@
                 handleClassCastException(context.getClass(), JAXBContext.class);
             }
             return (JAXBContext)context;
-        } catch(IllegalAccessException e) {
+        } catch (IllegalAccessException e) {
             throw new JAXBException(e);
-        } catch(InvocationTargetException e) {
+        } catch (InvocationTargetException e) {
             handleInvocationTargetException(e);
             Throwable x = e;
-            if(e.getTargetException() != null) {
+            if (e.getTargetException() != null) {
                 x = e.getTargetException();
             }
             throw new JAXBException(x);
@@ -236,7 +255,7 @@
                 props.load(is);
                 is.close();
             }
-        } catch(IOException ioe) {
+        } catch (IOException ioe) {
             throw new JAXBException(ioe.toString(), ioe);
         }
         return props;

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/DatatypeConverter.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/DatatypeConverter.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/DatatypeConverter.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/DatatypeConverter.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
 import java.util.Calendar;
@@ -7,14 +26,7 @@
 import javax.xml.namespace.QName;
 import javax.xml.namespace.NamespaceContext;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:24:01 AM
- * To change this template use File | Settings | File Templates.
- */
-public class DatatypeConverter {
+public final class DatatypeConverter {
 
     private static DatatypeConverterInterface converter = null;
 

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/DatatypeConverterInterface.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/DatatypeConverterInterface.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/DatatypeConverterInterface.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/DatatypeConverterInterface.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
 import java.util.Calendar;
@@ -7,13 +26,6 @@
 import javax.xml.namespace.QName;
 import javax.xml.namespace.NamespaceContext;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 8:47:04 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface DatatypeConverterInterface {
 
     String parseAnySimpleType(String lexicalXSDAnySimpleType);

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Element.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Element.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Element.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Element.java Thu Apr 24 09:33:34 2008
@@ -1,11 +1,23 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 8:46:33 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface Element {
 }

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBContext.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBContext.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBContext.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBContext.java Thu Apr 24 09:33:34 2008
@@ -1,17 +1,31 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
+import java.io.IOException;
+
 import java.util.Map;
 import java.util.Collections;
 
 import org.w3c.dom.Node;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:26:26 AM
- * To change this template use File | Settings | File Templates.
- */
 public abstract class JAXBContext {
 
     public static final String JAXB_CONTEXT_FACTORY = "javax.xml.bind.context.factory";
@@ -31,14 +45,14 @@
         throw new UnsupportedOperationException();
     }
 
-    public abstract Marshaller createMarshaller();
+    public abstract Marshaller createMarshaller() throws JAXBException;
 
-    public abstract Unmarshaller createUnmarshaller();
+    public abstract Unmarshaller createUnmarshaller() throws JAXBException;
 
     @Deprecated
-    public abstract Validator createValidator();
+    public abstract Validator createValidator() throws JAXBException;
 
-    public void generateSchema(SchemaOutputResolver resolver) {
+    public void generateSchema(SchemaOutputResolver resolver) throws IOException {
         throw new UnsupportedOperationException();
     }
 

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBElement.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBElement.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBElement.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBElement.java Thu Apr 24 09:33:34 2008
@@ -1,21 +1,33 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
 import java.io.Serializable;
 
 import javax.xml.namespace.QName;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 9:35:15 AM
- * To change this template use File | Settings | File Templates.
- */
 public class JAXBElement<T> implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
-    public static class GlobalScope {
+    public final static class GlobalScope {
     }
 
     protected final QName name;

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBException.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBException.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBException.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBException.java Thu Apr 24 09:33:34 2008
@@ -1,12 +1,28 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:07:57 AM
- * To change this template use File | Settings | File Templates.
- */
+import java.io.IOException;
+import java.io.PrintStream;
+import java.io.PrintWriter;
+
 public class JAXBException extends Exception {
 
     private static final long serialVersionUID = 0x5dd94775L;
@@ -52,6 +68,23 @@
         return linkedException != null ?
                 super.toString() + "\n - with linked exception:\n[" + linkedException.toString() + "]" : 
                 super.toString();
+    }
+
+    @Override
+    public Throwable getCause() {
+        return linkedException;
+    }
+
+    public void printStackTrace() {
+        super.printStackTrace();
+    }
+
+    public void printStackTrace(PrintStream ps) {
+        super.printStackTrace(ps);
+    }
+
+    public void printStackTrace(PrintWriter pw) {
+        super.printStackTrace(pw);
     }
 
 }

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBIntrospector.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBIntrospector.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBIntrospector.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/JAXBIntrospector.java Thu Apr 24 09:33:34 2008
@@ -1,14 +1,26 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
 import javax.xml.namespace.QName;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:43:40 AM
- * To change this template use File | Settings | File Templates.
- */
 public abstract class JAXBIntrospector {
 
     public abstract QName getElementName(Object jaxbElement);

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/MarshalException.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/MarshalException.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/MarshalException.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/MarshalException.java Thu Apr 24 09:33:34 2008
@@ -1,12 +1,24 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:20:29 AM
- * To change this template use File | Settings | File Templates.
- */
 public class MarshalException extends JAXBException {
 
     public MarshalException(String message) {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Marshaller.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Marshaller.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Marshaller.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Marshaller.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
 import java.io.OutputStream;
@@ -14,13 +33,6 @@
 
 import org.xml.sax.ContentHandler;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 9:03:51 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface Marshaller {
 
     String JAXB_ENCODING = "jaxb.encoding";
@@ -56,7 +68,7 @@
 
     void marshal(Object jaxbElement, OutputStream os) throws JAXBException;
 
-    void marshal(Object jaxbElement, Result result);
+    void marshal(Object jaxbElement, Result result) throws JAXBException;
 
     void marshal(Object jaxbElement, Writer writer) throws JAXBException;
 

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/NotIdentifiableEvent.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/NotIdentifiableEvent.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/NotIdentifiableEvent.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/NotIdentifiableEvent.java Thu Apr 24 09:33:34 2008
@@ -1,11 +1,23 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 9:25:46 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface NotIdentifiableEvent extends ValidationEvent {
 }

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ParseConversionEvent.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ParseConversionEvent.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ParseConversionEvent.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ParseConversionEvent.java Thu Apr 24 09:33:34 2008
@@ -1,11 +1,23 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 9:26:13 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface ParseConversionEvent extends ValidationEvent {
 }

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/PrintConversionEvent.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/PrintConversionEvent.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/PrintConversionEvent.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/PrintConversionEvent.java Thu Apr 24 09:33:34 2008
@@ -1,11 +1,23 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 9:26:32 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface PrintConversionEvent extends ValidationEvent {
 }

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/PropertyException.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/PropertyException.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/PropertyException.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/PropertyException.java Thu Apr 24 09:33:34 2008
@@ -1,12 +1,24 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:16:01 AM
- * To change this template use File | Settings | File Templates.
- */
 public class PropertyException extends JAXBException {
 
     public PropertyException(String message) {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/SchemaOutputResolver.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/SchemaOutputResolver.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/SchemaOutputResolver.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/SchemaOutputResolver.java Thu Apr 24 09:33:34 2008
@@ -1,16 +1,28 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
 import java.io.IOException;
 
 import javax.xml.transform.Result;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:45:25 AM
- * To change this template use File | Settings | File Templates.
- */
 public abstract class SchemaOutputResolver {
 
     public abstract Result createOutput(String namespaceUri, String suggestedFileName) throws IOException;

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/TypeConstraintException.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/TypeConstraintException.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/TypeConstraintException.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/TypeConstraintException.java Thu Apr 24 09:33:34 2008
@@ -1,12 +1,26 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:07:57 AM
- * To change this template use File | Settings | File Templates.
- */
+import java.io.PrintStream;
+
 public class TypeConstraintException extends RuntimeException {
 
     private String errorCode;
@@ -50,6 +64,14 @@
         return linkedException != null ?
                 super.toString() + "\n - with linked exception:\n[" + linkedException.toString() + "]" :
                 super.toString();
+    }
+
+    public void printStackTrace() {
+        super.printStackTrace();
+    }
+
+    public void printStackTrace(PrintStream ps) {
+        super.printStackTrace(ps);
     }
 
 }

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/UnmarshalException.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/UnmarshalException.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/UnmarshalException.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/UnmarshalException.java Thu Apr 24 09:33:34 2008
@@ -1,12 +1,24 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:22:55 AM
- * To change this template use File | Settings | File Templates.
- */
 public class UnmarshalException extends JAXBException {
 
     public UnmarshalException(String message) {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Unmarshaller.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Unmarshaller.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Unmarshaller.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Unmarshaller.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
 import java.io.File;
@@ -16,13 +35,6 @@
 
 import org.xml.sax.InputSource;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 9:26:48 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface Unmarshaller {
 
     abstract class Listener {
@@ -36,7 +48,7 @@
 
     AttachmentUnmarshaller getAttachmentUnmarshaller();
 
-    ValidationEventHandler getEventHandler();
+    ValidationEventHandler getEventHandler() throws JAXBException;
 
     Listener getListener();
 
@@ -46,6 +58,7 @@
 
     UnmarshallerHandler getUnmarshallerHandler();
 
+    @Deprecated
     boolean isValidating() throws JAXBException;
 
     <A extends XmlAdapter> void setAdapter(Class<A> type, A adapter);
@@ -62,7 +75,8 @@
 
     void setSchema(Schema schema);
 
-    void setValidating(boolean validating);
+    @Deprecated
+    void setValidating(boolean validating) throws JAXBException;
 
     Object unmarshal(File f) throws JAXBException;
 

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/UnmarshallerHandler.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/UnmarshallerHandler.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/UnmarshallerHandler.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/UnmarshallerHandler.java Thu Apr 24 09:33:34 2008
@@ -1,16 +1,28 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
 import org.xml.sax.ContentHandler;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:05:04 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface UnmarshallerHandler extends ContentHandler {
 
-    Object getResult();
+    Object getResult() throws JAXBException, IllegalStateException;
 
 }

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEvent.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEvent.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEvent.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEvent.java Thu Apr 24 09:33:34 2008
@@ -1,12 +1,24 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 8:52:15 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface ValidationEvent {
 
     int ERROR = 1;

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEventHandler.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEventHandler.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEventHandler.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEventHandler.java Thu Apr 24 09:33:34 2008
@@ -1,12 +1,24 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 8:51:47 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface ValidationEventHandler {
 
     boolean handleEvent(ValidationEvent event);

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEventLocator.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEventLocator.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEventLocator.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationEventLocator.java Thu Apr 24 09:33:34 2008
@@ -1,16 +1,28 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
 import java.net.URL;
 
 import org.w3c.dom.Node;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 8:53:24 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface ValidationEventLocator {
 
     int getColumnNumber();

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationException.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationException.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationException.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/ValidationException.java Thu Apr 24 09:33:34 2008
@@ -1,12 +1,24 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:23:28 AM
- * To change this template use File | Settings | File Templates.
- */
 public class ValidationException extends JAXBException {
 
     public ValidationException(String message) {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Validator.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Validator.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Validator.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/Validator.java Thu Apr 24 09:33:34 2008
@@ -1,23 +1,42 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:05:54 AM
- * To change this template use File | Settings | File Templates.
- */
+@Deprecated
 public interface Validator {
 
+    @Deprecated
     ValidationEventHandler getEventHandler() throws JAXBException;
 
+    @Deprecated
     Object getProperty(String name) throws PropertyException;
 
+    @Deprecated
     void setEventHandler(ValidationEventHandler handler) throws JAXBException;
 
+    @Deprecated
     void setProperty(String name, Object value) throws PropertyException;
 
+    @Deprecated
     boolean validate(Object subRoot) throws JAXBException;
 
+    @Deprecated
     boolean validateRoot(Object rootObj) throws JAXBException;
 }

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/DomHandler.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/DomHandler.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/DomHandler.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/DomHandler.java Thu Apr 24 09:33:34 2008
@@ -1,19 +1,31 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import javax.xml.transform.Result;
 import javax.xml.transform.Source;
 import javax.xml.bind.ValidationEventHandler;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 8:49:41 AM
- * To change this template use File | Settings | File Templates.
- */
 public interface DomHandler<ElementT, ResultT extends Result> {
 
-    ResultT createUnmarshaler(ValidationEventHandler errorHandler);
+    ResultT createUnmarshaller(ValidationEventHandler errorHandler);
 
     ElementT getElement(ResultT rt);
 

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/W3CDomHandler.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/W3CDomHandler.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/W3CDomHandler.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/W3CDomHandler.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import javax.xml.transform.dom.DOMResult;
@@ -11,13 +30,6 @@
 import org.w3c.dom.Node;
 import org.w3c.dom.DocumentFragment;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:47:25 AM
- * To change this template use File | Settings | File Templates.
- */
 public class W3CDomHandler implements DomHandler<Element, DOMResult> {
 
     private DocumentBuilder builder;
@@ -32,7 +44,7 @@
         this.builder = builder;
     }
 
-    public DOMResult createUnmarshaler(ValidationEventHandler errorHandler) {
+    public DOMResult createUnmarshaller(ValidationEventHandler errorHandler) {
         if (builder == null) {
             return new DOMResult();
         } else {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessOrder.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessOrder.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessOrder.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessOrder.java Thu Apr 24 09:33:34 2008
@@ -1,12 +1,24 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:00:58 AM
- * To change this template use File | Settings | File Templates.
- */
 public enum XmlAccessOrder {
 
     ALPHABETICAL,

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessType.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessType.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessType.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessType.java Thu Apr 24 09:33:34 2008
@@ -1,12 +1,24 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:01:23 AM
- * To change this template use File | Settings | File Templates.
- */
 public enum XmlAccessType {
 
     FIELD,

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessorOrder.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessorOrder.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessorOrder.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessorOrder.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Inherited;
@@ -6,13 +25,6 @@
 import java.lang.annotation.Target;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:02:25 AM
- * To change this template use File | Settings | File Templates.
- */
 @Inherited
 @Retention(RetentionPolicy.RUNTIME)
 @Target(value = {ElementType.PACKAGE, ElementType.TYPE})

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessorType.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessorType.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessorType.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAccessorType.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Retention;
@@ -5,13 +24,6 @@
 import java.lang.annotation.Target;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:04:19 AM
- * To change this template use File | Settings | File Templates.
- */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(value  = {ElementType.PACKAGE, ElementType.TYPE })
 public @interface XmlAccessorType {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAnyAttribute.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAnyAttribute.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAnyAttribute.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAnyAttribute.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Retention;
@@ -5,13 +24,6 @@
 import java.lang.annotation.Target;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:05:07 AM
- * To change this template use File | Settings | File Templates.
- */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(value  = {ElementType.FIELD, ElementType.METHOD })
 public @interface XmlAnyAttribute {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAnyElement.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAnyElement.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAnyElement.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAnyElement.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Retention;
@@ -5,13 +24,6 @@
 import java.lang.annotation.Target;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:05:30 AM
- * To change this template use File | Settings | File Templates.
- */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(value  = {ElementType.FIELD, ElementType.METHOD })
 public @interface XmlAnyElement {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttachmentRef.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttachmentRef.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttachmentRef.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttachmentRef.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Retention;
@@ -5,13 +24,6 @@
 import java.lang.annotation.Target;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:06:43 AM
- * To change this template use File | Settings | File Templates.
- */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(value  = {ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER })
 public @interface XmlAttachmentRef {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttribute.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttribute.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttribute.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttribute.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Retention;
@@ -5,13 +24,6 @@
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:07:29 AM
- * To change this template use File | Settings | File Templates.
- */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(value  = {ElementType.FIELD, ElementType.METHOD })
 public @interface XmlAttribute {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElement.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElement.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElement.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElement.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Retention;
@@ -5,18 +24,11 @@
 import java.lang.annotation.Target;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 10:56:39 AM
- * To change this template use File | Settings | File Templates.
- */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(value  = {ElementType.TYPE, ElementType.METHOD })
 public @interface XmlElement {
 
-    class DEFAULT {
+    final class DEFAULT {
     }
 
     String name() default "##default";

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementDecl.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementDecl.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementDecl.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementDecl.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Retention;
@@ -5,18 +24,11 @@
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:08:28 AM
- * To change this template use File | Settings | File Templates.
- */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(ElementType.METHOD)
 public @interface XmlElementDecl {
 
-    class GLOBAL {
+    final class GLOBAL {
     }
 
     String name();

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementRef.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementRef.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementRef.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementRef.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Retention;
@@ -5,18 +24,11 @@
 import java.lang.annotation.Target;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:11:11 AM
- * To change this template use File | Settings | File Templates.
- */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(value = {ElementType.FIELD, ElementType.METHOD})
 public @interface XmlElementRef {
 
-    class DEFAULT {
+    final class DEFAULT {
     }
 
     String name() default "##default";

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementRefs.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementRefs.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementRefs.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementRefs.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Retention;
@@ -5,13 +24,6 @@
 import java.lang.annotation.Target;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:13:23 AM
- * To change this template use File | Settings | File Templates.
- */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(value = {ElementType.FIELD, ElementType.METHOD})
 public @interface XmlElementRefs {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementWrapper.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementWrapper.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementWrapper.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElementWrapper.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Retention;
@@ -5,13 +24,6 @@
 import java.lang.annotation.Target;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:14:54 AM
- * To change this template use File | Settings | File Templates.
- */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(value = {ElementType.FIELD, ElementType.METHOD})
 public @interface XmlElementWrapper {

Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElements.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElements.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElements.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlElements.java Thu Apr 24 09:33:34 2008
@@ -1,3 +1,22 @@
+/*
+ **
+ ** Licensed to the Apache Software Foundation (ASF) under one
+ ** or more contributor license agreements.  See the NOTICE file
+ ** distributed with this work for additional information
+ ** regarding copyright ownership.  The ASF licenses this file
+ ** to you under the Apache License, Version 2.0 (the
+ ** "License"); you may not use this file except in compliance
+ ** with the License.  You may obtain a copy of the License at
+ **
+ **  http://www.apache.org/licenses/LICENSE-2.0
+ **
+ ** Unless required by applicable law or agreed to in writing,
+ ** software distributed under the License is distributed on an
+ ** "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ** KIND, either express or implied.  See the License for the
+ ** specific language governing permissions and limitations
+ ** under the License.
+ */
 package javax.xml.bind.annotation;
 
 import java.lang.annotation.Retention;
@@ -5,13 +24,6 @@
 import java.lang.annotation.Target;
 import java.lang.annotation.ElementType;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:14:29 AM
- * To change this template use File | Settings | File Templates.
- */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(value = {ElementType.FIELD, ElementType.METHOD})
 public @interface XmlElements {