org.opensaml.xml.signature.validator
Class X509DigestSchemaValidator

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

public class X509DigestSchemaValidator
extends Object
implements Validator<X509Digest>

Checks X509Digest for Schema compliance.


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

Constructor Detail

X509DigestSchemaValidator

public X509DigestSchemaValidator()
Method Detail

validate

public void validate(X509Digest xmlObject)
              throws ValidationException
Checks to see if a XMLObject is valid.

Specified by:
validate in interface Validator<X509Digest>
Parameters:
xmlObject - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid

validateContent

protected void validateContent(X509Digest xmlObject)
                        throws ValidationException
Validate the digest content.

Parameters:
xmlObject - the object to validate
Throws:
ValidationException - thrown if the object is invalid


Copyright © 1999-2013. All Rights Reserved.