Class ContentPath

  • public final class ContentPath
    extends java.lang.Object
    • Constructor Summary

      Constructor Description
      ContentPath​(int offset)
      Constructs a json path with an offset.
    • Method Summary

      Modifier and Type Method Description
      void add​(java.lang.String name)  
      java.lang.String pathAsText​(java.lang.String name)  
      void remove()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContentPath

        public ContentPath()
      • ContentPath

        public ContentPath​(int offset)
        Constructs a json path with an offset. The offset will result an offset number of path elements to not be included in pathAsText(String).
    • Method Detail

      • add

        public void add​(java.lang.String name)
      • remove

        public void remove()
      • pathAsText

        public java.lang.String pathAsText​(java.lang.String name)