org.opensaml.saml2.metadata.validator
Class AttributeConsumingServiceSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.metadata.validator.AttributeConsumingServiceSchemaValidator
All Implemented Interfaces:
Validator<AttributeConsumingService>

public class AttributeConsumingServiceSchemaValidator
extends Object
implements Validator<AttributeConsumingService>

Checks AttributeConsumingService for Schema compliance.


Constructor Summary
AttributeConsumingServiceSchemaValidator()
          Constructor
 
Method Summary
 void validate(AttributeConsumingService attributeConsumingService)
          
protected  void validateIndex(AttributeConsumingService attributeConsumingService)
          Checks that Index is positive.
protected  void validateRequestedAttributes(AttributeConsumingService attributeConsumingService)
          Checks that one or more Requested Attributes are present.
protected  void validateServiceNames(AttributeConsumingService attributeConsumingService)
          Checks that one or more Service Names are present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeConsumingServiceSchemaValidator

public AttributeConsumingServiceSchemaValidator()
Constructor

Method Detail

validate

public void validate(AttributeConsumingService attributeConsumingService)
              throws ValidationException

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

validateIndex

protected void validateIndex(AttributeConsumingService attributeConsumingService)
                      throws ValidationException
Checks that Index is positive.

Parameters:
attributeConsumingService -
Throws:
ValidationException

validateServiceNames

protected void validateServiceNames(AttributeConsumingService attributeConsumingService)
                             throws ValidationException
Checks that one or more Service Names are present.

Parameters:
attributeConsumingService -
Throws:
ValidationException

validateRequestedAttributes

protected void validateRequestedAttributes(AttributeConsumingService attributeConsumingService)
                                    throws ValidationException
Checks that one or more Requested Attributes are present.

Parameters:
attributeConsumingService -
Throws:
ValidationException


Copyright © 1999-2013. All Rights Reserved.