T - the type to be validatedpublic class XSDateTimeSchemaValidator<T extends XSDateTime> extends Object implements Validator<T>
XSDateTime for Schema compliance.| コンストラクタと説明 |
|---|
XSDateTimeSchemaValidator()
Constructor.
|
XSDateTimeSchemaValidator(boolean allowEmptyContent)
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected boolean |
isAllowEmptyContent()
Get the flag which determines whether empty content should be allowed.
|
void |
validate(T xmlObject)
Checks to see if a XMLObject is valid.
|
protected void |
validateDateTimeContent(T xmlObject)
Validates the content of the XSDateTime object.
|
public XSDateTimeSchemaValidator(boolean allowEmptyContent)
allowEmptyContent - flag indicated whether empty content should be allowedpublic XSDateTimeSchemaValidator()
protected boolean isAllowEmptyContent()
public void validate(T xmlObject) throws ValidationException
validate インタフェース内 Validator<T extends XSDateTime>xmlObject - the XMLObject to validateValidationException - thrown if the element is not validprotected void validateDateTimeContent(T xmlObject) throws ValidationException
xmlObject - the object to evaluateValidationException - thrown if the content of the object is invalidCopyright © 2012. All Rights Reserved.