|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.saml2.metadata.validator.EntityDescriptorSpecValidator
public class EntityDescriptorSpecValidator
Checks EntityDescriptor
for Spec compliance.
Constructor Summary | |
---|---|
EntityDescriptorSpecValidator()
Constructor |
Method Summary | |
---|---|
void |
validate(EntityDescriptor entityDescriptor)
Checks to see if a XMLObject is valid. |
protected void |
validateRoot(EntityDescriptor entityDescriptor)
Checks that at least either Valid Until or Cache Duration is present when Entity Descriptor is root element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityDescriptorSpecValidator()
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 validateRoot(EntityDescriptor entityDescriptor) throws ValidationException
entityDescriptor
-
ValidationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |