|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.saml1.core.validator.AttributeDesignatorSchemaValidator<Attribute>
org.opensaml.saml1.core.validator.AttributeSchemaValidator
public class AttributeSchemaValidator
Checks Attribute
for Schema compliance.
Constructor Summary | |
---|---|
AttributeSchemaValidator()
|
Method Summary | |
---|---|
void |
validate(Attribute attribute)
Checks to see if a XMLObject is valid. |
protected void |
validateAttributeValue(Attribute attribute)
Validates that the attribute has at least one attribute value. |
Methods inherited from class org.opensaml.saml1.core.validator.AttributeDesignatorSchemaValidator |
---|
validateName, validateNameSpace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeSchemaValidator()
Method Detail |
---|
public void validate(Attribute attribute) throws ValidationException
validate
in interface Validator<Attribute>
validate
in class AttributeDesignatorSchemaValidator<Attribute>
attribute
- the XMLObject to validate
ValidationException
- thrown if the element is not validprotected void validateAttributeValue(Attribute attribute) throws ValidationException
attribute
- attribute to validate
ValidationException
- thrown if the attribute does not have any values
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |