Java Code Examples for com.gargoylesoftware.htmlunit.html.HtmlTableRow#getParentNode()
The following examples show how to use
com.gargoylesoftware.htmlunit.html.HtmlTableRow#getParentNode() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HTMLTableElement.java From htmlunit with Apache License 2.0 | 4 votes |
/** * Indicates if the row belongs to this container. * @param row the row to test * @return {@code true} if it belongs to this container */ @Override protected boolean isContainedRow(final HtmlTableRow row) { final DomNode parent = row.getParentNode(); // the tbody, thead or tfoo return (parent != null) && parent.getParentNode() == getDomNodeOrDie(); }
Example 2
Source File: HTMLTableElement.java From HtmlUnit-Android with Apache License 2.0 | 4 votes |
/** * Indicates if the row belongs to this container. * @param row the row to test * @return {@code true} if it belongs to this container */ @Override protected boolean isContainedRow(final HtmlTableRow row) { final DomNode parent = row.getParentNode(); // the tbody, thead or tfoo return (parent != null) && parent.getParentNode() == getDomNodeOrDie(); }
Example 3
Source File: RowContainer.java From htmlunit with Apache License 2.0 | 2 votes |
/** * Indicates if the row belongs to this container. * @param row the row to test * @return {@code true} if it belongs to this container */ protected boolean isContainedRow(final HtmlTableRow row) { return row.getParentNode() == getDomNodeOrDie(); }
Example 4
Source File: RowContainer.java From HtmlUnit-Android with Apache License 2.0 | 2 votes |
/** * Indicates if the row belongs to this container. * @param row the row to test * @return {@code true} if it belongs to this container */ protected boolean isContainedRow(final HtmlTableRow row) { return row.getParentNode() == getDomNodeOrDie(); }