Class JPropPathSplitter.IndexOnlySplitter

  • Enclosing class:
    JPropPathSplitter

    public static class JPropPathSplitter.IndexOnlySplitter
    extends JPropPathSplitter
    Special variant that does not use path separator, but does allow index indicator, at the end of path.
    • Field Detail

      • _indexMatch

        protected final java.util.regex.Pattern _indexMatch
    • Constructor Detail

      • IndexOnlySplitter

        public IndexOnlySplitter​(boolean useSimpleIndex,
                                 Markers indexMarker)
    • Method Detail

      • splitAndAdd

        public JPropNode splitAndAdd​(JPropNode parent,
                                     java.lang.String key,
                                     java.lang.String value)
        Description copied from class: JPropPathSplitter
        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.
        Specified by:
        splitAndAdd in class JPropPathSplitter
        Returns:
        Newly added node
      • _splitMore

        protected JPropNode _splitMore​(JPropNode parent,
                                       java.lang.String prefix,
                                       java.lang.String indexStr)