com.bazaarvoice.jolt.common.pathelement
public class StarSinglePathElement extends BasePathElement implements StarPathElement
| Constructor and Description |
|---|
StarSinglePathElement(String key) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCanonicalForm()
Get the canonical form of this PathElement.
|
LiteralPathElement |
match(String dataKey,
WalkedPath walkedPath)
See if this PathElement matches the given dataKey.
|
boolean |
stringMatch(String literal)
Method to see if a candidate key would match this PathElement.
|
getRawKey, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRawKeypublic StarSinglePathElement(String key)
public boolean stringMatch(String literal)
StarPathElementstringMatch in interface StarPathElementliteral - test to see if the provided string will match this Element's regexpublic 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 PathElementCopyright © 2014. All Rights Reserved.