org.opensaml.xml.signature.validator
Class X509SerialNumberSchemaValidator

java.lang.Object
  extended by org.opensaml.xml.signature.validator.X509SerialNumberSchemaValidator
All Implemented Interfaces:
Validator<X509SerialNumber>

public class X509SerialNumberSchemaValidator
extends Object
implements Validator<X509SerialNumber>

Checks X509SerialNumber for Schema compliance.


Constructor Summary
X509SerialNumberSchemaValidator()
           
 
Method Summary
 void validate(X509SerialNumber xmlObject)
          Checks to see if a XMLObject is valid.
protected  void validateContent(X509SerialNumber xmlObject)
          Validate the serial number content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509SerialNumberSchemaValidator

public X509SerialNumberSchemaValidator()
Method Detail

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.