org.opensaml.saml2.metadata.validator
Class EntityDescriptorSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.metadata.validator.EntityDescriptorSchemaValidator
All Implemented Interfaces:
org.opensaml.xml.validation.Validator<EntityDescriptor>

public class EntityDescriptorSchemaValidator
extends Object
implements org.opensaml.xml.validation.Validator<EntityDescriptor>

Checks EntityDescriptor for Schema compliance.


Constructor Summary
EntityDescriptorSchemaValidator()
          Constructor
 
Method Summary
 void validate(EntityDescriptor entityDescriptor)
          
protected  void validateDescriptors(EntityDescriptor entityDescriptor)
          Checks that an AffiliationDescriptor OR one or more RoleDescriptors are present.
protected  void validateEntityID(EntityDescriptor entityDescriptor)
          Checks that EntityID is present and valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityDescriptorSchemaValidator

public EntityDescriptorSchemaValidator()
Constructor

Method Detail

validate

public void validate(EntityDescriptor entityDescriptor)
              throws org.opensaml.xml.validation.ValidationException

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

validateEntityID

protected void validateEntityID(EntityDescriptor entityDescriptor)
                         throws org.opensaml.xml.validation.ValidationException
Checks that EntityID is present and valid.

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

validateDescriptors

protected void validateDescriptors(EntityDescriptor entityDescriptor)
                            throws org.opensaml.xml.validation.ValidationException
Checks that an AffiliationDescriptor OR one or more RoleDescriptors are present.

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


Copyright © 2006-2013 Internet2. All Rights Reserved.