| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | Returns: the absolute form of the specified urithe base, that is the system id of the catalog within the
Catalog implementation base, String the specified uri uri)Returns the absolute form of the specified uri after resolving it against the base. |
| pack-priv static String[] | Returns: the catalog file paths, or null if not found.the name of system property sysPropertyName)Find catalog file paths by reading the system property, and then jaxp.properties if the system property is not specified. |
| pack-priv static String | Returns: the original string with leading and trailing spaces removed, or null if it is null or emptythe string to be tested test)Checks whether the specified string is null or empty, returns the original string with leading and trailing spaces removed if not. |
| pack-priv static boolean | |
| pack-priv static boolean | Returns: true if the resource exists, false otherwise.the URI to locate the resource uri, boolean a flag to indicate whether a JAR file should be
opened. This operation may be expensive. openJarFile)Verifies whether the file resource exists. |
| pack-priv static String | Returns: the resolved systemId if a match is found, null otherwisethe catalog catalog, String the publicId publicId, String the systemId systemId)Finds an entry in the catalog that matches with the publicId or systemId. |
| pack-priv static void | validateFeatureInput(CatalogFeatures.
the feature f,the value value)Validates the input for features. |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void |
| PUBLICID_PREFIX | back to summary |
|---|---|
| pack-priv static final String PUBLICID_PREFIX | |
| PUBLICID_PREFIX_ALT | back to summary |
|---|---|
| pack-priv static final String PUBLICID_PREFIX_ALT | |
| SCHEME_FILE | back to summary |
|---|---|
| pack-priv static final String SCHEME_FILE | |
| SCHEME_JAR | back to summary |
|---|---|
| pack-priv static final String SCHEME_JAR | |
| SCHEME_JARFILE | back to summary |
|---|---|
| pack-priv static final String SCHEME_JARFILE | |
| URN | back to summary |
|---|---|
| pack-priv static final String URN | |
| Util | back to summary |
|---|---|
| pack-priv Util() | |
| getAbsoluteURI | back to summary |
|---|---|
| pack-priv static String getAbsoluteURI(String base, String uri) Returns the absolute form of the specified uri after resolving it against the base. Returns the uri as is if it's already absolute.
| |
| getCatalogFiles | back to summary |
|---|---|
| pack-priv static String[] getCatalogFiles(String sysPropertyName) Find catalog file paths by reading the system property, and then jaxp.properties if the system property is not specified. | |
| getNotNullOrEmpty | back to summary |
|---|---|
| pack-priv static String getNotNullOrEmpty(String test) Checks whether the specified string is null or empty, returns the original string with leading and trailing spaces removed if not. | |
| isFileUri | back to summary |
|---|---|
| pack-priv static boolean isFileUri(URI uri) Checks whether the URI is a file URI, including JAR file.
| |
| isFileUriExist | back to summary |
|---|---|
| pack-priv static boolean isFileUriExist(URI uri, boolean openJarFile) Verifies whether the file resource exists.
| |
| resolve | back to summary |
|---|---|
| pack-priv static String resolve(CatalogImpl catalog, String publicId, String systemId) Finds an entry in the catalog that matches with the publicId or systemId. The resolution follows the following rules determined by the prefer setting: prefer "system": attempts to resolve with a system entry; attempts to resolve with a public entry when only publicId is specified. prefer "public": attempts to resolve with a system entry; attempts to resolve with a public entry if no matching system entry is found. If no match is found, continue searching uri entries
| |
| validateFeatureInput | back to summary |
|---|---|
| pack-priv static void validateFeatureInput(CatalogFeatures. Validates the input for features.
| |
| validateUrisSyntax | back to summary |
|---|---|
| pack-priv static void validateUrisSyntax(URI... uris) | |
| validateUrisSyntax | back to summary |
|---|---|
| pack-priv static void validateUrisSyntax(String... uris) | |
| validateUriSyntax | back to summary |
|---|---|
| pack-priv static void validateUriSyntax(URI uri) Validate that the URI must be absolute and a valid URL. Note that this method does not verify the existence of the resource. The Catalog standard requires that such resources be ignored.
| |