public interface SimplePageState
Modifier and Type | Method and Description |
---|---|
boolean |
atSameLocation(SimplePageState other)
Returns true if the pagestate represents a page with the same location URL.
|
MajorChangeType |
differenceTypeIfAny(SimplePageState other)
This will have a meaningful result only when either
identicalTo(SimplePageState) or
atSameLocation(SimplePageState) have been called, and return false, otherwise it will return
MajorPageChangeInfo.MajorChangeType#UNSPECIFIED ; |
String |
getLocationURLOfCurrentPage() |
MutationFormObserver |
getMutationObserver() |
boolean |
identicalTo(SimplePageState other)
Returns true if the other
PageState is identical to this one. |
boolean |
isErroneousState() |
boolean |
similarTo(SimplePageState other)
Returns true if the other
PageState is similar to this one. |
boolean identicalTo(SimplePageState other)
PageState
is identical to this one.boolean similarTo(SimplePageState other)
PageState
is similar to this one. The specific meaning of similar is determine by
the implementation, e.g., through a threshold on the edit distance.MajorChangeType differenceTypeIfAny(SimplePageState other)
identicalTo(SimplePageState)
or
atSameLocation(SimplePageState)
have been called, and return false, otherwise it will return
MajorPageChangeInfo.MajorChangeType#UNSPECIFIED
;boolean atSameLocation(SimplePageState other)
String getLocationURLOfCurrentPage()
MutationFormObserver getMutationObserver()
boolean isErroneousState()
Copyright © 2020 OXPath Team. All rights reserved.