org.opensaml.saml2.core.validator
Class ActionSchemaValidator

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

public class ActionSchemaValidator
extends java.lang.Object
implements org.opensaml.xml.validation.Validator<Action>

Checks Action for Schema compliance.


Constructor Summary
ActionSchemaValidator()
          Constructor
 
Method Summary
 void validate(Action action)
          
protected  void validateAction(Action action)
          Checks that the Action label is present.
protected  void validateNamespace(Action action)
          Checks that the Namespace attribute is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionSchemaValidator

public ActionSchemaValidator()
Constructor

Method Detail

validate

public void validate(Action action)
              throws org.opensaml.xml.validation.ValidationException

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

validateAction

protected void validateAction(Action action)
                       throws org.opensaml.xml.validation.ValidationException
Checks that the Action label is present.

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

validateNamespace

protected void validateNamespace(Action action)
                          throws org.opensaml.xml.validation.ValidationException
Checks that the Namespace attribute is present.

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


Copyright © 2006-2012 Internet2. All Rights Reserved.