org.opensaml.saml1.core.validator
Class StatusSchemaValidator

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

public class StatusSchemaValidator
extends java.lang.Object
implements Validator<Status>

Checks Status for Schema compliance.


Constructor Summary
StatusSchemaValidator()
           
 
Method Summary
 void validate(Status status)
          Checks to see if a XMLObject is valid.
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 ValidationException
Checks to see if a XMLObject is valid.

Specified by:
validate in interface Validator<Status>
Parameters:
status - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid

validateStatusCode

protected void validateStatusCode(Status status)
                           throws ValidationException
Validates that given status has a status code.

Parameters:
status - status to validate
Throws:
ValidationException - thrown if the status does not have a status code