public class PathSegment extends Object
Modifier and Type | Method and Description |
---|---|
static PathSegment |
createIndexSegment(int index) |
static PathSegment |
createKeySegment(String key) |
Integer |
getIndex() |
String |
getKey() |
boolean |
isIndex() |
boolean |
isKey() |
static PathSegment[] |
parse(String str) |
public static PathSegment createKeySegment(String key)
public static PathSegment createIndexSegment(int index)
public boolean isKey()
public boolean isIndex()
public String getKey()
public Integer getIndex()
public static PathSegment[] parse(String str)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.