org.opensaml.saml2.core.validator
Class ArtifactSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.core.validator.ArtifactSchemaValidator
All Implemented Interfaces:
Validator<Artifact>

public class ArtifactSchemaValidator
extends Object
implements Validator<Artifact>

Checks Artifact for Schema compliance.


Constructor Summary
ArtifactSchemaValidator()
          Constructor.
 
Method Summary
 void validate(Artifact artifact)
          
protected  void validateArtifact(Artifact artifact)
          Test that Artifact element content is not empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactSchemaValidator

public ArtifactSchemaValidator()
Constructor.

Method Detail

validate

public void validate(Artifact artifact)
              throws ValidationException

Specified by:
validate in interface Validator<Artifact>
Throws:
ValidationException

validateArtifact

protected void validateArtifact(Artifact artifact)
                         throws ValidationException
Test that Artifact element content is not empty.

Parameters:
artifact - artifact to validate
Throws:
ValidationException - if invalid


Copyright © 1999-2013. All Rights Reserved.