public interface IExternalGrammarLocationProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
DOCTYPE |
static String |
NO_NAMESPACE_SCHEMA_LOCATION |
static String |
RELAXNG |
static String |
SCHEMA_LOCATION |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getExternalGrammarLocation(URI fileURI)
Provided the file path URI, this will return the external schema location.
|
static final String SCHEMA_LOCATION
static final String NO_NAMESPACE_SCHEMA_LOCATION
static final String DOCTYPE
static final String RELAXNG
Map<String,String> getExternalGrammarLocation(URI fileURI)
http://apache.org/xml/properties/schema/external-schemaLocation - The value for this property follows the same rules as the schemaLocation attribute for an XML document (i.e., multiple schemas are acceptable and must be white-space separated).
http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation - The value for this property follows the same rules as the noNamespaceSchemaLocation attribute for an XML document (i.e., only one schema is allowed).
filePath - the path for the XML fileMap associating the external-schemaLocation and/or
external-noNamespaceSchemaLocation to the schema locationCopyright © 2024. All rights reserved.