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