|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.signature.validator.KeyInfoTypeSchemaValidator
public class KeyInfoTypeSchemaValidator
Checks KeyInfoType for Schema compliance.
| Constructor Summary | |
|---|---|
KeyInfoTypeSchemaValidator()
|
|
| Method Summary | |
|---|---|
protected static java.util.Set<javax.xml.namespace.QName> |
getValidDSChildNames()
Get the QNames corresponding to the valid KeyInfo children defined in the XML Signature namespace. |
void |
validate(KeyInfoType xmlObject)
Checks to see if a XMLObject is valid. |
protected void |
validateChildrenNamespaces(KeyInfoType xmlObject)
Validate that all children are either ones defined within the XML Signature schema, or are from another namespace. |
protected void |
validateChildrenPresence(KeyInfoType xmlObject)
Validate that at least child is present. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyInfoTypeSchemaValidator()
| Method Detail |
|---|
public void validate(KeyInfoType xmlObject)
throws ValidationException
validate in interface Validator<KeyInfoType>xmlObject - the XMLObject to validate
ValidationException - thrown if the element is not validprotected static java.util.Set<javax.xml.namespace.QName> getValidDSChildNames()
protected void validateChildrenPresence(KeyInfoType xmlObject)
throws ValidationException
xmlObject - the object to validate
ValidationException - thrown if the object is invalid
protected void validateChildrenNamespaces(KeyInfoType 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 | |||||||||