Constructor and Description |
---|
AttributeSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(Attribute attribute)
Checks to see if a XMLObject is valid.
|
protected void |
validateName(Attribute attribute)
Checks that the Name attribute is present.
|
public void validate(Attribute attribute) throws ValidationException
validate
in interface Validator<Attribute>
attribute
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateName(Attribute attribute) throws ValidationException
attribute
- ValidationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.