| Modifier and Type | Field and Description |
|---|---|
private boolean |
allowEmptyContent
Flag specifying whether empty element content should be allowed.
|
| Constructor and Description |
|---|
XSStringSchemaValidator()
Constructor.
|
XSStringSchemaValidator(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 |
validateStringContent(T xmlObject)
Validates the content of the XSBase64Binary object.
|
private boolean allowEmptyContent
public XSStringSchemaValidator(boolean allowEmptyElementContent)
allowEmptyElementContent - flag indicated whether empty content should be allowedpublic XSStringSchemaValidator()
public void validate(T xmlObject) throws ValidationException
validate in interface Validator<T extends XSString>xmlObject - the XMLObject to validateValidationException - thrown if the element is not validprotected boolean isAllowEmptyContent()
protected void validateStringContent(T xmlObject) throws ValidationException
xmlObject - the object to evaluateValidationException - thrown if the content of the Base64Binary object is invalidCopyright © 1999-2015. All Rights Reserved.