public interface IExternalSchemaLocationProvider
Modifier and Type | Field and Description |
---|---|
static String |
NO_NAMESPACE_SCHEMA_LOCATION |
static String |
SCHEMA_LOCATION |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getExternalSchemaLocation(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
Map<String,String> getExternalSchemaLocation(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 © 2020. All rights reserved.