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 java.lang.Object
implements Validator<Artifact>

Checks Artifact for Schema compliance.


Constructor Summary
ArtifactSchemaValidator()
          Constructor
 
Method Summary
 void validate(Artifact artifact)
          Checks to see if a XMLObject is valid.
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
Checks to see if a XMLObject is valid.

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

validateArtifact

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

Parameters:
artifact -
Throws:
ValidationException