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 java.lang.Object
implements Validator<EndpointType>

Checks Endpoint for Schema compliance.


Constructor Summary
EndpointSchemaValidator()
          Constructor
 
Method Summary
 void validate(EndpointType endpoint)
          Checks to see if a XMLObject is valid.
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
Checks to see if a XMLObject is valid.

Specified by:
validate in interface Validator<EndpointType extends Endpoint>
Parameters:
endpoint - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid

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