Package io.atlasmap.core
Class AtlasPath
java.lang.Object
io.atlasmap.core.AtlasPath
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
XmlPath
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final charstatic final Stringprotected List<AtlasPath.SegmentContext> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendField(String fieldExpression) clone()protected AtlasPath.SegmentContextcreateSegmentContext(String expression) static FieldextractChildren(Field f, String path) Extract child fields by feeding relative path.intgetCollectionSegments(boolean includeRoot) getSegments(boolean includeRoot) booleanbooleanisRoot()protected List<AtlasPath.SegmentContext>protected StringsetCollectionIndex(int segmentIndex, Integer collectionIndex) static voidsetCollectionIndexRecursively(FieldGroup group, int segmentIndex, int index) setVacantCollectionIndex(Integer collectionIndex) toString()
-
Field Details
-
PATH_SEPARATOR
- See Also:
-
PATH_SEPARATOR_CHAR
public static final char PATH_SEPARATOR_CHAR- See Also:
-
PATH_SEPARATOR_ESCAPED
- See Also:
-
PATH_ARRAY_START
- See Also:
-
PATH_ARRAY_END
- See Also:
-
PATH_ARRAY_SUFFIX
- See Also:
-
PATH_LIST_START
- See Also:
-
PATH_LIST_END
- See Also:
-
PATH_LIST_SUFFIX
- See Also:
-
PATH_MAP_START
- See Also:
-
PATH_MAP_END
- See Also:
-
PATH_MAP_SUFFIX
- See Also:
-
PATH_ATTRIBUTE_PREFIX
- See Also:
-
PATH_NAMESPACE_SEPARATOR
- See Also:
-
segmentContexts
-
-
Constructor Details
-
AtlasPath
-
AtlasPath
-
-
Method Details
-
extractChildren
Extract child fields by feeding relative path.- Parameters:
f- Parent field to extract frompath- Relative path string- Returns:
- extracted field(s)
-
setCollectionIndexRecursively
-
appendField
-
clone
-
getSegments
-
isRoot
-
getRootSegment
-
isCollectionRoot
-
hasCollectionRoot
-
getLastSegment
-
getLastCollectionSegment
-
getLastSegmentParent
-
getLastSegmentParentPath
-
getParentSegmentOf
-
hasCollection
public boolean hasCollection() -
isIndexedCollection
public boolean isIndexedCollection() -
setCollectionIndex
-
getCollectionSegments
-
setVacantCollectionIndex
-
getSegmentPath
-
toString
-
getOriginalPath
-
getCollectionSegmentCount
public int getCollectionSegmentCount() -
parse
-
sanitize
-
createSegmentContext
-