org.opensaml.saml2.metadata.validator
Class TelephoneNumberSchemaValidator

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

public class TelephoneNumberSchemaValidator
extends Object
implements Validator<TelephoneNumber>

Checks TelephoneNumber for Schema compliance.


Constructor Summary
TelephoneNumberSchemaValidator()
          Constructor
 
Method Summary
 void validate(TelephoneNumber telephoneNumber)
          
protected  void validateNumber(TelephoneNumber telephoneNumber)
          Checks that Number is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelephoneNumberSchemaValidator

public TelephoneNumberSchemaValidator()
Constructor

Method Detail

validate

public void validate(TelephoneNumber telephoneNumber)
              throws ValidationException

Specified by:
validate in interface Validator<TelephoneNumber>
Throws:
ValidationException

validateNumber

protected void validateNumber(TelephoneNumber telephoneNumber)
                       throws ValidationException
Checks that Number is present.

Parameters:
telephoneNumber -
Throws:
ValidationException


Copyright © 1999-2013. All Rights Reserved.