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