public class AttributeSchemaValidator extends AttributeDesignatorSchemaValidator<Attribute>
Attribute for Schema compliance.| Constructor and Description |
|---|
AttributeSchemaValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(Attribute attribute) |
protected void |
validateAttributeValue(Attribute attribute)
Validates that the attribute has at least one attribute value.
|
validateName, validateNameSpacepublic void validate(Attribute attribute) throws org.opensaml.xml.validation.ValidationException
validate in interface org.opensaml.xml.validation.Validator<Attribute>validate in class AttributeDesignatorSchemaValidator<Attribute>org.opensaml.xml.validation.ValidationExceptionprotected void validateAttributeValue(Attribute attribute) throws org.opensaml.xml.validation.ValidationException
attribute - attribute to validateorg.opensaml.xml.validation.ValidationException - thrown if the attribute does not have any valuesCopyright © 1999–2015. All rights reserved.