public class LiteralPathElement extends BasePathElement implements MatchablePathElement, EvaluatablePathElement
| Constructor and Description |
|---|
LiteralPathElement(String key) |
| 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.
|
MatchedElement |
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 MatchedElement 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 PathElementCopyright © 2023. All rights reserved.