public class AuthzDecisionStatementSchemaValidator extends Object implements Validator<AuthzDecisionStatement>
AuthzDecisionStatement
for Schema compliance.Constructor and Description |
---|
AuthzDecisionStatementSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(AuthzDecisionStatement authzDS)
Checks to see if a XMLObject is valid.
|
protected void |
validateActions(AuthzDecisionStatement authzDS)
Checks that one or more Action is present.
|
protected void |
validateDecision(AuthzDecisionStatement authzDS)
Checks that the Decision attribute is present.
|
protected void |
validateResource(AuthzDecisionStatement authzDS)
Checks that the Resource attribute is present.
|
public AuthzDecisionStatementSchemaValidator()
public void validate(AuthzDecisionStatement authzDS) throws ValidationException
validate
in interface Validator<AuthzDecisionStatement>
authzDS
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateResource(AuthzDecisionStatement authzDS) throws ValidationException
authzDS
- ValidationException
protected void validateDecision(AuthzDecisionStatement authzDS) throws ValidationException
authzDS
- ValidationException
protected void validateActions(AuthzDecisionStatement authzDS) throws ValidationException
authzDS
- ValidationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.