8136494: Update "@since 1.9" to "@since 9" to match java.version.specification
Reviewed-by: alanb, chegar, lancea
This commit is contained in:
parent
549f32f946
commit
3c586d6531
@ -351,7 +351,7 @@ public interface XPath {
|
|||||||
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type is not available.
|
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type is not available.
|
||||||
* @throws NullPointerException If {@code expression or type} is {@code null}.
|
* @throws NullPointerException If {@code expression or type} is {@code null}.
|
||||||
*
|
*
|
||||||
* @since 1.9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
default <T>T evaluateExpression(String expression, Object item, Class<T> type)
|
default <T>T evaluateExpression(String expression, Object item, Class<T> type)
|
||||||
throws XPathExpressionException {
|
throws XPathExpressionException {
|
||||||
@ -399,7 +399,7 @@ public interface XPath {
|
|||||||
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
|
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
|
||||||
* @throws NullPointerException If {@code expression} is {@code null}.
|
* @throws NullPointerException If {@code expression} is {@code null}.
|
||||||
*
|
*
|
||||||
* @since 1.9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
default XPathEvaluationResult<?> evaluateExpression(String expression, Object item)
|
default XPathEvaluationResult<?> evaluateExpression(String expression, Object item)
|
||||||
throws XPathExpressionException
|
throws XPathExpressionException
|
||||||
@ -445,7 +445,7 @@ public interface XPath {
|
|||||||
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type is not available.
|
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type is not available.
|
||||||
* @throws NullPointerException If {@code expression, source or type}is {@code null}.
|
* @throws NullPointerException If {@code expression, source or type}is {@code null}.
|
||||||
*
|
*
|
||||||
* @since 1.9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
default <T>T evaluateExpression(String expression, InputSource source, Class<T> type)
|
default <T>T evaluateExpression(String expression, InputSource source, Class<T> type)
|
||||||
throws XPathExpressionException
|
throws XPathExpressionException
|
||||||
@ -486,7 +486,7 @@ public interface XPath {
|
|||||||
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
|
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
|
||||||
* @throws NullPointerException If {@code expression or source} is {@code null}.
|
* @throws NullPointerException If {@code expression or source} is {@code null}.
|
||||||
*
|
*
|
||||||
* @since 1.9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
default XPathEvaluationResult<?> evaluateExpression(String expression, InputSource source)
|
default XPathEvaluationResult<?> evaluateExpression(String expression, InputSource source)
|
||||||
throws XPathExpressionException
|
throws XPathExpressionException
|
||||||
|
@ -37,7 +37,7 @@ import org.w3c.dom.Node;
|
|||||||
* @see <a href="http://www.w3.org/TR/xpath">XML Path Language (XPath) Version
|
* @see <a href="http://www.w3.org/TR/xpath">XML Path Language (XPath) Version
|
||||||
* 1.0</a>
|
* 1.0</a>
|
||||||
*
|
*
|
||||||
* @since 1.9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
public interface XPathEvaluationResult<T> {
|
public interface XPathEvaluationResult<T> {
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ public interface XPathExpression {
|
|||||||
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type is not available.
|
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type is not available.
|
||||||
* @throws NullPointerException If {@code type} is {@code null}.
|
* @throws NullPointerException If {@code type} is {@code null}.
|
||||||
*
|
*
|
||||||
* @since 1.9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
default <T>T evaluateExpression(Object item, Class<T> type)
|
default <T>T evaluateExpression(Object item, Class<T> type)
|
||||||
throws XPathExpressionException
|
throws XPathExpressionException
|
||||||
@ -292,7 +292,7 @@ public interface XPathExpression {
|
|||||||
* does not support the
|
* does not support the
|
||||||
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
|
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
|
||||||
*
|
*
|
||||||
* @since 1.9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
default XPathEvaluationResult<?> evaluateExpression(Object item)
|
default XPathEvaluationResult<?> evaluateExpression(Object item)
|
||||||
throws XPathExpressionException
|
throws XPathExpressionException
|
||||||
@ -338,7 +338,7 @@ public interface XPathExpression {
|
|||||||
* is not available.
|
* is not available.
|
||||||
* @throws NullPointerException If {@code source or type} is {@code null}.
|
* @throws NullPointerException If {@code source or type} is {@code null}.
|
||||||
*
|
*
|
||||||
* @since 1.9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
default <T>T evaluateExpression(InputSource source, Class<T> type)
|
default <T>T evaluateExpression(InputSource source, Class<T> type)
|
||||||
throws XPathExpressionException
|
throws XPathExpressionException
|
||||||
@ -377,7 +377,7 @@ public interface XPathExpression {
|
|||||||
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
|
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
|
||||||
* @throws NullPointerException If {@code source} is {@code null}.
|
* @throws NullPointerException If {@code source} is {@code null}.
|
||||||
*
|
*
|
||||||
* @since 1.9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
default XPathEvaluationResult<?> evaluateExpression(InputSource source)
|
default XPathEvaluationResult<?> evaluateExpression(InputSource source)
|
||||||
throws XPathExpressionException
|
throws XPathExpressionException
|
||||||
|
@ -33,7 +33,7 @@ import org.w3c.dom.Node;
|
|||||||
* in <a href="http://www.w3.org/TR/xpath/#node-sets">XML Path Language (XPath)
|
* in <a href="http://www.w3.org/TR/xpath/#node-sets">XML Path Language (XPath)
|
||||||
* Version 1.0, 3.3 Node-sets</a>.
|
* Version 1.0, 3.3 Node-sets</a>.
|
||||||
*
|
*
|
||||||
* @since 1.9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
public interface XPathNodes extends Iterable<Node> {
|
public interface XPathNodes extends Iterable<Node> {
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ package org.w3c.dom.ranges;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||||
* @since 1.9, DOM Level 2
|
* @since 9, DOM Level 2
|
||||||
*/
|
*/
|
||||||
public interface DocumentRange {
|
public interface DocumentRange {
|
||||||
/**
|
/**
|
||||||
|
@ -47,7 +47,7 @@ import org.w3c.dom.DocumentFragment;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||||
* @since 1.9, DOM Level 2
|
* @since 9, DOM Level 2
|
||||||
*/
|
*/
|
||||||
public interface Range {
|
public interface Range {
|
||||||
/**
|
/**
|
||||||
|
@ -45,7 +45,7 @@ package org.w3c.dom.ranges;
|
|||||||
* Range operations may throw a <code>RangeException</code> as specified in
|
* Range operations may throw a <code>RangeException</code> as specified in
|
||||||
* their method descriptions.
|
* their method descriptions.
|
||||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||||
* @since 1.9, DOM Level 2
|
* @since 9, DOM Level 2
|
||||||
*/
|
*/
|
||||||
public class RangeException extends RuntimeException {
|
public class RangeException extends RuntimeException {
|
||||||
public RangeException(short code, String message) {
|
public RangeException(short code, String message) {
|
||||||
|
@ -53,7 +53,7 @@ import org.w3c.dom.DOMException;
|
|||||||
* Traversal feature, <code>DocumentTraversal</code> will be implemented by
|
* Traversal feature, <code>DocumentTraversal</code> will be implemented by
|
||||||
* the same objects that implement the Document interface.
|
* the same objects that implement the Document interface.
|
||||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||||
* @since 1.9, DOM Level 2
|
* @since 9, DOM Level 2
|
||||||
*/
|
*/
|
||||||
public interface DocumentTraversal {
|
public interface DocumentTraversal {
|
||||||
/**
|
/**
|
||||||
|
@ -59,7 +59,7 @@ import org.w3c.dom.Node;
|
|||||||
* filter may be used with a number of different kinds of traversals,
|
* filter may be used with a number of different kinds of traversals,
|
||||||
* encouraging code reuse.
|
* encouraging code reuse.
|
||||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||||
* @since 1.9, DOM Level 2
|
* @since 9, DOM Level 2
|
||||||
*/
|
*/
|
||||||
public interface NodeFilter {
|
public interface NodeFilter {
|
||||||
// Constants returned by acceptNode
|
// Constants returned by acceptNode
|
||||||
|
@ -55,7 +55,7 @@ import org.w3c.dom.DOMException;
|
|||||||
* <code>NodeIterators</code> are created by calling
|
* <code>NodeIterators</code> are created by calling
|
||||||
* <code>DocumentTraversal</code><code>.createNodeIterator()</code>.
|
* <code>DocumentTraversal</code><code>.createNodeIterator()</code>.
|
||||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||||
* @since 1.9, DOM Level 2
|
* @since 9, DOM Level 2
|
||||||
*/
|
*/
|
||||||
public interface NodeIterator {
|
public interface NodeIterator {
|
||||||
/**
|
/**
|
||||||
|
@ -60,7 +60,7 @@ import org.w3c.dom.DOMException;
|
|||||||
* nodes will be siblings and appear as direct children of the root node, no
|
* nodes will be siblings and appear as direct children of the root node, no
|
||||||
* matter how deeply nested the structure of the original document.
|
* matter how deeply nested the structure of the original document.
|
||||||
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
|
||||||
* @since 1.9, DOM Level 2
|
* @since 9, DOM Level 2
|
||||||
*/
|
*/
|
||||||
public interface TreeWalker {
|
public interface TreeWalker {
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user