org.opensaml.saml2.metadata.validator
Class RoleDescriptorSchemaValidator<RoleDescriptorType extends RoleDescriptor>

java.lang.Object
  extended by org.opensaml.saml2.metadata.validator.RoleDescriptorSchemaValidator<RoleDescriptorType>
All Implemented Interfaces:
Validator<RoleDescriptorType>
Direct Known Subclasses:
AttributeAuthorityDescriptorSchemaValidator, AuthnAuthorityDescriptorSchemaValidator, PDPDescriptorSchemaValidator, SSODescriptorSchemaValidator

public class RoleDescriptorSchemaValidator<RoleDescriptorType extends RoleDescriptor>
extends Object
implements Validator<RoleDescriptorType>

Checks RoleDescriptor for Schema compliance.


Constructor Summary
RoleDescriptorSchemaValidator()
          Constructor
 
Method Summary
 void validate(RoleDescriptorType roleDescriptor)
          
protected  void validateProtocols(RoleDescriptor roleDescriptor)
          Checks that one or more Protocols are present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleDescriptorSchemaValidator

public RoleDescriptorSchemaValidator()
Constructor

Method Detail

validate

public void validate(RoleDescriptorType roleDescriptor)
              throws ValidationException

Specified by:
validate in interface Validator<RoleDescriptorType extends RoleDescriptor>
Throws:
ValidationException

validateProtocols

protected void validateProtocols(RoleDescriptor roleDescriptor)
                          throws ValidationException
Checks that one or more Protocols are present.

Parameters:
roleDescriptor -
Throws:
ValidationException


Copyright © 1999-2013. All Rights Reserved.