org.opensaml.saml2.core.validator
Class AttributeStatementSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.core.validator.AttributeStatementSchemaValidator
All Implemented Interfaces:
org.opensaml.xml.validation.Validator<AttributeStatement>

public class AttributeStatementSchemaValidator
extends java.lang.Object
implements org.opensaml.xml.validation.Validator<AttributeStatement>

Checks AttributeStatement for Schema compliance.


Constructor Summary
AttributeStatementSchemaValidator()
          Constructor
 
Method Summary
 void validate(AttributeStatement attributeStatement)
          
protected  void validateAttributes(AttributeStatement attributeStatement)
          Checks that at least one Attribute is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeStatementSchemaValidator

public AttributeStatementSchemaValidator()
Constructor

Method Detail

validate

public void validate(AttributeStatement attributeStatement)
              throws org.opensaml.xml.validation.ValidationException

Specified by:
validate in interface org.opensaml.xml.validation.Validator<AttributeStatement>
Throws:
org.opensaml.xml.validation.ValidationException

validateAttributes

protected void validateAttributes(AttributeStatement attributeStatement)
                           throws org.opensaml.xml.validation.ValidationException
Checks that at least one Attribute is present.

Parameters:
attributeStatement -
Throws:
org.opensaml.xml.validation.ValidationException


Copyright © 2006-2011 Internet2. All Rights Reserved.