com.bazaarvoice.jolt.common.pathelement
public class LiteralPathElement extends BasePathElement implements MatchablePathElement, EvaluatablePathElement
| Constructor and Description |
|---|
LiteralPathElement(String key) |
LiteralPathElement(String key,
List<String> subKeys) |
| Modifier and Type | Method and Description |
|---|---|
String |
evaluate(WalkedPath walkedPath)
Evaluate this key as if it is an write path element.
|
String |
getCanonicalForm()
Get the canonical form of this PathElement.
|
int |
getHashCount() |
int |
getSubKeyCount() |
String |
getSubKeyRef(int index) |
void |
incrementHashCount() |
LiteralPathElement |
match(String dataKey,
WalkedPath walkedPath)
See if this PathElement matches the given dataKey.
|
getRawKey, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRawKeypublic LiteralPathElement(String key)
public String evaluate(WalkedPath walkedPath)
EvaluatablePathElementevaluate in interface EvaluatablePathElementwalkedPath - "up the tree" list of LiteralPathElements, that may be used by this key as it is computingpublic LiteralPathElement match(String dataKey, WalkedPath walkedPath)
MatchablePathElementmatch in interface MatchablePathElementdataKey - String key value from the input datawalkedPath - "up the tree" list of LiteralPathElements, that may be used by this key as it is computing its matchpublic String getCanonicalForm()
PathElementgetCanonicalForm in interface PathElementpublic String getSubKeyRef(int index)
public int getSubKeyCount()
public int getHashCount()
public void incrementHashCount()
Copyright © 2014. All Rights Reserved.