org.opensaml.saml2.metadata.validator
Class TelephoneNumberSchemaValidator
java.lang.Object
org.opensaml.saml2.metadata.validator.TelephoneNumberSchemaValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<TelephoneNumber>
public class TelephoneNumberSchemaValidator
- extends Object
- implements org.opensaml.xml.validation.Validator<TelephoneNumber>
Checks TelephoneNumber
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TelephoneNumberSchemaValidator
public TelephoneNumberSchemaValidator()
- Constructor
validate
public void validate(TelephoneNumber telephoneNumber)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<TelephoneNumber>
- Throws:
org.opensaml.xml.validation.ValidationException
validateNumber
protected void validateNumber(TelephoneNumber telephoneNumber)
throws org.opensaml.xml.validation.ValidationException
- Checks that Number is present.
- Parameters:
telephoneNumber
-
- Throws:
org.opensaml.xml.validation.ValidationException
Copyright © 2006-2010 Internet2. All Rights Reserved.