Package com.io7m.jxe.core
Interface JXESchemaDefinitionType
- All Known Implementing Classes:
JXESchemaDefinition
@Immutable
public interface JXESchemaDefinitionType
The type of schema definitions.
A schema definition is typically used with a
JXEHardenedDispatchingResolver to
resolve schemas from internal Java resources. When an XML parser is required to
locate the XSD schema for a namespace n, it consults the map of
schema definitions and, if a schema exists with the given namespace URI,
passes the fileIdentifier() to the dispatching resolver which then
uses that identifier to open location().-
Method Summary
Modifier and Type Method Description java.lang.StringfileIdentifier()java.net.URLlocation()java.net.URInamespace()
-
Method Details
-
namespace
@Parameter java.net.URI namespace()- Returns:
- The schema namespace URI
-
fileIdentifier
@Parameter java.lang.String fileIdentifier()- Returns:
- The file identifier used to load the schema
-
location
@Parameter @Auxiliary java.net.URL location()- Returns:
- The schema location
-