org.opensaml.saml2.metadata.validator
Class OrganizationURLSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.metadata.validator.OrganizationURLSchemaValidator
All Implemented Interfaces:
Validator<OrganizationURL>

public class OrganizationURLSchemaValidator
extends java.lang.Object
implements Validator<OrganizationURL>

Checks OrganizationURL for Schema compliance.


Constructor Summary
OrganizationURLSchemaValidator()
          Constructor
 
Method Summary
 void validate(OrganizationURL organizationURL)
          Checks to see if a XMLObject is valid.
protected  void validateName(OrganizationURL organizationURL)
          Checks that URL is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrganizationURLSchemaValidator

public OrganizationURLSchemaValidator()
Constructor

Method Detail

validate

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

Specified by:
validate in interface Validator<OrganizationURL>
Parameters:
organizationURL - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid

validateName

protected void validateName(OrganizationURL organizationURL)
                     throws ValidationException
Checks that URL is present.

Parameters:
organizationURL -
Throws:
ValidationException