org.opensaml.saml2.metadata.validator
Class GivenNameSchemaValidator

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

public class GivenNameSchemaValidator
extends java.lang.Object
implements Validator<GivenName>

Checks GivenName for Schema compliance.


Constructor Summary
GivenNameSchemaValidator()
          Constructor
 
Method Summary
 void validate(GivenName givenName)
          Checks to see if a XMLObject is valid.
protected  void validateName(GivenName givenName)
          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

GivenNameSchemaValidator

public GivenNameSchemaValidator()
Constructor

Method Detail

validate

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

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

validateName

protected void validateName(GivenName givenName)
                     throws ValidationException
Checks that Name is present.

Parameters:
givenName -
Throws:
ValidationException