| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv List | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv List | |
| pack-priv SAXParser | |
| pack-priv CatalogResolver. | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public | CatalogImpl(CatalogFeatures
the features object f, URI... the uri(s) to one or more catalogs uris)Construct a Catalog with specified URI. |
| public | CatalogImpl(CatalogImpl
The parent catalog parent, CatalogFeatures the features object f, URI... the uri(s) to one or more catalogs uris)Construct a Catalog with specified URI. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | addNextCatalog(NextCatalog
a catalog specified in a nextCatalog entry catalog)Adds the catalog to the nextCatalog list |
| public Stream | catalogs()
Implements javax. Returns a sequential Stream of alternative Catalogs specified using the
|
| pack-priv Catalog | Returns: a Catalog objectthe parent catalog for the alternative catalogs to be loaded.
It will be null if the ones to be loaded are from the input list. parent, URI the path to a catalog uri)Returns a Catalog object by the specified path. |
| public Catalog | |
| private SAXParser | |
| public final CatalogResolver. | |
| private void | |
| public boolean | Returns: true if the prefer attribute is set to system, false if not.Queries the defer attribute |
| public boolean | |
| pack-priv boolean | Returns: true if the instance is the top Catalog, false otherwiseReturns whether this Catalog instance is the top (main) Catalog. |
| pack-priv void | |
| pack-priv int | Returns: a count of all loaded catalogsReturns a count of all loaded catalogs, including delegate catalogs. |
| pack-priv void | |
| pack-priv void | |
| private void | |
| public void | reset()
Overrides javax. Resets the Catalog instance to its initial state. |
| pack-priv void | saveLoadedCatalog(String
the catalogId associated with the Catalog object catalogId, CatalogImpl the Catalog to be saved c)Saves a loaded Catalog. |
| public final void | |
| public final void |
| current | back to summary |
|---|---|
| pack-priv int current | |
| inputFiles | back to summary |
|---|---|
| pack-priv List<String> inputFiles | |
| isDeferred | back to summary |
|---|---|
| pack-priv boolean isDeferred | |
| isEmpty | back to summary |
|---|---|
| pack-priv boolean isEmpty | |
| level | back to summary |
|---|---|
| pack-priv int level | |
| nextCatalogs | back to summary |
|---|---|
| pack-priv List<NextCatalog> nextCatalogs | |
| parser | back to summary |
|---|---|
| pack-priv SAXParser parser | |
| resolveType | back to summary |
|---|---|
| pack-priv CatalogResolver. | |
| systemId | back to summary |
|---|---|
| pack-priv String systemId | |
| CatalogImpl | back to summary |
|---|---|
| public CatalogImpl(CatalogFeatures f, URI... uris) throws CatalogException Construct a Catalog with specified URI.
| |
| CatalogImpl | back to summary |
|---|---|
| public CatalogImpl(CatalogImpl parent, CatalogFeatures f, URI... uris) throws CatalogException Construct a Catalog with specified URI.
| |
| addNextCatalog | back to summary |
|---|---|
| pack-priv void addNextCatalog(NextCatalog catalog) Adds the catalog to the nextCatalog list
| |
| catalogs | back to summary |
|---|---|
| public Stream Implements javax. Doc from javax. Returns a sequential Stream of alternative Catalogs specified using the
The order of Catalogs in the returned stream is the same as the order
in which the corresponding
| |
| getCatalog | back to summary |
|---|---|
| pack-priv Catalog getCatalog(CatalogImpl parent, URI uri) Returns a Catalog object by the specified path.
| |
| getParent | back to summary |
|---|---|
| public Catalog getParent() Gets the parent of this catalog.
| |
| getParser | back to summary |
|---|---|
| private SAXParser getParser() Returns a SAXParser instance
| |
| getResolve | back to summary |
|---|---|
| public final CatalogResolver. Gets the value of the resolve attribute
| |
| init | back to summary |
|---|---|
| private void init(CatalogFeatures f) | |
| isDeferred | back to summary |
|---|---|
| public boolean isDeferred() Queries the defer attribute
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Indicate that the catalog is empty
| |
| isTop | back to summary |
|---|---|
| pack-priv boolean isTop() Returns whether this Catalog instance is the top (main) Catalog.
| |
| load | back to summary |
|---|---|
| pack-priv void load() Loads the catalog | |
| loadedCatalogCount | back to summary |
|---|---|
| pack-priv int loadedCatalogCount() Returns a count of all loaded catalogs, including delegate catalogs.
| |
| loadNextCatalogs | back to summary |
|---|---|
| pack-priv void loadNextCatalogs() Loads all alternative catalogs. | |
| markAsSearched | back to summary |
|---|---|
| pack-priv void markAsSearched() Marks the Catalog as being searched already. | |
| parse | back to summary |
|---|---|
| private void parse(String systemId) Parses the catalog.
| |
| reset | back to summary |
|---|---|
| public void reset() Overrides javax. Resets the Catalog instance to its initial state.
| |
| saveLoadedCatalog | back to summary |
|---|---|
| pack-priv void saveLoadedCatalog(String catalogId, CatalogImpl c) Saves a loaded Catalog.
| |
| setDeferred | back to summary |
|---|---|
| public final void setDeferred(String value) Sets the defer property. If the value is null or empty, or any String other than the defined, it will be assumed as the default value.
| |
| setResolve | back to summary |
|---|---|
| public final void setResolve(String value) Sets the resolve property. If the value is null or empty, or any String other than the defined, it will be assumed as the default value.
| |