org.opensaml.saml2.core.validator
Class NewIDSchemaValidator

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

public class NewIDSchemaValidator
extends java.lang.Object
implements Validator<NewID>

Checks NewID for Schema compliance.


Constructor Summary
NewIDSchemaValidator()
          Constructor
 
Method Summary
 void validate(NewID newid)
          Checks to see if a XMLObject is valid.
protected  void validateNewID(NewID newid)
          Validate the element content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewIDSchemaValidator

public NewIDSchemaValidator()
Constructor

Method Detail

validate

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

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

validateNewID

protected void validateNewID(NewID newid)
                      throws ValidationException
Validate the element content.

Parameters:
newid -
Throws:
ValidationException