public class XMLSchemaValidator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_SCHEMA_VALIDATION |
| Constructor and Description |
|---|
XMLSchemaValidator(EntityResolver entityResolver,
LSResourceResolver resourceResolver) |
XMLSchemaValidator(XMLResourceResolver resolver) |
public static final String PROPERTY_SCHEMA_VALIDATION
public XMLSchemaValidator(XMLResourceResolver resolver)
public XMLSchemaValidator(EntityResolver entityResolver, LSResourceResolver resourceResolver)
public void validate(String schemaLocation, InputStream xmlInput) throws IOException, SAXException
IOExceptionSAXExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.