Constructor and Description |
---|
XSIntegerSchemaValidator()
Constructor.
|
XSIntegerSchemaValidator(boolean allowEmptyElementContent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public XSIntegerSchemaValidator(boolean allowEmptyElementContent)
allowEmptyElementContent
- flag indicated whether empty content should be allowedpublic XSIntegerSchemaValidator()
public void validate(T xmlObject) throws ValidationException
validate
in interface Validator<T extends XSInteger>
xmlObject
- the XMLObject to validateValidationException
- thrown if the element is not validprotected boolean isAllowEmptyContent()
protected void validateIntegerContent(T xmlObject) throws ValidationException
xmlObject
- the object to evaluateValidationException
- thrown if the content of the Base64Binary object is invalidCopyright © 2018 JBoss by Red Hat. All rights reserved.