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