org.opensaml.xml.signature.validator
Class TransformSchemaValidator

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

public class TransformSchemaValidator
extends java.lang.Object
implements Validator<Transform>

Checks Transform for Schema compliance.


Constructor Summary
TransformSchemaValidator()
           
 
Method Summary
 void validate(Transform xmlObject)
          Checks to see if a XMLObject is valid.
protected  void validateAlgorithm(Transform xmlObject)
          Validate the algorithm URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformSchemaValidator

public TransformSchemaValidator()
Method Detail

validate

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

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

validateAlgorithm

protected void validateAlgorithm(Transform xmlObject)
                          throws ValidationException
Validate the algorithm URI.

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


Copyright © 2006-2010 Internet2. All Rights Reserved.