public static class XmlCatalog.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
XmlCatalog |
build()
gets the catalog based on the state of the builder
|
XmlCatalog.Builder |
withPublicMapping(String entity,
URI uri)
With public mapping.
|
XmlCatalog.Builder |
withRewriteUri(URI startString,
URI rewritePrefix)
With uri mapping.
|
XmlCatalog.Builder |
withSystemIdMapping(URI sysId,
URI uri)
With systemId mapping.
|
XmlCatalog.Builder |
withUriMapping(URI name,
URI uri)
With uri mapping.
|
public XmlCatalog.Builder withPublicMapping(String entity, URI uri)
entity - the entityuri - the uripublic XmlCatalog.Builder withSystemIdMapping(URI sysId, URI uri)
sysId - the sys iduri - the uripublic XmlCatalog.Builder withUriMapping(URI name, URI uri)
name - the nameuri - the uripublic XmlCatalog.Builder withRewriteUri(URI startString, URI rewritePrefix)
name - the nameuri - the uripublic XmlCatalog build()
Copyright © 2010–2025 The DAISY Consortium. All rights reserved.