public class StatusCodeSchemaValidator extends Object implements org.opensaml.xml.validation.Validator<StatusCode>
StatusCode for Schema compliance.| Constructor and Description |
|---|
StatusCodeSchemaValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(StatusCode statusCode) |
protected void |
validateValue(StatusCode statusCode)
Validates that the status code has a value.
|
protected void |
validateValueContent(StatusCode statusCode)
Validates that the status code local name is one of the allowabled values.
|
public void validate(StatusCode statusCode) throws org.opensaml.xml.validation.ValidationException
validate in interface org.opensaml.xml.validation.Validator<StatusCode>org.opensaml.xml.validation.ValidationExceptionprotected void validateValue(StatusCode statusCode) throws org.opensaml.xml.validation.ValidationException
statusCode - status code to validateorg.opensaml.xml.validation.ValidationException - thrown if the status code does not have a valueprotected void validateValueContent(StatusCode statusCode) throws org.opensaml.xml.validation.ValidationException
statusCode - the status code to validateorg.opensaml.xml.validation.ValidationException - thrown if the status code local name is not an allowed valueCopyright © 1999–2015. All rights reserved.