public class EndpointSchemaValidator<EndpointType extends Endpoint> extends Object implements Validator<EndpointType>
Endpoint
for Schema compliance.Constructor and Description |
---|
EndpointSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(EndpointType endpoint)
Checks to see if a XMLObject is valid.
|
protected void |
validateBinding(Endpoint endpoint)
Checks that Binding is present.
|
protected void |
validateLocation(Endpoint endpoint)
Checks that Location is present.
|
public void validate(EndpointType endpoint) throws ValidationException
validate
in interface Validator<EndpointType extends Endpoint>
endpoint
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateBinding(Endpoint endpoint) throws ValidationException
endpoint
- ValidationException
protected void validateLocation(Endpoint endpoint) throws ValidationException
endpoint
- ValidationException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.