public class AttributeQuerySchemaValidator extends SubjectQuerySchemaValidator<AttributeQuery>
AttributeQuery
for Schema compliance.Constructor and Description |
---|
AttributeQuerySchemaValidator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(AttributeQuery query)
Checks to see if a XMLObject is valid.
|
protected void |
validateUniqueAttributeIdentifiers(AttributeQuery query)
Checks that all the attributes have a unique Name/NameFormat pair.
|
validateSubject
validateID, validateIssueInstant, validateVersion
public AttributeQuerySchemaValidator()
public void validate(AttributeQuery query) throws ValidationException
validate
in interface Validator<AttributeQuery>
validate
in class SubjectQuerySchemaValidator<AttributeQuery>
query
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateUniqueAttributeIdentifiers(AttributeQuery query) throws ValidationException
query
- the attribute query to validateValidationException
- thrown if more than on Name/NameFormat pair is found in the list of attributes in
this queryCopyright © 2018 JBoss by Red Hat. All rights reserved.