| Constructor and Description |
|---|
KeyValueSchemaValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(KeyValue xmlObject)
Checks to see if a XMLObject is valid.
|
protected void |
validateChildrenPresence(KeyValue xmlObject)
Validate that exactly one child is present.
|
protected void |
validateExtensionChildNamespace(KeyValue xmlObject)
Validate that the extension child, if present, is from another namespace.
|
public void validate(KeyValue xmlObject) throws ValidationException
validate in interface Validator<KeyValue>xmlObject - the XMLObject to validateValidationException - thrown if the element is not validprotected void validateChildrenPresence(KeyValue xmlObject) throws ValidationException
xmlObject - the object to validateValidationException - thrown if the object is invalidprotected void validateExtensionChildNamespace(KeyValue xmlObject) throws ValidationException
xmlObject - the object to validateValidationException - thrown if the object is invalidCopyright © 1999-2015. All Rights Reserved.