org.opensaml.xml.signature.validator
Class RetrievalMethodSchemaValidator

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

public class RetrievalMethodSchemaValidator
extends Object
implements Validator<RetrievalMethod>

Checks RetrievalMethod for Schema compliance.


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

Constructor Detail

RetrievalMethodSchemaValidator

public RetrievalMethodSchemaValidator()
Method Detail

validate

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

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

validateURI

protected void validateURI(RetrievalMethod 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.