public class TelephoneNumberSchemaValidator extends Object implements Validator<TelephoneNumber>
TelephoneNumber for Schema compliance.| コンストラクタと説明 |
|---|
TelephoneNumberSchemaValidator()
Constructor
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
validate(TelephoneNumber telephoneNumber)
Checks to see if a XMLObject is valid.
|
protected void |
validateNumber(TelephoneNumber telephoneNumber)
Checks that Number is present.
|
public void validate(TelephoneNumber telephoneNumber) throws ValidationException
validate インタフェース内 Validator<TelephoneNumber>telephoneNumber - the XMLObject to validateValidationException - thrown if the element is not validprotected void validateNumber(TelephoneNumber telephoneNumber) throws ValidationException
telephoneNumber - ValidationExceptionCopyright © 2012. All Rights Reserved.