|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.xml.signature.validator.X509DataSchemaValidator
public class X509DataSchemaValidator
Checks X509Data
for Schema compliance.
Constructor Summary | |
---|---|
X509DataSchemaValidator()
|
Method Summary | |
---|---|
protected static Set<QName> |
getValidDSChildNames()
Get the QNames corresponding to the valid children defined in the XML Signature namespace. |
void |
validate(X509Data xmlObject)
Checks to see if a XMLObject is valid. |
protected void |
validateChildrenNamespaces(X509Data xmlObject)
Validate that all children are either ones defined within the XML Signature schema, or are from another namespace. |
protected void |
validateChildrenPresence(X509Data 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 X509DataSchemaValidator()
Method Detail |
---|
public void validate(X509Data xmlObject) throws ValidationException
validate
in interface Validator<X509Data>
xmlObject
- the XMLObject to validate
ValidationException
- thrown if the element is not validprotected static Set<QName> getValidDSChildNames()
protected void validateChildrenPresence(X509Data xmlObject) throws ValidationException
xmlObject
- the object to validate
ValidationException
- thrown if the object is invalidprotected void validateChildrenNamespaces(X509Data 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 |