org.opensaml.saml2.core.validator
Class ArtifactSchemaValidator

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

public class ArtifactSchemaValidator
extends java.lang.Object
implements org.opensaml.xml.validation.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 org.opensaml.xml.validation.ValidationException

Specified by:
validate in interface org.opensaml.xml.validation.Validator<Artifact>
Throws:
org.opensaml.xml.validation.ValidationException

validateArtifact

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

Parameters:
artifact - artifact to validate
Throws:
org.opensaml.xml.validation.ValidationException - if invalid


Copyright © 2006-2009 Internet2. All Rights Reserved.