org.opensaml.saml2.metadata.validator
Class ContactPersonSchemaValidator

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

public class ContactPersonSchemaValidator
extends java.lang.Object
implements Validator<ContactPerson>

Checks ContactPerson for Schema compliance.


Constructor Summary
ContactPersonSchemaValidator()
          Constructor
 
Method Summary
 void validate(ContactPerson contactPerson)
          Checks to see if a XMLObject is valid.
protected  void validateType(ContactPerson contactPerson)
          Checks that Type is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactPersonSchemaValidator

public ContactPersonSchemaValidator()
Constructor

Method Detail

validate

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

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

validateType

protected void validateType(ContactPerson contactPerson)
                     throws ValidationException
Checks that Type is present.

Parameters:
contactPerson -
Throws:
ValidationException