|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.saml2.metadata.validator.EntityDescriptorSchemaValidator
public class EntityDescriptorSchemaValidator
Checks EntityDescriptor
for Schema compliance.
Constructor Summary | |
---|---|
EntityDescriptorSchemaValidator()
Constructor |
Method Summary | |
---|---|
void |
validate(EntityDescriptor entityDescriptor)
Checks to see if a XMLObject is valid. |
protected void |
validateDescriptors(EntityDescriptor entityDescriptor)
Checks that an AffiliationDescriptor OR one or more RoleDescriptors are present. |
protected void |
validateEntityID(EntityDescriptor entityDescriptor)
Checks that EntityID is present and valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityDescriptorSchemaValidator()
Method Detail |
---|
public void validate(EntityDescriptor entityDescriptor) throws ValidationException
validate
in interface Validator<EntityDescriptor>
entityDescriptor
- the XMLObject to validate
ValidationException
- thrown if the element is not validprotected void validateEntityID(EntityDescriptor entityDescriptor) throws ValidationException
entityDescriptor
-
ValidationException
protected void validateDescriptors(EntityDescriptor entityDescriptor) throws ValidationException
entityDescriptor
-
ValidationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |