Unverified Commit 09a4e905 authored by Thibault Vallin's avatar Thibault Vallin Committed by GitHub
Browse files

Rename package from javax to jakarta (#125)


* Rename package from javax to jakarta
Signed-off-by: default avatartvallin <thibault.vallin@oracle.com>
parent 53e61ae7
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,9 +8,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
......@@ -58,7 +58,7 @@ import static java.lang.annotation.ElementType.METHOD;
* <ul>
* <li> If the collection item type (for collection property) or
* property type (for single valued property) is
* {@link javax.xml.bind.JAXBElement}, then
* {@link jakarta.xml.bind.JAXBElement}, then
* {@code @XmlElementRef.name()} and {@code @XmlElementRef.namespace()} must
* point an element factory method with an @XmlElementDecl
* annotation in a class annotated with @XmlRegistry (usually
......@@ -70,13 +70,13 @@ import static java.lang.annotation.ElementType.METHOD;
* </li>
* <li> If the collection item type (for collection property) or
* property type (for single valued property) is not
* {@link javax.xml.bind.JAXBElement}, then the type referenced by the
* {@link jakarta.xml.bind.JAXBElement}, then the type referenced by the
* property or field must be annotated with {@link XmlRootElement}. </li>
* <li> This annotation can be used with the following annotations:
* {@link XmlElementWrapper}, {@link XmlJavaTypeAdapter}.
* </ul>
*
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information.</p>
*
* <p><b>Example 1: Ant Task Example</b></p>
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,9 +8,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;
......
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,9 +8,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
......@@ -64,7 +64,7 @@ import java.lang.annotation.Target;
* {@link XmlJavaTypeAdapter}.</li>
* </ul>
*
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information.</p>
*
* @author <ul><li>Kohsuke Kawaguchi, Sun Microsystems, Inc.</li><li>Sekhar Vajjhala, Sun Microsystems, Inc.</li></ul>
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,9 +8,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
......@@ -50,7 +50,7 @@ import java.lang.annotation.Target;
* property annotated with {@code @XmlID}.</li>
* </ul>
*
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information.</p>
*
* <hr>
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import static java.lang.annotation.ElementType.TYPE;
import java.lang.annotation.Retention;
......@@ -36,7 +36,7 @@ import java.lang.annotation.Target;
* {@link XmlType},
* {@link XmlRootElement} </li>
* </ul>
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information </p>
*
* <p>An enum type is mapped to a schema simple type with enumeration
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
......@@ -26,7 +26,7 @@ import static java.lang.annotation.ElementType.FIELD;
* <li>enum constant</li>
* </ul>
*
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information.</p>
*
* <p>This annotation, together with {@link XmlEnum} provides a
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Target;
import java.lang.annotation.Retention;
......@@ -35,7 +35,7 @@ import static java.lang.annotation.RetentionPolicy.*;
* <li> non static, non transient field </li>
* </ul>
*
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information.</p>
*
* The usage is subject to the following constraints:
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Target;
import java.lang.annotation.Retention;
......@@ -35,7 +35,7 @@ import static java.lang.annotation.RetentionPolicy.*;
* <li> non static, non transient field </li>
* </ul>
*
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information.</p>
*
* <p> The usage is subject to the following constraints:
......
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
......@@ -18,7 +18,7 @@ import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import javax.xml.transform.Source;
import javax.xml.bind.attachment.AttachmentMarshaller;
import jakarta.xml.bind.attachment.AttachmentMarshaller;
import javax.activation.DataHandler;
/**
......
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
......
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
......
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
......@@ -18,7 +18,7 @@ import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import org.w3c.dom.Element;
import javax.xml.bind.JAXBElement;
import jakarta.xml.bind.JAXBElement;
/**
* <p>
......@@ -107,7 +107,7 @@ import javax.xml.bind.JAXBElement;
* gcl.add("shipped from our warehouse"); // add text information item
* }</pre>
*
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information.</p>
* @author Kohsuke Kawaguchi
* @since 1.6, JAXB 2.0
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
......@@ -22,7 +22,7 @@ import java.lang.annotation.Target;
* <p>{@code @XmlNs} annotation is intended for use from other
* program annotations.
*
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information.</p>
*
* <p><b>Example:</b>See {@code XmlSchema} annotation type for an example.
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,12 +8,12 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
/**
* Enumeration of XML Schema namespace qualifications.
*
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information.</p>
*
* <p><b>Usage</b>
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
......@@ -28,7 +28,7 @@ import static java.lang.annotation.ElementType.TYPE;
* <li> an enum type </li>
* </ul>
*
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information.</p>
*
* <p>
......
/*
* Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
......@@ -45,7 +45,7 @@ import static java.lang.annotation.RetentionPolicy.*;
* package is mapped.</p>
*
* <pre>
* &#64;javax.xml.bind.annotation.XmlSchema (
* &#64;jakarta.xml.bind.annotation.XmlSchema (
* namespace = "http://www.example.com/MYPO1"
* )
* {@code
......@@ -65,12 +65,12 @@ import static java.lang.annotation.RetentionPolicy.*;
*
* <pre>
* // Package level annotation
* &#64;javax.xml.bind.annotation.XmlSchema (
* &#64;jakarta.xml.bind.annotation.XmlSchema (
* xmlns = {
* &#64;javax.xml.bind.annotation.XmlNs(prefix = "po",
* &#64;jakarta.xml.bind.annotation.XmlNs(prefix = "po",
* namespaceURI="http://www.example.com/myPO1"),
*
* &#64;javax.xml.bind.annotation.XmlNs(prefix="xs",
* &#64;jakarta.xml.bind.annotation.XmlNs(prefix="xs",
* namespaceURI="http://www.w3.org/2001/XMLSchema")
* }
* )
......@@ -86,7 +86,7 @@ import static java.lang.annotation.RetentionPolicy.*;
*
* <p><b>Example 3:</b> Customize elementFormDefault</p>
* <pre>
* &#64;javax.xml.bind.annotation.XmlSchema (
* &#64;jakarta.xml.bind.annotation.XmlSchema (
* elementFormDefault=XmlNsForm.UNQUALIFIED
* ...
* )
......
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
......@@ -64,7 +64,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* level </p>
* <pre>
* package foo;
* &#64;javax.xml.bind.annotation.XmlSchemaType(
* &#64;jakarta.xml.bind.annotation.XmlSchemaType(
* name="date", type=javax.xml.datatype.XMLGregorianCalendar.class)
* }
* </pre>
......
/*
* Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
......@@ -8,7 +8,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
package javax.xml.bind.annotation;
package jakarta.xml.bind.annotation;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static java.lang.annotation.ElementType.PACKAGE;
......@@ -30,7 +30,7 @@ import java.lang.annotation.Target;
* define {@link XmlSchemaType} for different types at the
* package level.
*
* <p>See "Package Specification" in javax.xml.bind.package javadoc for
* <p>See "Package Specification" in jakarta.xml.bind.package javadoc for
* additional common information.</p>
*
* @author <ul><li>Sekhar Vajjhala, Sun Microsystems, Inc.</li></ul>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment