org.opensaml.saml2.metadata.validator
Class EmailAddressSchemaValidator

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

public class EmailAddressSchemaValidator
extends java.lang.Object
implements Validator<EmailAddress>

Checks EmailAddress for Schema compliance.


Constructor Summary
EmailAddressSchemaValidator()
          Constructor
 
Method Summary
 void validate(EmailAddress emailAddress)
          Checks to see if a XMLObject is valid.
protected  void validateAddress(EmailAddress emailAddress)
          Checks that Address is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailAddressSchemaValidator

public EmailAddressSchemaValidator()
Constructor

Method Detail

validate

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

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

validateAddress

protected void validateAddress(EmailAddress emailAddress)
                        throws ValidationException
Checks that Address is present.

Parameters:
emailAddress -
Throws:
ValidationException