org.opensaml.saml1.core.validator
Class RequestAbstractTypeSchemaValidator<RequestType extends RequestAbstractType>

java.lang.Object
  extended by org.opensaml.saml1.core.validator.RequestAbstractTypeSchemaValidator<RequestType>
All Implemented Interfaces:
Validator<RequestType>
Direct Known Subclasses:
RequestSchemaValidator

public class RequestAbstractTypeSchemaValidator<RequestType extends RequestAbstractType>
extends java.lang.Object
implements Validator<RequestType>

Checks RequestAbstractType for Schema compliance.


Constructor Summary
RequestAbstractTypeSchemaValidator()
           
 
Method Summary
 void validate(RequestType requestAbstractType)
          Checks to see if a XMLObject is valid.
protected  void validateID(RequestAbstractType request)
          Validate that the ID is present and valid
protected  void validateIssueInstant(RequestAbstractType request)
          Validate that the IssueInstant is present.
protected  void validateVersion(RequestAbstractType request)
          Validates that this is SAML1.0 or SAML 1.1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestAbstractTypeSchemaValidator

public RequestAbstractTypeSchemaValidator()
Method Detail

validate

public void validate(RequestType requestAbstractType)
              throws ValidationException
Checks to see if a XMLObject is valid.

Specified by:
validate in interface Validator<RequestType extends RequestAbstractType>
Parameters:
requestAbstractType - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid

validateVersion

protected void validateVersion(RequestAbstractType request)
                        throws ValidationException
Validates that this is SAML1.0 or SAML 1.1

Parameters:
request -
Throws:
ValidationException

validateID

protected void validateID(RequestAbstractType request)
                   throws ValidationException
Validate that the ID is present and valid

Parameters:
request -
Throws:
ValidationException

validateIssueInstant

protected void validateIssueInstant(RequestAbstractType request)
                             throws ValidationException
Validate that the IssueInstant is present.

Parameters:
request -
Throws:
ValidationException