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