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
IOException
SAXException
Copyright © 2018 JBoss, a division of Red Hat, Inc.. All Rights Reserved.