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

java.lang.Object
  extended by org.opensaml.saml2.core.validator.RequestAbstractTypeSchemaValidator<RequestType>
All Implemented Interfaces:
Validator<RequestType>
Direct Known Subclasses:
ArtifactResolveSchemaValidator, AssertionIDRequestSchemaValidator, AuthnRequestSchemaValidator, LogoutRequestSchemaValidator, ManageNameIDRequestSchemaValidator, NameIDMappingRequestSchemaValidator, SubjectQuerySchemaValidator

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

Checks RequestAbstractType for Schema compliance.


Constructor Summary
RequestAbstractTypeSchemaValidator()
          Constructor
 
Method Summary
 void validate(RequestType request)
          Checks to see if a XMLObject is valid.
protected  void validateID(RequestAbstractType request)
          Validates the ID attribute
protected  void validateIssueInstant(RequestAbstractType request)
          Validates the IsssueInstant attribute
protected  void validateVersion(RequestAbstractType request)
          Validates the Version attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestAbstractTypeSchemaValidator

public RequestAbstractTypeSchemaValidator()
Constructor

Method Detail

validate

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

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

validateID

protected void validateID(RequestAbstractType request)
                   throws ValidationException
Validates the ID attribute

Parameters:
request -
Throws:
ValidationException

validateVersion

protected void validateVersion(RequestAbstractType request)
                        throws ValidationException
Validates the Version attribute

Parameters:
request -
Throws:
ValidationException

validateIssueInstant

protected void validateIssueInstant(RequestAbstractType request)
                             throws ValidationException
Validates the IsssueInstant attribute

Parameters:
request -
Throws:
ValidationException