public class RoleDescriptorSchemaValidator<RoleDescriptorType extends RoleDescriptor> extends Object implements org.opensaml.xml.validation.Validator<RoleDescriptorType>
RoleDescriptor for Schema compliance.| Constructor and Description |
|---|
RoleDescriptorSchemaValidator()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
validate(RoleDescriptorType roleDescriptor) |
protected void |
validateProtocols(RoleDescriptor roleDescriptor)
Checks that one or more Protocols are present.
|
public void validate(RoleDescriptorType roleDescriptor) throws org.opensaml.xml.validation.ValidationException
validate in interface org.opensaml.xml.validation.Validator<RoleDescriptorType extends RoleDescriptor>org.opensaml.xml.validation.ValidationExceptionprotected void validateProtocols(RoleDescriptor roleDescriptor) throws org.opensaml.xml.validation.ValidationException
roleDescriptor - org.opensaml.xml.validation.ValidationExceptionCopyright © 1999–2015. All rights reserved.