org.opensaml.saml2.core.validator
Class AttributeStatementSchemaValidator

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

public class AttributeStatementSchemaValidator
extends Object
implements 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 ValidationException

Specified by:
validate in interface Validator<AttributeStatement>
Throws:
ValidationException

validateAttributes

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

Parameters:
attributeStatement -
Throws:
ValidationException


Copyright © 1999-2012. All Rights Reserved.