public class RetrievalMethodSchemaValidator extends Object implements Validator<RetrievalMethod>
RetrievalMethod
for Schema compliance.Constructor and Description |
---|
RetrievalMethodSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(RetrievalMethod xmlObject)
Checks to see if a XMLObject is valid.
|
protected void |
validateURI(RetrievalMethod xmlObject)
Validate the URI.
|
public void validate(RetrievalMethod xmlObject) throws ValidationException
validate
in interface Validator<RetrievalMethod>
xmlObject
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateURI(RetrievalMethod xmlObject) throws ValidationException
xmlObject
- the object to validateValidationException
- thrown if the object is invalidCopyright © 2018 JBoss by Red Hat. All rights reserved.