org.opensaml.xml.signature.validator
Class X509SerialNumberSchemaValidator
java.lang.Object
org.opensaml.xml.signature.validator.X509SerialNumberSchemaValidator
- All Implemented Interfaces:
- Validator<X509SerialNumber>
public class X509SerialNumberSchemaValidator
- extends Object
- implements Validator<X509SerialNumber>
Checks X509SerialNumber
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X509SerialNumberSchemaValidator
public X509SerialNumberSchemaValidator()
validate
public void validate(X509SerialNumber xmlObject)
throws ValidationException
- Checks to see if a XMLObject is valid.
- Specified by:
validate
in interface Validator<X509SerialNumber>
- Parameters:
xmlObject
- the XMLObject to validate
- Throws:
ValidationException
- thrown if the element is not valid
validateContent
protected void validateContent(X509SerialNumber xmlObject)
throws ValidationException
- Validate the serial number content.
- Parameters:
xmlObject
- the object to validate
- Throws:
ValidationException
- thrown if the object is invalid
Copyright © 2006-2011 Internet2. All Rights Reserved.