equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
33 * <p><code>QName</code> represents a <strong>qualified name</strong> |
33 * <p><code>QName</code> represents a <strong>qualified name</strong> |
34 * as defined in the XML specifications: <a |
34 * as defined in the XML specifications: <a |
35 * href="http://www.w3.org/TR/xmlschema-2/#QName">XML Schema Part2: |
35 * href="http://www.w3.org/TR/xmlschema-2/#QName">XML Schema Part2: |
36 * Datatypes specification</a>, <a |
36 * Datatypes specification</a>, <a |
37 * href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">Namespaces |
37 * href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">Namespaces |
38 * in XML</a>, <a |
38 * in XML</a>. |
39 * href="http://www.w3.org/XML/xml-names-19990114-errata">Namespaces |
|
40 * in XML Errata</a>.</p> |
|
41 * |
39 * |
42 * <p>The value of a <code>QName</code> contains a <strong>Namespace |
40 * <p>The value of a <code>QName</code> contains a <strong>Namespace |
43 * URI</strong>, <strong>local part</strong> and |
41 * URI</strong>, <strong>local part</strong> and |
44 * <strong>prefix</strong>.</p> |
42 * <strong>prefix</strong>.</p> |
45 * |
43 * |
62 * @author Jeff Suttor |
60 * @author Jeff Suttor |
63 * @see <a href="http://www.w3.org/TR/xmlschema-2/#QName"> |
61 * @see <a href="http://www.w3.org/TR/xmlschema-2/#QName"> |
64 * XML Schema Part2: Datatypes specification</a> |
62 * XML Schema Part2: Datatypes specification</a> |
65 * @see <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames"> |
63 * @see <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames"> |
66 * Namespaces in XML</a> |
64 * Namespaces in XML</a> |
67 * @see <a href="http://www.w3.org/XML/xml-names-19990114-errata"> |
|
68 * Namespaces in XML Errata</a> |
|
69 * @since 1.5 |
65 * @since 1.5 |
70 */ |
66 */ |
71 |
67 |
72 public class QName implements Serializable { |
68 public class QName implements Serializable { |
73 // tests show that the ID is the same from JDK 1.5 through JDK 9 |
69 // tests show that the ID is the same from JDK 1.5 through JDK 9 |