public class MatchedElement extends BasePathElement implements EvaluatablePathElement
| Constructor and Description |
|---|
MatchedElement(String key) |
MatchedElement(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()
Here be mutability...
|
getRawKey, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRawKeypublic MatchedElement(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 String getCanonicalForm()
PathElementgetCanonicalForm in interface PathElementpublic String getSubKeyRef(int index)
public int getSubKeyCount()
public int getHashCount()
public void incrementHashCount()
Copyright © 2023. All rights reserved.