|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.schema.validator.XSBase64BinarySchemaValidator<T>
T
- the type to be validatedpublic class XSBase64BinarySchemaValidator<T extends XSBase64Binary>
Checks XSBase64Binary
for Schema compliance.
Constructor Summary | |
---|---|
XSBase64BinarySchemaValidator()
Constructor. |
|
XSBase64BinarySchemaValidator(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 |
validateBase64BinaryContent(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 XSBase64BinarySchemaValidator(boolean allowEmptyElementContent)
allowEmptyElementContent
- flag indicated whether empty content should be allowedpublic XSBase64BinarySchemaValidator()
Method Detail |
---|
public void validate(T xmlObject) throws ValidationException
validate
in interface Validator<T extends XSBase64Binary>
xmlObject
- the XMLObject to validate
ValidationException
- thrown if the element is not validprotected boolean isAllowEmptyContent()
protected void validateBase64BinaryContent(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 |