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