org.opensaml.xml.signature.validator
Class X509IssuerSerialSchemaValidator

java.lang.Object
  extended by org.opensaml.xml.signature.validator.X509IssuerSerialSchemaValidator
All Implemented Interfaces:
Validator<X509IssuerSerial>

public class X509IssuerSerialSchemaValidator
extends Object
implements Validator<X509IssuerSerial>

Checks X509IssuerSerial for Schema compliance.


Constructor Summary
X509IssuerSerialSchemaValidator()
           
 
Method Summary
 void validate(X509IssuerSerial xmlObject)
          Checks to see if a XMLObject is valid.
protected  void validateChildrenPresence(X509IssuerSerial xmlObject)
          Validate that exactly one child is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509IssuerSerialSchemaValidator

public X509IssuerSerialSchemaValidator()
Method Detail

validate

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

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

validateChildrenPresence

protected void validateChildrenPresence(X509IssuerSerial xmlObject)
                                 throws ValidationException
Validate that exactly one child is present.

Parameters:
xmlObject - the object to validate
Throws:
ValidationException - thrown if the object is invalid


Copyright © 1999-2013. All Rights Reserved.