Constructor and Description |
---|
AssertionSpecValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(Assertion assertion)
Checks to see if a XMLObject is valid.
|
protected void |
validateSubject(Assertion assertion)
Checks that the Subject element is present when required.
|
public void validate(Assertion assertion) throws ValidationException
validate
in interface Validator<Assertion>
assertion
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateSubject(Assertion assertion) throws ValidationException
assertion
- ValidationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.