public class ConditionsSpecValidator extends Object implements Validator<Conditions>
Conditions
for Spec compliance.Constructor and Description |
---|
ConditionsSpecValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(Conditions conditions)
Checks to see if a XMLObject is valid.
|
protected void |
validateOneTimeUseCondition(Conditions conditions)
Checks that there is at most one OneTimeUse condition.
|
protected void |
validateProxyRestrictionCondition(Conditions conditions) |
public void validate(Conditions conditions) throws ValidationException
validate
in interface Validator<Conditions>
conditions
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateOneTimeUseCondition(Conditions conditions) throws ValidationException
conditions
- ValidationException
protected void validateProxyRestrictionCondition(Conditions conditions) throws ValidationException
ValidationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.