com.bazaarvoice.jolt.cardinality
public class CardinalityLeafSpec extends CardinalitySpec
| Modifier and Type | Class and Description |
|---|---|
static class |
CardinalityLeafSpec.CardinalityRelationship |
pathElement| Constructor and Description |
|---|
CardinalityLeafSpec(String rawKey,
Object rhs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(String inputKey,
Object input,
WalkedPath walkedPath,
Object parentContainer)
If this CardinalitySpec matches the inputkey, then do the work of modifying the data and return true.
|
Object |
applyToParentContainer(String inputKey,
Object input,
WalkedPath walkedPath,
Object parentContainer)
This should only be used by composite specs with an '@' child
|
parsepublic boolean apply(String inputKey, Object input, WalkedPath walkedPath, Object parentContainer)
apply in class CardinalitySpecpublic Object applyToParentContainer(String inputKey, Object input, WalkedPath walkedPath, Object parentContainer)
Copyright © 2014. All Rights Reserved.