public class XMLValidator extends Object
| Constructor and Description |
|---|
XMLValidator(Class clazz,
Map<String,String> systemIdToResourcePath) |
XMLValidator(Class clazz,
String systemId,
String resourcePath) |
| Modifier and Type | Method and Description |
|---|---|
Document |
validate(DocumentSource source)
Parse and validate the specified resource.
|
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 © 2017 JBoss by Red Hat. All Rights Reserved.