public interface PointInspection
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
absoluteImageUrl()
Returns a string that represents the absolute URL of the image located at the point or an
empty string if there is no image at the point.
|
default java.lang.String |
absoluteLinkUrl()
Returns a string that represents the absolute URL of the link DOM element at the point or an
empty string if there is no link at the point.
|
default Point |
localPoint()
Returns coordinates of the point relative to the node.
|
default java.util.Optional<Node> |
node()
Returns the
Node at the point. |
default java.util.Optional<Element> |
urlElement()
Returns the link
Element when a link is located at the point. |
default Point localPoint()
default java.util.Optional<Node> node()
Node
at the point. Returns an empty Optional
if there is no node
at the point.default java.util.Optional<Element> urlElement()
Element
when a link is located at the point. Returns an empty Optional
if there is no link element at the point.default java.lang.String absoluteImageUrl()
default java.lang.String absoluteLinkUrl()