| Modifier and Type | Field and Description |
|---|---|
| pack-priv URL | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public | RewriteUri(String base, String
The uriStartString attribute. uriStartString, String The rewritePrefix attribute. rewritePrefix)Construct a rewriteURI entry. |
| Modifier and Type | Method and Description |
|---|---|
| public URL | |
| public String | |
| public String | Returns: The replacement URI if the match is successful, null if not.The systemId to be matched. systemId, int The length of uriStartString of previous match if any. currentMatch)Overrides javax. Try to match the specified systemId with the entry. |
| public String | match(String systemId)
Overrides javax. Matches the specified string with the identifier attribute of the entry. |
| public void | setRewritePrefix(String
The rewritePrefix attribute value. rewritePrefix)Set the rewritePrefix attribute. |
| public void | setURIStartString(String
The uriStartString attribute value. uriStartString)Set the uriStartString attribute. |
| rewritePrefix | back to summary |
|---|---|
| pack-priv URL rewritePrefix | |
| uriStartString | back to summary |
|---|---|
| pack-priv String uriStartString | |
| RewriteUri | back to summary |
|---|---|
| public RewriteUri(String base, String uriStartString, String rewritePrefix) Construct a rewriteURI entry. | |
| getRewritePrefix | back to summary |
|---|---|
| public URL getRewritePrefix() Get the rewritePrefix attribute.
| |
| getURIStartString | back to summary |
|---|---|
| public String getURIStartString() Get the uriStartString attribute.
| |
| match | back to summary |
|---|---|
| public String match(String systemId, int currentMatch) Overrides javax. Try to match the specified systemId with the entry. Return the match if it is successful and the length of the systemIdStartString is longer than the longest of any previous match. | |
| match | back to summary |
|---|---|
| public String match(String systemId) Overrides javax. Doc from javax. Matches the specified string with the identifier attribute of the entry.
| |
| setRewritePrefix | back to summary |
|---|---|
| public void setRewritePrefix(String rewritePrefix) Set the rewritePrefix attribute. If the value of the rewritePrefix attribute is relative, it must be made absolute with respect to the base URI currently in effect.
| |
| setURIStartString | back to summary |
|---|---|
| public void setURIStartString(String uriStartString) Set the uriStartString attribute.
| |