org.opensaml.saml1.core.validator
Class StatusCodeSchemaValidator
java.lang.Object
org.opensaml.saml1.core.validator.StatusCodeSchemaValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<StatusCode>
public class StatusCodeSchemaValidator
- extends Object
- implements org.opensaml.xml.validation.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 org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<StatusCode>
- Throws:
org.opensaml.xml.validation.ValidationException
validateValue
protected void validateValue(StatusCode statusCode)
throws org.opensaml.xml.validation.ValidationException
- Validates that the status code has a value.
- Parameters:
statusCode
- status code to validate
- Throws:
org.opensaml.xml.validation.ValidationException
- thrown if the status code does not have a value
validateValueContent
protected void validateValueContent(StatusCode statusCode)
throws org.opensaml.xml.validation.ValidationException
- Validates that the status code local name is one of the allowabled values.
- Parameters:
statusCode
- the status code to validate
- Throws:
org.opensaml.xml.validation.ValidationException
- thrown if the status code local name is not an allowed value
Copyright © 2006-2011 Internet2. All Rights Reserved.