org.opensaml.saml2.metadata.validator
Class SurNameSchemaValidator

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

public class SurNameSchemaValidator
extends java.lang.Object
implements Validator<SurName>

Checks SurName for Schema compliance.


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

SurNameSchemaValidator

public SurNameSchemaValidator()
Constructor

Method Detail

validate

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

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

validateName

protected void validateName(SurName surName)
                     throws ValidationException
Checks that Name is present.

Parameters:
surName -
Throws:
ValidationException