org.opensaml.saml2.metadata.validator
Class RequestedAttributeSchemaValidator

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

public class RequestedAttributeSchemaValidator
extends java.lang.Object
implements Validator<RequestedAttribute>

Checks RequestedAttribute for Schema compliance.


Constructor Summary
RequestedAttributeSchemaValidator()
          Constructor
 
Method Summary
 void validate(RequestedAttribute attribute)
          Checks to see if a XMLObject is valid.
protected  void validateName(RequestedAttribute attribute)
          Checks that the Name attribute is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestedAttributeSchemaValidator

public RequestedAttributeSchemaValidator()
Constructor

Method Detail

validate

public void validate(RequestedAttribute attribute)
              throws ValidationException
Checks to see if a XMLObject is valid.

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

validateName

protected void validateName(RequestedAttribute attribute)
                     throws ValidationException
Checks that the Name attribute is present.

Parameters:
attribute -
Throws:
ValidationException