org.opensaml.saml2.core.validator
Class NameIDSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.core.validator.NameIDSchemaValidator
All Implemented Interfaces:
org.opensaml.xml.validation.Validator<NameID>

public class NameIDSchemaValidator
extends Object
implements org.opensaml.xml.validation.Validator<NameID>

Checks NameID for Schema compliance.


Constructor Summary
NameIDSchemaValidator()
          Constructor
 
Method Summary
 void validate(NameID nameID)
          
protected  void validateName(NameID nameID)
          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

NameIDSchemaValidator

public NameIDSchemaValidator()
Constructor

Method Detail

validate

public void validate(NameID nameID)
              throws org.opensaml.xml.validation.ValidationException

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

validateName

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

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


Copyright © 2006-2011 Internet2. All Rights Reserved.