org.opensaml.saml1.core.validator
Class StatusSchemaValidator
java.lang.Object
org.opensaml.saml1.core.validator.StatusSchemaValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<Status>
public class StatusSchemaValidator
- extends Object
- implements org.opensaml.xml.validation.Validator<Status>
Checks Status
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatusSchemaValidator
public StatusSchemaValidator()
validate
public void validate(Status status)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<Status>
- Throws:
org.opensaml.xml.validation.ValidationException
validateStatusCode
protected void validateStatusCode(Status status)
throws org.opensaml.xml.validation.ValidationException
- Validates that given status has a status code.
- Parameters:
status
- status to validate
- Throws:
org.opensaml.xml.validation.ValidationException
- thrown if the status does not have a status code
Copyright © 2006-2012 Internet2. All Rights Reserved.