|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.signature.validator.KeyValueSchemaValidator
public class KeyValueSchemaValidator
Checks KeyValue for Schema compliance.
| Constructor Summary | |
|---|---|
KeyValueSchemaValidator()
|
|
| Method Summary | |
|---|---|
void |
validate(KeyValue xmlObject)
Checks to see if a XMLObject is valid. |
protected void |
validateChildrenPresence(KeyValue xmlObject)
Validate that exactly one child is present. |
protected void |
validateExtensionChildNamespace(KeyValue xmlObject)
Validate that the extension child, if present, is from another namespace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyValueSchemaValidator()
| Method Detail |
|---|
public void validate(KeyValue xmlObject)
throws ValidationException
validate in interface Validator<KeyValue>xmlObject - the XMLObject to validate
ValidationException - thrown if the element is not valid
protected void validateChildrenPresence(KeyValue xmlObject)
throws ValidationException
xmlObject - the object to validate
ValidationException - thrown if the object is invalid
protected void validateExtensionChildNamespace(KeyValue xmlObject)
throws ValidationException
xmlObject - the object to validate
ValidationException - thrown if the object is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||