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