Constructor and Description |
---|
ArtifactSchemaValidator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public void validate(Artifact artifact) throws ValidationException
validate
in interface Validator<Artifact>
artifact
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateArtifact(Artifact artifact) throws ValidationException
artifact
- artifact to validateValidationException
- if invalidCopyright © 2018 JBoss by Red Hat. All rights reserved.