org.opensaml.saml2.metadata.validator
Class SurNameSchemaValidator

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

public class SurNameSchemaValidator
extends Object
implements org.opensaml.xml.validation.Validator<SurName>

Checks SurName for Schema compliance.


Constructor Summary
SurNameSchemaValidator()
          Constructor
 
Method Summary
 void validate(SurName surName)
          
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 org.opensaml.xml.validation.ValidationException

Specified by:
validate in interface org.opensaml.xml.validation.Validator<SurName>
Throws:
org.opensaml.xml.validation.ValidationException

validateName

protected void validateName(SurName surName)
                     throws org.opensaml.xml.validation.ValidationException
Checks that Name is present.

Parameters:
surName -
Throws:
org.opensaml.xml.validation.ValidationException


Copyright © 2006-2011 Internet2. All Rights Reserved.