org.opensaml.saml2.metadata.validator
Class PDPDescriptorSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.metadata.validator.RoleDescriptorSchemaValidator<PDPDescriptor>
      extended by org.opensaml.saml2.metadata.validator.PDPDescriptorSchemaValidator
All Implemented Interfaces:
Validator<PDPDescriptor>

public class PDPDescriptorSchemaValidator
extends RoleDescriptorSchemaValidator<PDPDescriptor>

Checks PDPDescriptor for Schema compliance.


Constructor Summary
PDPDescriptorSchemaValidator()
          Constructor
 
Method Summary
 void validate(PDPDescriptor pdpDescriptor)
          Checks to see if a XMLObject is valid.
protected  void validateAuthzServices(PDPDescriptor pdpDescriptor)
          Checks that one or more Authz Services are present.
 
Methods inherited from class org.opensaml.saml2.metadata.validator.RoleDescriptorSchemaValidator
validateProtocols
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDPDescriptorSchemaValidator

public PDPDescriptorSchemaValidator()
Constructor

Method Detail

validate

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

Specified by:
validate in interface Validator<PDPDescriptor>
Overrides:
validate in class RoleDescriptorSchemaValidator<PDPDescriptor>
Parameters:
pdpDescriptor - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid

validateAuthzServices

protected void validateAuthzServices(PDPDescriptor pdpDescriptor)
                              throws ValidationException
Checks that one or more Authz Services are present.

Parameters:
pdpDescriptor -
Throws:
ValidationException