org.opensaml.saml1.core.validator
Class StatusCodeSchemaValidator
java.lang.Object
org.opensaml.saml1.core.validator.StatusCodeSchemaValidator
- All Implemented Interfaces:
- Validator<StatusCode>
public class StatusCodeSchemaValidator
- extends Object
- implements Validator<StatusCode>
Checks StatusCode
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatusCodeSchemaValidator
public StatusCodeSchemaValidator()
validate
public void validate(StatusCode statusCode)
throws ValidationException
-
- Specified by:
validate
in interface Validator<StatusCode>
- Throws:
ValidationException
validateValue
protected void validateValue(StatusCode statusCode)
throws ValidationException
- Validates that the status code has a value.
- Parameters:
statusCode
- status code to validate
- Throws:
ValidationException
- thrown if the status code does not have a value
validateValueContent
protected void validateValueContent(StatusCode statusCode)
throws ValidationException
- Validates that the status code local name is one of the allowabled values.
- Parameters:
statusCode
- the status code to validate
- Throws:
ValidationException
- thrown if the status code local name is not an allowed value
Copyright © 1999-2013. All Rights Reserved.