Package com.enonic.xp.node
Class NodePath
- java.lang.Object
-
- com.enonic.xp.node.NodePath
-
- All Implemented Interfaces:
Serializable
,Comparable<NodePath>
@PublicApi public final class NodePath extends Object implements Comparable<NodePath>, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodePath.Builder
static class
NodePath.Element
Deprecated.
-
Method Summary
-
-
-
Field Detail
-
ROOT
public static final NodePath ROOT
-
-
Method Detail
-
isRoot
public boolean isRoot()
-
asRelative
@Deprecated public NodePath asRelative()
Deprecated.
-
asAbsolute
@Deprecated public NodePath asAbsolute()
Deprecated.
-
getParentPath
public NodePath getParentPath()
-
isEmpty
public boolean isEmpty()
-
isAbsolute
public boolean isAbsolute()
-
isRelative
@Deprecated public boolean isRelative()
Deprecated.
-
hasTrailingDivider
@Deprecated public boolean hasTrailingDivider()
Deprecated.
-
trimTrailingDivider
@Deprecated public NodePath trimTrailingDivider()
Deprecated.
-
elementCount
@Deprecated public int elementCount()
Deprecated.
-
iterator
@Deprecated public Iterator<NodePath.Element> iterator()
Deprecated.
-
getElementAsString
@Deprecated public String getElementAsString(int index)
Deprecated.
-
getLastElement
@Deprecated public NodePath.Element getLastElement()
Deprecated.
-
getName
public String getName()
-
resolvePathElementNames
@Deprecated public Iterable<String> resolvePathElementNames()
Deprecated.
-
removeFromBeginning
@Deprecated public NodePath removeFromBeginning(NodePath path)
Deprecated.
-
create
public static NodePath.Builder create()
-
create
@Deprecated public static NodePath.Builder create(String path)
Deprecated.
-
create
public static NodePath.Builder create(NodePath source)
-
create
@Deprecated public static NodePath.Builder create(NodePath parent, String path)
Deprecated.
-
compareTo
public int compareTo(NodePath o)
- Specified by:
compareTo
in interfaceComparable<NodePath>
-
-