org.opensaml.xml.encryption.validator
Class CipherReferenceSchemaValidator

java.lang.Object
  extended by org.opensaml.xml.encryption.validator.CipherReferenceSchemaValidator
All Implemented Interfaces:
Validator<CipherReference>

public class CipherReferenceSchemaValidator
extends Object
implements Validator<CipherReference>

Checks CipherReference for Schema compliance.


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

Constructor Detail

CipherReferenceSchemaValidator

public CipherReferenceSchemaValidator()
Method Detail

validate

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

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

validateURI

protected void validateURI(CipherReference xmlObject)
                    throws ValidationException
Validate the URI.

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


Copyright © 2006-2011 Internet2. All Rights Reserved.