Constructor and Description |
---|
AssertionSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(Assertion assertion)
Checks to see if a XMLObject is valid.
|
protected void |
validateID(Assertion assertion)
Checks that the ID attribute is present.
|
protected void |
validateIssueInstant(Assertion assertion)
Checks that the IssueInstant attribute is present.
|
protected void |
validateIssuer(Assertion assertion)
Checks that Issuer element is present.
|
protected void |
validateVersion(Assertion assertion)
Checks that the Version attribute is present.
|
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 validateIssuer(Assertion assertion) throws ValidationException
assertion
- ValidationException
protected void validateVersion(Assertion assertion) throws ValidationException
assertion
- ValidationException
protected void validateID(Assertion assertion) throws ValidationException
assertion
- ValidationException
protected void validateIssueInstant(Assertion assertion) throws ValidationException
assertion
- ValidationException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.