public class EncryptionPropertySchemaValidator extends Object implements Validator<EncryptionProperty>
EncryptionProperty
for Schema compliance.Constructor and Description |
---|
EncryptionPropertySchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(EncryptionProperty xmlObject)
Checks to see if a XMLObject is valid.
|
protected void |
validateAttributeNamespaces(EncryptionProperty xmlObject)
Validate that any wildcard attributes are from the
XML namespace
http://www.w3.org/XML/1998/namespace . |
protected void |
validateChildrenNamespaces(EncryptionProperty xmlObject)
Validate that all children are from another namespace.
|
protected void |
validateUnknownChildren(EncryptionProperty xmlObject)
Validate the unknown children.
|
public void validate(EncryptionProperty xmlObject) throws ValidationException
validate
in interface Validator<EncryptionProperty>
xmlObject
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateUnknownChildren(EncryptionProperty xmlObject) throws ValidationException
xmlObject
- the object to validateValidationException
- thrown if the object is invalidprotected void validateChildrenNamespaces(EncryptionProperty xmlObject) throws ValidationException
xmlObject
- the object to validateValidationException
- thrown if the object is invalidprotected void validateAttributeNamespaces(EncryptionProperty xmlObject) throws ValidationException
http://www.w3.org/XML/1998/namespace
.xmlObject
- the object to validateValidationException
- thrown if the object is invalidCopyright © 2018 JBoss by Red Hat. All rights reserved.