public class AttributeDesignatorSchemaValidator<AttributeDesignatorType extends AttributeDesignator> extends Object implements Validator<AttributeDesignatorType>
AttributeDesignator
for Schema compliance.Constructor and Description |
---|
AttributeDesignatorSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(AttributeDesignatorType attributeDesignator)
Checks to see if a XMLObject is valid.
|
protected void |
validateName(AttributeDesignator designator)
Checks that the AttributeName attribute is present and valid
|
protected void |
validateNameSpace(AttributeDesignator designator)
Checks that the AttributeNameSpace attribute is present and valid
|
public void validate(AttributeDesignatorType attributeDesignator) throws ValidationException
validate
in interface Validator<AttributeDesignatorType extends AttributeDesignator>
attributeDesignator
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateNameSpace(AttributeDesignator designator) throws ValidationException
designator
- ValidationException
protected void validateName(AttributeDesignator designator) throws ValidationException
designator
- ValidationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.