org.opensaml.saml2.metadata.validator
Class OrganizationNameSchemaValidator

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

public class OrganizationNameSchemaValidator
extends java.lang.Object
implements Validator<OrganizationName>

Checks OrganizationName for Schema compliance.


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

Constructor Detail

OrganizationNameSchemaValidator

public OrganizationNameSchemaValidator()
Constructor

Method Detail

validate

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

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

validateName

protected void validateName(OrganizationName organizationName)
                     throws ValidationException
Checks that Name is present.

Parameters:
organizationName -
Throws:
ValidationException