org.opensaml.saml2.core.validator
Class StatusSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.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()
          Constructor
 
Method Summary
 void validate(Status status)
          Checks to see if a XMLObject is valid.
protected  void validateStatusCode(Status status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusSchemaValidator

public StatusSchemaValidator()
Constructor

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
Throws:
ValidationException