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:
org.opensaml.xml.validation.Validator<RoleDescriptorType>
Direct Known Subclasses:
AttributeAuthorityDescriptorSchemaValidator, AuthnAuthorityDescriptorSchemaValidator, PDPDescriptorSchemaValidator, SSODescriptorSchemaValidator

public class RoleDescriptorSchemaValidator<RoleDescriptorType extends RoleDescriptor>
extends Object
implements org.opensaml.xml.validation.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 org.opensaml.xml.validation.ValidationException

Specified by:
validate in interface org.opensaml.xml.validation.Validator<RoleDescriptorType extends RoleDescriptor>
Throws:
org.opensaml.xml.validation.ValidationException

validateProtocols

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

Parameters:
roleDescriptor -
Throws:
org.opensaml.xml.validation.ValidationException


Copyright © 2006-2011 Internet2. All Rights Reserved.