Class BasePathReference
- java.lang.Object
-
- com.bazaarvoice.jolt.common.reference.BasePathReference
-
- All Implemented Interfaces:
PathReference
- Direct Known Subclasses:
HashReference
public abstract class BasePathReference extends java.lang.Object implements PathReference
-
-
Field Summary
Fields Modifier and Type Field Description private int
pathIndex
-
Constructor Summary
Constructors Constructor Description BasePathReference(java.lang.String refStr)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCanonicalForm()
Builds the non-syntactic sugar / maximally expanded and unique form of this reference.int
getPathIndex()
protected abstract char
getToken()
-
-
-
Method Detail
-
getToken
protected abstract char getToken()
-
getPathIndex
public int getPathIndex()
- Specified by:
getPathIndex
in interfacePathReference
-
getCanonicalForm
public java.lang.String getCanonicalForm()
Builds the non-syntactic sugar / maximally expanded and unique form of this reference.- Specified by:
getCanonicalForm
in interfacePathReference
- Returns:
- canonical form : aka "#" -> "#0
-
-