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 java.lang.Object
implements Validator<AttributeStatement>

Checks AttributeStatement for Schema compliance.


Constructor Summary
AttributeStatementSchemaValidator()
          Constructor
 
Method Summary
 void validate(AttributeStatement attributeStatement)
          Checks to see if a XMLObject is valid.
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
Checks to see if a XMLObject is valid.

Specified by:
validate in interface Validator<AttributeStatement>
Parameters:
attributeStatement - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid

validateAttributes

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

Parameters:
attributeStatement -
Throws:
ValidationException