org.opensaml.saml1.core.validator
Class StatusSchemaValidator

java.lang.Object
  extended by org.opensaml.saml1.core.validator.StatusSchemaValidator
All Implemented Interfaces:
org.opensaml.xml.validation.Validator<Status>

public class StatusSchemaValidator
extends java.lang.Object
implements org.opensaml.xml.validation.Validator<Status>

Checks Status for Schema compliance.


Constructor Summary
StatusSchemaValidator()
           
 
Method Summary
 void validate(Status status)
          
protected  void validateStatusCode(Status status)
          Validates that given status has a status code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusSchemaValidator

public StatusSchemaValidator()
Method Detail

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-2009 Internet2. All Rights Reserved.