public class AttributeStatementSchemaValidator extends Object implements Validator<AttributeStatement>
AttributeStatement
for Schema compliance.Constructor and Description |
---|
AttributeStatementSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(AttributeStatement attributeStatement)
Checks to see if a XMLObject is valid.
|
protected void |
validateAttributes(AttributeStatement attributeStatement)
Checks that at least one Attribute is present.
|
public AttributeStatementSchemaValidator()
public void validate(AttributeStatement attributeStatement) throws ValidationException
validate
in interface Validator<AttributeStatement>
attributeStatement
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateAttributes(AttributeStatement attributeStatement) throws ValidationException
attributeStatement
- ValidationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.