org.opensaml.xml.signature.validator
Class DSAKeyValueSchemaValidator

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

public class DSAKeyValueSchemaValidator
extends Object
implements Validator<DSAKeyValue>

Checks DSAKeyValue for Schema compliance.


Constructor Summary
DSAKeyValueSchemaValidator()
           
 
Method Summary
 void validate(DSAKeyValue xmlObject)
          Checks to see if a XMLObject is valid.
protected  void validateChildrenPresence(DSAKeyValue xmlObject)
          Validate that all children are present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSAKeyValueSchemaValidator

public DSAKeyValueSchemaValidator()
Method Detail

validate

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

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

validateChildrenPresence

protected void validateChildrenPresence(DSAKeyValue xmlObject)
                                 throws ValidationException
Validate that all children are present.

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


Copyright © 1999-2012. All Rights Reserved.