|
XMLTooling-J 1.3.2-redhat-4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.xml.schema.validator.XSDateTimeSchemaValidator<T>
T
- the type to be validatedpublic class XSDateTimeSchemaValidator<T extends XSDateTime>
Checks XSDateTime
for Schema compliance.
Constructor Summary | |
---|---|
XSDateTimeSchemaValidator()
Constructor. |
|
XSDateTimeSchemaValidator(boolean allowEmptyContent)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSDateTimeSchemaValidator(boolean allowEmptyContent)
allowEmptyContent
- flag indicated whether empty content should be allowedpublic XSDateTimeSchemaValidator()
Method Detail |
---|
protected boolean isAllowEmptyContent()
public void validate(T xmlObject) throws ValidationException
validate
in interface Validator<T extends XSDateTime>
xmlObject
- the XMLObject to validate
ValidationException
- thrown if the element is not validprotected void validateDateTimeContent(T xmlObject) throws ValidationException
xmlObject
- the object to evaluate
ValidationException
- thrown if the content of the object is invalid
|
XMLTooling-J 1.3.2-redhat-4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |