public class ServiceDescriptionSchemaValidator extends Object implements Validator<ServiceDescription>
ServiceDescription
for Schema compliance.Constructor and Description |
---|
ServiceDescriptionSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(ServiceDescription serviceDescription)
Checks to see if a XMLObject is valid.
|
protected void |
validateDescription(ServiceDescription serviceDescription)
Checks that Description is present.
|
public ServiceDescriptionSchemaValidator()
public void validate(ServiceDescription serviceDescription) throws ValidationException
validate
in interface Validator<ServiceDescription>
serviceDescription
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateDescription(ServiceDescription serviceDescription) throws ValidationException
serviceDescription
- ValidationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.