< prev index next >

src/java.xml/share/classes/javax/xml/xpath/XPath.java

Print this page

        

@@ -36,54 +36,54 @@
  * <a id="XPath-evaluation"></a>
  * <table class="striped">
  *    <caption>Evaluation of XPath Expressions</caption>
  *    <thead>
  *      <tr>
- *        <th>Factor</th>
- *        <th>Behavior</th>
+ *        <th scope="col">Factor</th>
+ *        <th scope="col">Behavior</th>
  *      </tr>
  *    </thead>
  *    <tbody>
  *    <tr>
- *      <td>context</td>
+ *      <th scope="row">context</th>
  *      <td>
  *        The type of the context is implementation-dependent. If the value is
  *        null, the operation must have no dependency on the context, otherwise
  *        an XPathExpressionException will be thrown.
  *
  *        For the purposes of evaluating XPath expressions, a DocumentFragment
  *        is treated like a Document node.
  *      </td>
  *    </tr>
  *    <tr>
- *      <td>variables</td>
+ *      <th scope="row">variables</th>
  *      <td>
  *        If the expression contains a variable reference, its value will be found through the {@link XPathVariableResolver}
  *        set with {@link #setXPathVariableResolver(XPathVariableResolver resolver)}.
  *        An {@link XPathExpressionException} is raised if the variable resolver is undefined or
  *        the resolver returns {@code null} for the variable.
  *        The value of a variable must be immutable through the course of any single evaluation.
  *      </td>
  *    </tr>
  *    <tr>
- *      <td>functions</td>
+ *      <th scope="row">functions</th>
  *      <td>
  *        If the expression contains a function reference, the function will be found through the {@link XPathFunctionResolver}
  *        set with {@link #setXPathFunctionResolver(XPathFunctionResolver resolver)}.
  *        An {@link XPathExpressionException} is raised if the function resolver is undefined or
  *        the function resolver returns {@code null} for the function.
  *      </td>
  *    </tr>
  *    <tr>
- *      <td>QNames</td>
+ *      <th scope="row">QNames</th>
  *      <td>
  *        QNames in the expression are resolved against the XPath namespace context
  *        set with {@link #setNamespaceContext(NamespaceContext nsContext)}.
  *      </td>
  *    </tr>
  *    <tr>
- *      <td>result</td>
+ *      <th scope="row">result</th>
  *      <td>
  *        This result of evaluating an expression is converted to an instance of the desired return type.
  *        Valid return types are defined in {@link XPathConstants}.
  *        Conversion to the return type follows XPath conversion rules.
  *      </td>
< prev index next >