public class ReferenceListSchemaValidator extends Object implements Validator<ReferenceList>
ReferenceList
for Schema compliance.Constructor and Description |
---|
ReferenceListSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(ReferenceList xmlObject)
Checks to see if a XMLObject is valid.
|
protected void |
validateReferences(ReferenceList xmlObject)
Validate the list of references.
|
public void validate(ReferenceList xmlObject) throws ValidationException
validate
in interface Validator<ReferenceList>
xmlObject
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateReferences(ReferenceList xmlObject) throws ValidationException
xmlObject
- the object to validateValidationException
- thrown if the object is invalidCopyright © 2018 JBoss by Red Hat. All rights reserved.