org.opensaml.xml.signature.validator
Class X509IssuerSerialSchemaValidator
java.lang.Object
org.opensaml.xml.signature.validator.X509IssuerSerialSchemaValidator
- All Implemented Interfaces:
- Validator<X509IssuerSerial>
public class X509IssuerSerialSchemaValidator
- extends Object
- implements Validator<X509IssuerSerial>
Checks X509IssuerSerial
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X509IssuerSerialSchemaValidator
public X509IssuerSerialSchemaValidator()
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.