public class RoleDescriptorSchemaValidator<RoleDescriptorType extends RoleDescriptor> extends Object implements Validator<RoleDescriptorType>
RoleDescriptor
for Schema compliance.Constructor and Description |
---|
RoleDescriptorSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(RoleDescriptorType roleDescriptor)
Checks to see if a XMLObject is valid.
|
protected void |
validateProtocols(RoleDescriptor roleDescriptor)
Checks that one or more Protocols are present.
|
public void validate(RoleDescriptorType roleDescriptor) throws ValidationException
validate
in interface Validator<RoleDescriptorType extends RoleDescriptor>
roleDescriptor
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateProtocols(RoleDescriptor roleDescriptor) throws ValidationException
roleDescriptor
- ValidationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.