| Modifier and Type | Class and Description |
|---|---|
| public static class | JPropPathSplitter.
Simple variant where we only have path separator, and optional "segment is index iff value is integer number" |
| public static class | JPropPathSplitter.
Instance that supports both path separator and index markers (and possibly also "simple" indexes) |
| public static class | JPropPathSplitter.
Special variant that does not use path separator, but does allow index indicator, at the end of path. |
| public static class | JPropPathSplitter.
"No-op" implementation that does no splitting and simply adds entries as is. |
| public static class | JPropPathSplitter.
Simple variant where we only have path separator, and optional "segment is index iff value is integer number" |
| Modifier and Type | Field and Description |
|---|---|
| protected final boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected JPropNode | |
| protected int | |
| protected JPropNode | |
| public static JPropPathSplitter | |
| private static JPropPathSplitter | |
| public abstract JPropNode | Returns: Newly added nodeMain access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location. |
| _useSimpleIndex | back to summary |
|---|---|
| protected final boolean _useSimpleIndex | |
| JPropPathSplitter | back to summary |
|---|---|
| protected JPropPathSplitter(boolean useSimpleIndex) | |
| _addSegment | back to summary |
|---|---|
| protected JPropNode _addSegment(JPropNode parent, String segment) | |
| _asInt | back to summary |
|---|---|
| protected int _asInt(String segment) | |
| _lastSegment | back to summary |
|---|---|
| protected JPropNode _lastSegment(JPropNode parent, String path, int start, int end) | |
| create | back to summary |
|---|---|
| public static JPropPathSplitter create(JavaPropsSchema schema) | |
| pathOnlySplitter | back to summary |
|---|---|
| private static JPropPathSplitter pathOnlySplitter(JavaPropsSchema schema) | |
| splitAndAdd | back to summary |
|---|---|
| public abstract JPropNode splitAndAdd(JPropNode parent, String key, String value) Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final char | |
| protected final char |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private JPropNode | |
| public JPropNode | splitAndAdd(JPropNode parent, String key, String value)
Implements abstract com. Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location. |
| _pathSeparatorChar | back to summary |
|---|---|
| protected final char _pathSeparatorChar | |
| _pathSeparatorEscapeChar | back to summary |
|---|---|
| protected final char _pathSeparatorEscapeChar | |
| CharPathOnlySplitter | back to summary |
|---|---|
| public CharPathOnlySplitter(char sepChar, char pathSeparatorEscapeChar, boolean useIndex) | |
| _continueWithEscapes | back to summary |
|---|---|
| private JPropNode _continueWithEscapes(JPropNode parent, String key, int start, String value) | |
| splitAndAdd | back to summary |
|---|---|
| public JPropNode splitAndAdd(JPropNode parent, String key, String value) Implements abstract com. Doc from com. Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location. | |
| Modifier and Type | Field and Description |
|---|---|
| protected final int | |
| protected final Pattern | |
| protected final String | |
| protected final JPropPathSplitter |
| Access | Constructor and Description |
|---|---|
| public | FullSplitter(String pathSeparator, boolean useSimpleIndex, Markers indexMarker, JPropPathSplitter fallbackSplitter, String prefix)
|
| Modifier and Type | Method and Description |
|---|---|
| public JPropNode | splitAndAdd(JPropNode parent, String key, String value)
Implements abstract com. Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location. |
| _indexFirstChar | back to summary |
|---|---|
| protected final int _indexFirstChar | |
| _indexMatch | back to summary |
|---|---|
| protected final Pattern _indexMatch | |
| _prefix | back to summary |
|---|---|
protected final String _prefix
| |
| _simpleSplitter | back to summary |
|---|---|
| protected final JPropPathSplitter _simpleSplitter | |
| FullSplitter | back to summary |
|---|---|
| public FullSplitter(String pathSeparator, boolean useSimpleIndex, Markers indexMarker, JPropPathSplitter fallbackSplitter, String prefix) | |
| splitAndAdd | back to summary |
|---|---|
| public JPropNode splitAndAdd(JPropNode parent, String key, String value) Implements abstract com. Doc from com. Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location. | |
| Modifier and Type | Field and Description |
|---|---|
| protected final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected JPropNode | |
| public JPropNode | splitAndAdd(JPropNode parent, String key, String value)
Implements abstract com. Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location. |
| _indexMatch | back to summary |
|---|---|
| protected final Pattern _indexMatch | |
| IndexOnlySplitter | back to summary |
|---|---|
| public IndexOnlySplitter(boolean useSimpleIndex, Markers indexMarker) | |
| _splitMore | back to summary |
|---|---|
| protected JPropNode _splitMore(JPropNode parent, String prefix, String indexStr) | |
| splitAndAdd | back to summary |
|---|---|
| public JPropNode splitAndAdd(JPropNode parent, String key, String value) Implements abstract com. Doc from com. Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final JPropPathSplitter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public JPropNode | splitAndAdd(JPropNode parent, String key, String value)
Implements abstract com. Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location. |
| instance | back to summary |
|---|---|
| public static final JPropPathSplitter. | |
| NonSplitting | back to summary |
|---|---|
| private NonSplitting() | |
| splitAndAdd | back to summary |
|---|---|
| public JPropNode splitAndAdd(JPropNode parent, String key, String value) Implements abstract com. Doc from com. Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location. | |
| Modifier and Type | Field and Description |
|---|---|
| protected final String | |
| protected final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JPropNode | splitAndAdd(JPropNode parent, String key, String value)
Implements abstract com. Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location. |
| _pathSeparator | back to summary |
|---|---|
| protected final String _pathSeparator | |
| _pathSeparatorLength | back to summary |
|---|---|
| protected final int _pathSeparatorLength | |
| StringPathOnlySplitter | back to summary |
|---|---|
| public StringPathOnlySplitter(String pathSeparator, boolean useIndex) | |
| splitAndAdd | back to summary |
|---|---|
| public JPropNode splitAndAdd(JPropNode parent, String key, String value) Implements abstract com. Doc from com. Main access method for splitting key into one or more segments and using segmentation to add the String value as a node in its proper location. | |