equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2017, 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 |
86 * |
86 * |
87 * <p>When requesting a Namespace URI by prefix, the following |
87 * <p>When requesting a Namespace URI by prefix, the following |
88 * table describes the returned Namespace URI value for all |
88 * table describes the returned Namespace URI value for all |
89 * possible prefix values: |
89 * possible prefix values: |
90 * |
90 * |
91 * <table border="2" rules="all" cellpadding="4"> |
91 * <table class="striped"> |
|
92 * <caption>Return value for specified prefixes</caption> |
92 * <thead> |
93 * <thead> |
93 * <tr> |
94 * <tr> |
94 * <td align="center" colspan="2"> |
95 * <th>prefix parameter</th> |
95 * {@code getNamespaceURI(prefix)} |
96 * <th>Namespace URI return value</th> |
96 * return value for specified prefixes |
|
97 * </td> |
|
98 * </tr> |
|
99 * <tr> |
|
100 * <td>prefix parameter</td> |
|
101 * <td>Namespace URI return value</td> |
|
102 * </tr> |
97 * </tr> |
103 * </thead> |
98 * </thead> |
104 * <tbody> |
99 * <tbody> |
105 * <tr> |
100 * <tr> |
106 * <td>{@code DEFAULT_NS_PREFIX} ("")</td> |
101 * <td>{@code DEFAULT_NS_PREFIX} ("")</td> |
156 * |
151 * |
157 * <p>When requesting a prefix by Namespace URI, the following |
152 * <p>When requesting a prefix by Namespace URI, the following |
158 * table describes the returned prefix value for all Namespace URI |
153 * table describes the returned prefix value for all Namespace URI |
159 * values: |
154 * values: |
160 * |
155 * |
161 * <table border="2" rules="all" cellpadding="4"> |
156 * <table class="striped"> |
|
157 * <caption>Return value for specified Namespace URIs</caption> |
162 * <thead> |
158 * <thead> |
163 * <tr> |
|
164 * <th align="center" colspan="2"> |
|
165 * {@code getPrefix(namespaceURI)} return value for |
|
166 * specified Namespace URIs |
|
167 * </th> |
|
168 * </tr> |
|
169 * <tr> |
159 * <tr> |
170 * <th>Namespace URI parameter</th> |
160 * <th>Namespace URI parameter</th> |
171 * <th>prefix value returned</th> |
161 * <th>prefix value returned</th> |
172 * </tr> |
162 * </tr> |
173 * </thead> |
163 * </thead> |
228 * |
218 * |
229 * <p>When requesting prefixes by Namespace URI, the following |
219 * <p>When requesting prefixes by Namespace URI, the following |
230 * table describes the returned prefixes value for all Namespace |
220 * table describes the returned prefixes value for all Namespace |
231 * URI values: |
221 * URI values: |
232 * |
222 * |
233 * <table border="2" rules="all" cellpadding="4"> |
223 * <table class="striped"> |
|
224 * <caption>Return value for specified Namespace URIs</caption> |
234 * <thead> |
225 * <thead> |
235 * <tr> |
|
236 * <th align="center" colspan="2">{@code |
|
237 * getPrefixes(namespaceURI)} return value for |
|
238 * specified Namespace URIs</th> |
|
239 * </tr> |
|
240 * <tr> |
226 * <tr> |
241 * <th>Namespace URI parameter</th> |
227 * <th>Namespace URI parameter</th> |
242 * <th>prefixes value returned</th> |
228 * <th>prefixes value returned</th> |
243 * </tr> |
229 * </tr> |
244 * </thead> |
230 * </thead> |