org.opensaml.saml2.core.validator
Class ArtifactSchemaValidator
java.lang.Object
org.opensaml.saml2.core.validator.ArtifactSchemaValidator
- All Implemented Interfaces:
- Validator<Artifact>
public class ArtifactSchemaValidator
- extends Object
- implements Validator<Artifact>
Checks Artifact
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactSchemaValidator
public ArtifactSchemaValidator()
- Constructor.
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.