org.opensaml.saml2.metadata.validator
Class EndpointSchemaValidator<EndpointType extends Endpoint>

java.lang.Object
  extended by org.opensaml.saml2.metadata.validator.EndpointSchemaValidator<EndpointType>
All Implemented Interfaces:
Validator<EndpointType>
Direct Known Subclasses:
AssertionIDRequestServiceSchemaValidator, AttributeServiceSchemaValidator, AuthnQueryServiceSchemaValidator, AuthzServiceSchemaValidator, IndexedEndpointSchemaValidator, ManageNameIDServiceSchemaValidator, NameIDMappingServiceSchemaValidator, NameIDMappingServiceSpecValidator, SingleLogoutServiceSchemaValidator, SingleSignOnServiceSchemaValidator, SingleSignOnServiceSpecValidator

public class EndpointSchemaValidator<EndpointType extends Endpoint>
extends Object
implements Validator<EndpointType>

Checks Endpoint for Schema compliance.


Constructor Summary
EndpointSchemaValidator()
          Constructor
 
Method Summary
 void validate(EndpointType endpoint)
          
protected  void validateBinding(Endpoint endpoint)
          Checks that Binding is present.
protected  void validateLocation(Endpoint endpoint)
          Checks that Location is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointSchemaValidator

public EndpointSchemaValidator()
Constructor

Method Detail

validate

public void validate(EndpointType endpoint)
              throws ValidationException

Specified by:
validate in interface Validator<EndpointType extends Endpoint>
Throws:
ValidationException

validateBinding

protected void validateBinding(Endpoint endpoint)
                        throws ValidationException
Checks that Binding is present.

Parameters:
endpoint -
Throws:
ValidationException

validateLocation

protected void validateLocation(Endpoint endpoint)
                         throws ValidationException
Checks that Location is present.

Parameters:
endpoint -
Throws:
ValidationException


Copyright © 1999-2012. All Rights Reserved.