equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2016, 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 |
32 /** |
32 /** |
33 * {@code XPath} provides access to the XPath evaluation environment and expressions. |
33 * {@code XPath} provides access to the XPath evaluation environment and expressions. |
34 * |
34 * |
35 * <a name="XPath-evaluation"></a> |
35 * <a name="XPath-evaluation"></a> |
36 * <table border="1" cellpadding="2"> |
36 * <table border="1" cellpadding="2"> |
37 * <thead> |
37 * <thead> |
38 * <tr> |
38 * <tr> |
39 * <th colspan="2">Evaluation of XPath Expressions.</th> |
39 * <th colspan="2">Evaluation of XPath Expressions.</th> |
40 * </tr> |
40 * </tr> |
41 * </thead> |
41 * </thead> |
42 * <tr> |
42 * <tr> |
43 * <td>context</td> |
43 * <td>context</td> |
44 * <td> |
44 * <td> |
45 * If a request is made to evaluate the expression in the absence |
45 * The type of the context is implementation-dependent. If the value is |
46 * of a context item, an empty document node will be used for the context. |
46 * null, the operation must have no dependency on the context, otherwise |
47 * For the purposes of evaluating XPath expressions, a DocumentFragment |
47 * an XPathExpressionException will be thrown. |
48 * is treated like a Document node. |
48 * |
|
49 * For the purposes of evaluating XPath expressions, a DocumentFragment |
|
50 * is treated like a Document node. |
49 * </td> |
51 * </td> |
50 * </tr> |
52 * </tr> |
51 * <tr> |
53 * <tr> |
52 * <td>variables</td> |
54 * <td>variables</td> |
53 * <td> |
55 * <td> |