Returns true if this node is an ancestor of the specified nodes. @param nodes the nodes to check @return true if this node is an ancestor of the specified nodes
(final DomNode... nodes)
| 354 | * @return {@code true} if this node is an ancestor of the specified nodes |
| 355 | */ |
| 356 | public boolean isAncestorOfAny(final DomNode... nodes) { |
| 357 | for (final DomNode node : nodes) { |
| 358 | if (isAncestorOf(node)) { |
| 359 | return true; |
| 360 | } |
| 361 | } |
| 362 | return false; |
| 363 | } |
| 364 | |
| 365 | /** |
| 366 | * {@inheritDoc} |
nothing calls this directly
no test coverage detected