org.opensaml.saml2.core.validator
Class AttributeSchemaValidator
java.lang.Object
org.opensaml.saml2.core.validator.AttributeSchemaValidator
- All Implemented Interfaces:
- org.opensaml.xml.validation.Validator<Attribute>
public class AttributeSchemaValidator
- extends Object
- implements org.opensaml.xml.validation.Validator<Attribute>
Checks Attribute
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeSchemaValidator
public AttributeSchemaValidator()
- Constructor
validate
public void validate(Attribute attribute)
throws org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<Attribute>
- Throws:
org.opensaml.xml.validation.ValidationException
validateName
protected void validateName(Attribute attribute)
throws org.opensaml.xml.validation.ValidationException
- Checks that the Name attribute is present.
- Parameters:
attribute
-
- Throws:
org.opensaml.xml.validation.ValidationException
Copyright © 2006-2010 Internet2. All Rights Reserved.