public class NoopValidatorContext extends Object implements ValidatorContext
ValidatorContext
can be used when no contextual keywords are usedConstructor and Description |
---|
NoopValidatorContext() |
NoopValidatorContext(ValidatorContext parent,
String inputKey) |
Modifier and Type | Method and Description |
---|---|
Set<Integer> |
evaluatedItems() |
Set<String> |
evaluatedProperties() |
String |
inputKey() |
ValidatorContext |
lowerLevelContext(int key) |
ValidatorContext |
lowerLevelContext(String key) |
void |
markEvaluatedItem(int index) |
void |
markEvaluatedProperty(String propertyName) |
ValidatorContext |
parent() |
ValidatorContext |
startRecording() |
public NoopValidatorContext()
public NoopValidatorContext(ValidatorContext parent, String inputKey)
public ValidatorContext startRecording()
startRecording
in interface ValidatorContext
public void markEvaluatedItem(int index)
markEvaluatedItem
in interface ValidatorContext
public void markEvaluatedProperty(String propertyName)
markEvaluatedProperty
in interface ValidatorContext
public Set<Integer> evaluatedItems()
evaluatedItems
in interface ValidatorContext
public Set<String> evaluatedProperties()
evaluatedProperties
in interface ValidatorContext
public ValidatorContext lowerLevelContext(String key)
lowerLevelContext
in interface ValidatorContext
public ValidatorContext lowerLevelContext(int key)
lowerLevelContext
in interface ValidatorContext
public ValidatorContext parent()
parent
in interface ValidatorContext
public String inputKey()
inputKey
in interface ValidatorContext
Copyright © 2024 Eclipse. All rights reserved.