JXESchemaDefinitionTypepublic final class JXESchemaDefinition extends Object implements JXESchemaDefinitionType
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().| Modifier and Type | Class | Description |
|---|---|---|
static class |
JXESchemaDefinition.Builder |
Builds instances of type
JXESchemaDefinition. |
| Modifier and Type | Method | Description |
|---|---|---|
static JXESchemaDefinition.Builder |
builder() |
Creates a builder for
JXESchemaDefinition. |
boolean |
equals(Object another) |
This instance is equal to all instances of
JXESchemaDefinition that have equal attribute values. |
String |
fileIdentifier() |
|
int |
hashCode() |
Computes a hash code from attributes:
namespace, fileIdentifier. |
URL |
location() |
|
URI |
namespace() |
|
static JXESchemaDefinition |
of(URI namespace,
String fileIdentifier,
URL location) |
Construct a new immutable
JXESchemaDefinition instance. |
String |
toString() |
Prints the immutable value
JXESchemaDefinition with attribute values. |
public URI namespace()
namespace in interface JXESchemaDefinitionTypepublic String fileIdentifier()
fileIdentifier in interface JXESchemaDefinitionTypepublic URL location()
location in interface JXESchemaDefinitionTypepublic boolean equals(Object another)
JXESchemaDefinition that have equal attribute values.public int hashCode()
namespace, fileIdentifier.public String toString()
JXESchemaDefinition with attribute values.public static JXESchemaDefinition of(URI namespace, String fileIdentifier, URL location)
JXESchemaDefinition instance.namespace - The value for the namespace attributefileIdentifier - The value for the fileIdentifier attributelocation - The value for the location attributepublic static JXESchemaDefinition.Builder builder()
JXESchemaDefinition.Copyright © 2018 <code@io7m.com> http://io7m.com