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