public class XMLValidator extends Object
| Constructor and Description |
|---|
XMLValidator(Class clazz,
Map<String,String> systemIdToResourcePath) |
XMLValidator(Class clazz,
String systemId,
String resourcePath) |
public Document validate(DocumentSource source) throws NullPointerException, IOException
source - the source to validateIOException - any IOException thrown by using the provided URLNullPointerException - if the provided URL is nullCopyright © 2016 JBoss by Red Hat. All Rights Reserved.