Top Description Fields Constructors Methods
javax.xml.catalog

pack-priv final Class DelegateSystem

extends AltCatalog
Class Inheritance
Imports
java.net.URI

Represents a delegateSystem entry.
Since
9

Field Summary

Modifier and TypeField and Description
pack-priv String
Inherited from javax.xml.catalog.AltCatalog:
catalogURI

Constructor Summary

AccessConstructor and Description
public
DelegateSystem(String base, String
The systemIdStartString attribute.
systemIdStartString
,
String
The catalog attribute.
catalog
)

Construct a delegateSystem entry.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The systemIdStartString
getSystemIdStartString
()

Get the systemIdStartString attribute.

public String

Returns:

The URI of the catalog.
match
(String
The systemId to be matched.
systemId
)

Overrides javax.xml.catalog.BaseEntry.match.

Try to match the specified systemId with the entry.
public URI

Returns:

The replacement URI if the match is successful, null if not.
matchURI
(String
The systemId to be matched.
systemId
,
int
The length of systemIdStartString of previous match if any.
currentMatch
)

Overrides javax.xml.catalog.AltCatalog.matchURI.

Matches the specified publicId with the entry.
public void
setSystemIdStartString(String
The systemIdStartString attribute value.
systemIdStartString
)

Set the systemIdStartString attribute.

Inherited from javax.xml.catalog.AltCatalog:
getCatalogIdgetCatalogURIsetCatalog

Field Detail

systemIdStartStringback to summary
pack-priv String systemIdStartString

Constructor Detail

DelegateSystemback to summary
public DelegateSystem(String base, String systemIdStartString, String catalog)

Construct a delegateSystem entry.

Parameters
systemIdStartString:String

The systemIdStartString attribute.

catalog:String

The catalog attribute.

Method Detail

getSystemIdStartStringback to summary
public String getSystemIdStartString()

Get the systemIdStartString attribute.

Returns:String

The systemIdStartString

matchback to summary
public String match(String systemId)

Overrides javax.xml.catalog.BaseEntry.match.

Try to match the specified systemId with the entry.

Parameters
systemId:String

The systemId to be matched.

Returns:String

The URI of the catalog.

Annotations
@Override
matchURIback to summary
public URI matchURI(String systemId, int currentMatch)

Overrides javax.xml.catalog.AltCatalog.matchURI.

Matches the specified publicId 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.

Parameters
systemId:String

The systemId to be matched.

currentMatch:int

The length of systemIdStartString of previous match if any.

Returns:URI

The replacement URI if the match is successful, null if not.

Annotations
@Override
setSystemIdStartStringback to summary
public void setSystemIdStartString(String systemIdStartString)

Set the systemIdStartString attribute.

Parameters
systemIdStartString:String

The systemIdStartString attribute value.