Class BasePathReference

java.lang.Object
com.bazaarvoice.jolt.common.reference.BasePathReference
All Implemented Interfaces:
PathReference
Direct Known Subclasses:
HashReference

public abstract class BasePathReference extends Object implements PathReference
  • Field Details

    • pathIndex

      private final int pathIndex
  • Constructor Details

    • BasePathReference

      public BasePathReference(String refStr)
  • Method Details

    • getToken

      protected abstract char getToken()
    • getPathIndex

      public int getPathIndex()
      Specified by:
      getPathIndex in interface PathReference
    • getCanonicalForm

      public String getCanonicalForm()
      Builds the non-syntactic sugar / maximally expanded and unique form of this reference.
      Specified by:
      getCanonicalForm in interface PathReference
      Returns:
      canonical form : aka "#" -> "#0