public final class NodePath extends Object implements Comparable<NodePath>
Modifier and Type | Class and Description |
---|---|
static interface |
NodePath.AppendableBuilder |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NodePath that) |
boolean |
equals(Object o) |
List<ElementSelector> |
getElementSelectors() |
ElementSelector |
getLastElementSelector() |
int |
hashCode() |
boolean |
isChildOf(NodePath nodePath) |
boolean |
isParentOf(NodePath nodePath) |
boolean |
matches(NodePath nodePath) |
static NodePath.AppendableBuilder |
startBuilding() |
static NodePath.AppendableBuilder |
startBuildingFrom(NodePath nodePath) |
String |
toString() |
static NodePath |
with(String propertyName,
String... additionalPropertyNames) |
static NodePath |
withRoot() |
public boolean isParentOf(NodePath nodePath)
public List<ElementSelector> getElementSelectors()
public boolean isChildOf(NodePath nodePath)
public ElementSelector getLastElementSelector()
public int compareTo(NodePath that)
compareTo
in interface Comparable<NodePath>
public boolean matches(NodePath nodePath)
public static NodePath.AppendableBuilder startBuildingFrom(NodePath nodePath)
public static NodePath.AppendableBuilder startBuilding()
public static NodePath withRoot()
Copyright © 2016. All rights reserved.