public class AtlasPath extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AtlasPath.SegmentContext |
Modifier and Type | Field and Description |
---|---|
static String |
PATH_ARRAY_END |
static String |
PATH_ARRAY_START |
static String |
PATH_ATTRIBUTE_PREFIX |
static String |
PATH_LIST_END |
static String |
PATH_LIST_START |
static String |
PATH_MAP_END |
static String |
PATH_MAP_START |
static String |
PATH_NAMESPACE_SEPARATOR |
static String |
PATH_SEPARATOR |
static char |
PATH_SEPARATOR_CHAR |
static String |
PATH_SEPARATOR_ESCAPED |
protected List<AtlasPath.SegmentContext> |
segmentContexts |
Modifier and Type | Method and Description |
---|---|
AtlasPath |
appendField(String fieldExpression) |
void |
copyCollectionIndexes(AtlasPath sourcePath) |
protected AtlasPath.SegmentContext |
createSegmentContext(String expression) |
int |
getCollectionSegmentCount() |
AtlasPath.SegmentContext |
getLastSegment() |
AtlasPath.SegmentContext |
getLastSegmentParent() |
AtlasPath |
getLastSegmentParentPath() |
String |
getOriginalPath() |
AtlasPath.SegmentContext |
getParentSegmentOf(AtlasPath.SegmentContext sc) |
AtlasPath.SegmentContext |
getRootSegment() |
String |
getSegmentPath(AtlasPath.SegmentContext sc) |
List<AtlasPath.SegmentContext> |
getSegments(boolean includeRoot) |
boolean |
hasCollection() |
Boolean |
hasCollectionRoot() |
Boolean |
isCollectionRoot() |
boolean |
isIndexedCollection() |
Boolean |
isRoot() |
AtlasPath.SegmentContext |
setCollectionIndex(int segmentIndex,
Integer collectionIndex) |
AtlasPath.SegmentContext |
setVacantCollectionIndex(Integer collectionIndex) |
String |
toString() |
public static final String PATH_SEPARATOR
public static final char PATH_SEPARATOR_CHAR
public static final String PATH_SEPARATOR_ESCAPED
public static final String PATH_ARRAY_START
public static final String PATH_ARRAY_END
public static final String PATH_LIST_START
public static final String PATH_LIST_END
public static final String PATH_MAP_START
public static final String PATH_MAP_END
public static final String PATH_ATTRIBUTE_PREFIX
public static final String PATH_NAMESPACE_SEPARATOR
protected List<AtlasPath.SegmentContext> segmentContexts
public AtlasPath(String p)
protected AtlasPath.SegmentContext createSegmentContext(String expression)
public List<AtlasPath.SegmentContext> getSegments(boolean includeRoot)
public Boolean isRoot()
public AtlasPath.SegmentContext getRootSegment()
public Boolean isCollectionRoot()
public Boolean hasCollectionRoot()
public AtlasPath.SegmentContext getLastSegment()
public AtlasPath.SegmentContext getLastSegmentParent()
public AtlasPath getLastSegmentParentPath()
public AtlasPath.SegmentContext getParentSegmentOf(AtlasPath.SegmentContext sc)
public boolean hasCollection()
public boolean isIndexedCollection()
public AtlasPath.SegmentContext setCollectionIndex(int segmentIndex, Integer collectionIndex)
public void copyCollectionIndexes(AtlasPath sourcePath)
public AtlasPath.SegmentContext setVacantCollectionIndex(Integer collectionIndex)
public String getSegmentPath(AtlasPath.SegmentContext sc)
public String getOriginalPath()
public int getCollectionSegmentCount()
Copyright © 2020 JBoss by Red Hat. All rights reserved.