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 [2/2] - in
/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind: ./
annotation/ annotation/adapters/ attachment/ helpers/ util/
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlEnum.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlEnum.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlEnum.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlEnum.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:15:49 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface XmlEnum {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlEnumValue.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlEnumValue.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlEnumValue.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlEnumValue.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:16:24 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface XmlEnumValue {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlID.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlID.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlID.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlID.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:16:50 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD, ElementType.METHOD})
public @interface XmlID {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlIDREF.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlIDREF.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlIDREF.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlIDREF.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:17:08 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD, ElementType.METHOD})
public @interface XmlIDREF {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlInlineBinaryData.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlInlineBinaryData.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlInlineBinaryData.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlInlineBinaryData.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:17:34 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
public @interface XmlInlineBinaryData {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlList.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlList.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlList.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlList.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:18:05 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
public @interface XmlList {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlMimeType.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlMimeType.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlMimeType.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlMimeType.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:18:29 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
public @interface XmlMimeType {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlMixed.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlMixed.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlMixed.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlMixed.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:19:00 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD, ElementType.METHOD})
public @interface XmlMixed {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlNs.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlNs.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlNs.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlNs.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:19:17 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {})
public @interface XmlNs {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlNsForm.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlNsForm.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlNsForm.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlNsForm.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:53 AM
- * To change this template use File | Settings | File Templates.
- */
public enum XmlNsForm {
UNQUALIFIED,
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlRegistry.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlRegistry.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlRegistry.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlRegistry.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:20:00 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface XmlRegistry {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlRootElement.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlRootElement.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlRootElement.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlRootElement.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:20:25 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface XmlRootElement {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchema.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchema.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchema.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchema.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:21:08 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PACKAGE)
public @interface XmlSchema {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchemaType.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchemaType.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchemaType.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchemaType.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:22:32 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD, ElementType.METHOD, ElementType.PACKAGE})
public @interface XmlSchemaType {
- class DEFAULT {
+ final class DEFAULT {
}
String name();
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchemaTypes.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchemaTypes.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchemaTypes.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlSchemaTypes.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:23:36 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PACKAGE)
public @interface XmlSchemaTypes {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlTransient.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlTransient.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlTransient.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlTransient.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:24:11 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD, ElementType.METHOD})
public @interface XmlTransient {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlType.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlType.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlType.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlType.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:24:30 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface XmlType {
- class DEFAULT {
+ final class DEFAULT {
}
Class factoryClass() default DEFAULT.class;
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlValue.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlValue.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlValue.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlValue.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:26:14 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD, ElementType.METHOD})
public @interface XmlValue {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/CollapsedStringAdapter.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/CollapsedStringAdapter.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/CollapsedStringAdapter.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/CollapsedStringAdapter.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.adapters;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 12:08:08 PM
- * To change this template use File | Settings | File Templates.
- */
public class CollapsedStringAdapter extends XmlAdapter<String, String> {
public String marshal(String v) {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/HexBinaryAdapter.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/HexBinaryAdapter.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/HexBinaryAdapter.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/HexBinaryAdapter.java Thu Apr 24 09:33:34 2008
@@ -1,15 +1,27 @@
+/*
+ **
+ ** 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.adapters;
import javax.xml.bind.DatatypeConverter;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:38:25 AM
- * To change this template use File | Settings | File Templates.
- */
-public class HexBinaryAdapter extends XmlAdapter<String, byte[]> {
+public final class HexBinaryAdapter extends XmlAdapter<String, byte[]> {
public String marshal(byte[] v) {
return DatatypeConverter.printHexBinary(v);
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/NormalizedStringAdapter.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/NormalizedStringAdapter.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/NormalizedStringAdapter.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/NormalizedStringAdapter.java Thu Apr 24 09:33:34 2008
@@ -1,13 +1,25 @@
+/*
+ **
+ ** 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.adapters;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 11:28:50 AM
- * To change this template use File | Settings | File Templates.
- */
-public class NormalizedStringAdapter extends XmlAdapter<String, String> {
+public final class NormalizedStringAdapter extends XmlAdapter<String, String> {
public String marshal(String v) {
return v;
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlAdapter.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlAdapter.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlAdapter.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlAdapter.java Thu Apr 24 09:33:34 2008
@@ -1,18 +1,30 @@
+/*
+ **
+ ** 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.adapters;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 9:10:25 AM
- * To change this template use File | Settings | File Templates.
- */
public abstract class XmlAdapter<ValueType, BoundType> {
protected XmlAdapter() {
}
- public abstract ValueType marshal(BoundType v);
+ public abstract ValueType marshal(BoundType v) throws Exception;
- public abstract BoundType unmarshal(ValueType v);
+ public abstract BoundType unmarshal(ValueType v) throws Exception;
}
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.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.adapters;
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:26:54 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.PACKAGE, ElementType.FIELD, ElementType.METHOD, ElementType.TYPE, ElementType.PARAMETER})
public @interface XmlJavaTypeAdapter {
- class DEFAULT {
+ final class DEFAULT {
}
Class<? extends XmlAdapter> value();
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapters.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapters.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapters.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapters.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.adapters;
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:28:17 AM
- * To change this template use File | Settings | File Templates.
- */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.PACKAGE})
public @interface XmlJavaTypeAdapters {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentMarshaller.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentMarshaller.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentMarshaller.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentMarshaller.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.attachment;
import javax.activation.DataHandler;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 9:18:43 AM
- * To change this template use File | Settings | File Templates.
- */
public abstract class AttachmentMarshaller {
public abstract String addMtomAttachment(byte[] data, int offset, int length, String mimeType, String elementNamespace, String elementLocalName);
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentUnmarshaller.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentUnmarshaller.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentUnmarshaller.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentUnmarshaller.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.attachment;
import javax.activation.DataHandler;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 9:23:53 AM
- * To change this template use File | Settings | File Templates.
- */
public abstract class AttachmentUnmarshaller {
public abstract byte[] getAttachmentAsByteArray(String cid);
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/AbstractMarshallerImpl.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/AbstractMarshallerImpl.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/AbstractMarshallerImpl.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/AbstractMarshallerImpl.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.helpers;
import java.io.OutputStream;
@@ -22,13 +41,6 @@
import org.xml.sax.ContentHandler;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 12:11:11 PM
- * To change this template use File | Settings | File Templates.
- */
public abstract class AbstractMarshallerImpl implements Marshaller {
static String aliases[] = {
@@ -135,14 +147,14 @@
protected String getJavaEncoding(String encoding) throws UnsupportedEncodingException {
try {
- "1".getBytes(encoding);
+ "dummy".getBytes(encoding);
return encoding;
}
catch (UnsupportedEncodingException e) {
}
for (int i = 0; i < aliases.length; i += 2) {
if (encoding.equals(aliases[i])) {
- "1".getBytes(aliases[i + 1]);
+ "dummy".getBytes(aliases[i + 1]);
return aliases[i + 1];
}
}
@@ -246,14 +258,14 @@
if (adapter == null) {
throw new IllegalArgumentException();
}
- setAdapter(adapter.getClass(), adapter);
+ setAdapter((Class<XmlAdapter>) adapter.getClass(), adapter);
}
- public void setAdapter(Class type, XmlAdapter adapter) {
+ public <A extends XmlAdapter> void setAdapter(Class<A> type, A adapter) {
throw new UnsupportedOperationException();
}
- public XmlAdapter getAdapter(Class type) {
+ public <A extends XmlAdapter> A getAdapter(Class<A> type) {
throw new UnsupportedOperationException();
}
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/AbstractUnmarshallerImpl.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/AbstractUnmarshallerImpl.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/AbstractUnmarshallerImpl.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/AbstractUnmarshallerImpl.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.helpers;
import java.io.File;
@@ -31,13 +50,6 @@
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 12:36:46 PM
- * To change this template use File | Settings | File Templates.
- */
public abstract class AbstractUnmarshallerImpl implements Unmarshaller {
protected boolean validating;
@@ -81,7 +93,7 @@
throw new UnsupportedOperationException();
}
- public ValidationEventHandler getEventHandler() {
+ public ValidationEventHandler getEventHandler() throws JAXBException {
return eventHandler;
}
@@ -100,10 +112,6 @@
throw new UnsupportedOperationException();
}
- public UnmarshallerHandler getUnmarshallerHandler() {
- throw new UnsupportedOperationException();
- }
-
public boolean isValidating() throws JAXBException {
return validating;
}
@@ -145,11 +153,11 @@
throw new UnsupportedOperationException();
}
- public void setValidating(boolean validating) {
+ public void setValidating(boolean validating) throws JAXBException {
this.validating = validating;
}
- public Object unmarshal(File file) throws JAXBException {
+ public final Object unmarshal(File file) throws JAXBException {
if (file == null) {
throw new IllegalArgumentException("file must not be null");
}
@@ -172,14 +180,14 @@
}
}
- public Object unmarshal(InputSource source) throws JAXBException {
+ public final Object unmarshal(InputSource source) throws JAXBException {
if (source == null) {
throw new IllegalArgumentException("source must not be null");
}
return unmarshal(getXMLReader(), source);
}
- public Object unmarshal(InputStream is) throws JAXBException {
+ public final Object unmarshal(InputStream is) throws JAXBException {
if (reader == null) {
throw new IllegalArgumentException("is must not be null");
}
@@ -190,7 +198,7 @@
throw new UnsupportedOperationException();
}
- public Object unmarshal(Reader reader) throws JAXBException {
+ public final Object unmarshal(Reader reader) throws JAXBException {
if (reader == null) {
throw new IllegalArgumentException("reader must not be null");
}
@@ -226,7 +234,7 @@
throw new UnsupportedOperationException();
}
- public Object unmarshal(URL url) throws JAXBException {
+ public final Object unmarshal(URL url) throws JAXBException {
if(url == null) {
throw new IllegalArgumentException("url must not be null");
}
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/DefaultValidationEventHandler.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/DefaultValidationEventHandler.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/DefaultValidationEventHandler.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/DefaultValidationEventHandler.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.helpers;
import java.net.URL;
@@ -8,13 +27,6 @@
import org.w3c.dom.Node;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 12:23:24 PM
- * To change this template use File | Settings | File Templates.
- */
public class DefaultValidationEventHandler implements ValidationEventHandler {
public boolean handleEvent(ValidationEvent event) {
@@ -24,17 +36,17 @@
String severity = null;
boolean retVal = false;
switch(event.getSeverity()) {
- case ValidationEvent.WARNING: // '\0'
+ case ValidationEvent.WARNING:
severity = "[WARNING]: ";
retVal = true;
break;
- case ValidationEvent.ERROR: // '\001'
+ case ValidationEvent.ERROR:
severity = "[ERROR]: ";
retVal = false;
break;
- case ValidationEvent.FATAL_ERROR: // '\002'
+ case ValidationEvent.FATAL_ERROR:
severity = "[FATAL_ERROR]: ";
retVal = false;
break;
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/NotIdentifiableEventImpl.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/NotIdentifiableEventImpl.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/NotIdentifiableEventImpl.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/NotIdentifiableEventImpl.java Thu Apr 24 09:33:34 2008
@@ -1,15 +1,27 @@
+/*
+ **
+ ** 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.helpers;
import javax.xml.bind.NotIdentifiableEvent;
import javax.xml.bind.ValidationEventLocator;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 1:20:52 PM
- * To change this template use File | Settings | File Templates.
- */
public class NotIdentifiableEventImpl extends ValidationEventImpl implements NotIdentifiableEvent {
public NotIdentifiableEventImpl(int severity, String message, ValidationEventLocator locator) {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ParseConversionEventImpl.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ParseConversionEventImpl.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ParseConversionEventImpl.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ParseConversionEventImpl.java Thu Apr 24 09:33:34 2008
@@ -1,15 +1,27 @@
+/*
+ **
+ ** 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.helpers;
import javax.xml.bind.ParseConversionEvent;
import javax.xml.bind.ValidationEventLocator;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 1:21:45 PM
- * To change this template use File | Settings | File Templates.
- */
public class ParseConversionEventImpl extends ValidationEventImpl implements ParseConversionEvent {
public ParseConversionEventImpl(int severity, String message, ValidationEventLocator locator) {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/PrintConversionEventImpl.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/PrintConversionEventImpl.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/PrintConversionEventImpl.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/PrintConversionEventImpl.java Thu Apr 24 09:33:34 2008
@@ -1,15 +1,27 @@
+/*
+ **
+ ** 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.helpers;
import javax.xml.bind.PrintConversionEvent;
import javax.xml.bind.ValidationEventLocator;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 1:22:17 PM
- * To change this template use File | Settings | File Templates.
- */
public class PrintConversionEventImpl extends ValidationEventImpl implements PrintConversionEvent {
public PrintConversionEventImpl(int severity, String message, ValidationEventLocator locator) {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ValidationEventImpl.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ValidationEventImpl.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ValidationEventImpl.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ValidationEventImpl.java Thu Apr 24 09:33:34 2008
@@ -1,15 +1,27 @@
+/*
+ **
+ ** 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.helpers;
import javax.xml.bind.ValidationEvent;
import javax.xml.bind.ValidationEventLocator;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 1:15:49 PM
- * To change this template use File | Settings | File Templates.
- */
public class ValidationEventImpl implements ValidationEvent {
private int severity;
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ValidationEventLocatorImpl.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ValidationEventLocatorImpl.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ValidationEventLocatorImpl.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/helpers/ValidationEventLocatorImpl.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.helpers;
import java.net.URL;
@@ -10,13 +29,6 @@
import org.xml.sax.SAXParseException;
import org.xml.sax.Locator;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 1:22:54 PM
- * To change this template use File | Settings | File Templates.
- */
public class ValidationEventLocatorImpl implements ValidationEventLocator {
private URL url;
@@ -74,8 +86,8 @@
return url;
}
- public void setURL(URL _url) {
- url = _url;
+ public void setURL(URL url) {
+ this.url = url;
}
public int getOffset() {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/JAXBResult.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/JAXBResult.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/JAXBResult.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/JAXBResult.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.util;
import javax.xml.transform.Result;
@@ -7,13 +26,6 @@
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 1:31:11 PM
- * To change this template use File | Settings | File Templates.
- */
public class JAXBResult extends SAXResult {
private final UnmarshallerHandler unmarshallerHandler;
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/JAXBSource.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/JAXBSource.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/JAXBSource.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/JAXBSource.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.util;
import javax.xml.transform.Source;
@@ -18,13 +37,6 @@
import org.xml.sax.helpers.XMLFilterImpl;
import org.xml.sax.ext.LexicalHandler;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 1:31:38 PM
- * To change this template use File | Settings | File Templates.
- */
public class JAXBSource extends SAXSource {
public JAXBSource(JAXBContext context, Object contentObject) throws JAXBException {
Modified: servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/ValidationEventCollector.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/ValidationEventCollector.java?rev=651309&r1=651308&r2=651309&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/ValidationEventCollector.java (original)
+++ servicemix/smx4/specs/trunk/jaxb-api/src/main/java/javax/xml/bind/util/ValidationEventCollector.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.util;
import java.util.ArrayList;
@@ -5,13 +24,6 @@
import javax.xml.bind.ValidationEventHandler;
import javax.xml.bind.ValidationEvent;
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Apr 17, 2008
- * Time: 1:31:52 PM
- * To change this template use File | Settings | File Templates.
- */
public class ValidationEventCollector implements ValidationEventHandler {
private ArrayList<ValidationEvent> events = new ArrayList<ValidationEvent>();