Namespace, DocumentWriter
| Modifier and Type | Class and Description |
|---|---|
| public static class | NamespaceRegistry.
Builder for |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Namespace | |
| private final Map | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static NamespaceRegistry. | |
| public static NamespaceRegistry. | |
| public boolean | Returns: whether the namespace is registeredthe namespace URI to look up uri)Check whether a namespace with the supplied URI is registered with this registry. |
| public Set | Returns: additional namespacesGet additional namespaces registered with this registry. |
| public Namespace | |
| public Optional | |
| public Map | Returns: schema locationsGet all schema locations registered with this registry. |
| additionalNamespaces | back to summary |
|---|---|
| private final Map<Namespace, String> additionalNamespaces | |
| defaultNamespace | back to summary |
|---|---|
| private final Namespace defaultNamespace | |
| schemaLocations | back to summary |
|---|---|
| private final Map<Namespace, String> schemaLocations | |
| XSI_PREFIX | back to summary |
|---|---|
| pack-priv static final String XSI_PREFIX | |
| NamespaceRegistry | back to summary |
|---|---|
| private NamespaceRegistry(Namespace defaultNamespace, Map<Namespace, String> schemaLocations, Map<Namespace, String> additionalNamespaces) | |
| builder | back to summary |
|---|---|
| public static NamespaceRegistry. Create a new builder with the supplied default namespace.
| |
| builder | back to summary |
|---|---|
| public static NamespaceRegistry. Create a new builder with the supplied default namespace and schema location.
| |
| containsUri | back to summary |
|---|---|
| public boolean containsUri(String uri) Check whether a namespace with the supplied URI is registered with this registry.
| |
| getAdditionalNamespaces | back to summary |
|---|---|
| public Set Get additional namespaces registered with this registry. | |
| getDefaultNamespace | back to summary |
|---|---|
| public Namespace getDefaultNamespace() Get the default namespace of this registry.
| |
| getPrefix | back to summary |
|---|---|
| public Optional Get the prefix for the supplied namespace registered with this registry. | |
| getSchemaLocations | back to summary |
|---|---|
| public Map Get all schema locations registered with this registry. | |
NamespaceRegistry.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Namespace | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public NamespaceRegistry. | |
| public NamespaceRegistry. | |
| public NamespaceRegistry |
| additionalNamespaces | back to summary |
|---|---|
| private final Map<Namespace, String> additionalNamespaces | |
| defaultNamespace | back to summary |
|---|---|
| private final Namespace defaultNamespace | |
| schemaLocations | back to summary |
|---|---|
| private final Map<Namespace, String> schemaLocations | |
| Builder | back to summary |
|---|---|
| private Builder(Namespace defaultNamespace, String schemaLocation) | |
| add | back to summary |
|---|---|
| public NamespaceRegistry. Add an additional namespace to this registry.
| |
| add | back to summary |
|---|---|
| public NamespaceRegistry. Add an additional namespace to this registry.
| |
| build | back to summary |
|---|---|
| public NamespaceRegistry build() Build the
| |