Skip to content

Commit 1dbf1ec

Browse files
committed
s/javax.xml.XMLConstants/XMLConstants
1 parent 58e8914 commit 1dbf1ec

File tree

1 file changed

+11
-11
lines changed
  • src/java.xml/share/classes/javax/xml/namespace

1 file changed

+11
-11
lines changed

src/java.xml/share/classes/javax/xml/namespace/QName.java

+11-11
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
* <strong><em>only</em></strong> the Namespace URI and local part.</p>
5151
*
5252
* <p>If not specified, the Namespace URI is set to {@link
53-
* javax.xml.XMLConstants#NULL_NS_URI XMLConstants.NULL_NS_URI}.
53+
* XMLConstants#NULL_NS_URI XMLConstants.NULL_NS_URI}.
5454
* If not specified, the prefix is set to {@link
55-
* javax.xml.XMLConstants#DEFAULT_NS_PREFIX
55+
* XMLConstants#DEFAULT_NS_PREFIX
5656
* XMLConstants.DEFAULT_NS_PREFIX}.</p>
5757
*
5858
* <p><code>QName</code> is immutable.</p>
@@ -89,13 +89,13 @@ public class QName implements Serializable {
8989
* and local part.</p>
9090
*
9191
* <p>If the Namespace URI is <code>null</code>, it is set to
92-
* {@link javax.xml.XMLConstants#NULL_NS_URI
92+
* {@link XMLConstants#NULL_NS_URI
9393
* XMLConstants.NULL_NS_URI}. This value represents no
9494
* explicitly defined Namespace as defined by the <a
9595
* href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">Namespaces
9696
* in XML</a> specification. This action preserves compatible
9797
* behavior with QName 1.0. Explicitly providing the {@link
98-
* javax.xml.XMLConstants#NULL_NS_URI
98+
* XMLConstants#NULL_NS_URI
9999
* XMLConstants.NULL_NS_URI} value is the preferred coding
100100
* style.</p>
101101
*
@@ -105,7 +105,7 @@ public class QName implements Serializable {
105105
* compatible behavior with QName 1.0. </p>
106106
*
107107
* <p>When using this constructor, the prefix is set to {@link
108-
* javax.xml.XMLConstants#DEFAULT_NS_PREFIX
108+
* XMLConstants#DEFAULT_NS_PREFIX
109109
* XMLConstants.DEFAULT_NS_PREFIX}.</p>
110110
*
111111
* <p>The Namespace URI is not validated as a
@@ -134,13 +134,13 @@ public QName(final String namespaceURI, final String localPart) {
134134
* local part and prefix.</p>
135135
*
136136
* <p>If the Namespace URI is <code>null</code>, it is set to
137-
* {@link javax.xml.XMLConstants#NULL_NS_URI
137+
* {@link XMLConstants#NULL_NS_URI
138138
* XMLConstants.NULL_NS_URI}. This value represents no
139139
* explicitly defined Namespace as defined by the <a
140140
* href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">Namespaces
141141
* in XML</a> specification. This action preserves compatible
142142
* behavior with QName 1.0. Explicitly providing the {@link
143-
* javax.xml.XMLConstants#NULL_NS_URI
143+
* XMLConstants#NULL_NS_URI
144144
* XMLConstants.NULL_NS_URI} value is the preferred coding
145145
* style.</p>
146146
*
@@ -151,7 +151,7 @@ public QName(final String namespaceURI, final String localPart) {
151151
*
152152
* <p>If the prefix is <code>null</code>, an
153153
* <code>IllegalArgumentException</code> is thrown. Use {@link
154-
* javax.xml.XMLConstants#DEFAULT_NS_PREFIX
154+
* XMLConstants#DEFAULT_NS_PREFIX
155155
* XMLConstants.DEFAULT_NS_PREFIX} to explicitly indicate that no
156156
* prefix is present or the prefix is not relevant.</p>
157157
*
@@ -204,9 +204,9 @@ public QName(String namespaceURI, String localPart, String prefix) {
204204
* compatible behavior with QName 1.0. </p>
205205
*
206206
* <p>When using this constructor, the Namespace URI is set to
207-
* {@link javax.xml.XMLConstants#NULL_NS_URI
207+
* {@link XMLConstants#NULL_NS_URI
208208
* XMLConstants.NULL_NS_URI} and the prefix is set to {@link
209-
* javax.xml.XMLConstants#DEFAULT_NS_PREFIX
209+
* XMLConstants#DEFAULT_NS_PREFIX
210210
* XMLConstants.DEFAULT_NS_PREFIX}.</p>
211211
*
212212
* <p><em>In an XML context, all Element and Attribute names exist
@@ -353,7 +353,7 @@ public String toString() {
353353
* {NamespaceURI}LocalPart
354354
* }</pre>
355355
* Since the {@code Prefix} is not represented in the string form, it will be
356-
* set to {@link javax.xml.XMLConstants#DEFAULT_NS_PREFIX XMLConstants.DEFAULT_NS_PREFIX}.
356+
* set to {@link XMLConstants#DEFAULT_NS_PREFIX XMLConstants.DEFAULT_NS_PREFIX}.
357357
*
358358
* @apiNote This method does not perform full validation of the resulting
359359
* {@code QName}. The {@code NamespaceURI} is not validated as a

0 commit comments

Comments
 (0)