Top Description Fields Constructors Methods
javax.xml.catalog

pack-priv final Class SystemSuffix

extends BaseEntry
Class Inheritance
Imports
java.net.URL

Represents a systemSuffix entry.
Since
9

Field Summary

Modifier and TypeField and Description
pack-priv String
pack-priv URL
Inherited from javax.xml.catalog.BaseEntry:
baseSpecifiedbaseURIidmatchIdSLASHtype

Constructor Summary

AccessConstructor and Description
public
SystemSuffix(String base, String
The systemIdSuffix attribute.
systemIdSuffix
,
String
The uri attribute.
uri
)

Construct a systemSuffix entry.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The systemIdSuffix
getSystemIdSuffix
()

Get the systemIdSuffix attribute.

public URL

Returns:

The uri attribute value.
getURI
()

Get the uri attribute.

public String

Returns:

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

Overrides javax.xml.catalog.BaseEntry.match.

Try to match the specified systemId with the entry.

public String

Returns:

The replacement URI if the match is successful, null if not.
match
(String
The systemId to be matched.
systemId
)

Overrides javax.xml.catalog.BaseEntry.match.

Try to match the specified systemId with the entry.

public void
setSystemIdSuffix(String
The systemIdSuffix attribute value.
systemIdSuffix
)

Set the systemIdSuffix attribute.

public void
setURI(String
The uri attribute value.
uri
)

Set the uri attribute.

Inherited from javax.xml.catalog.BaseEntry:
getBaseURIgetIdgetMatchIdgetTypesetBaseURIsetIdsetMatchIdsetTypeverifyURI

Field Detail

systemIdSuffixback to summary
pack-priv String systemIdSuffix
uriback to summary
pack-priv URL uri

Constructor Detail

SystemSuffixback to summary
public SystemSuffix(String base, String systemIdSuffix, String uri)

Construct a systemSuffix entry.

Parameters
systemIdSuffix:String

The systemIdSuffix attribute.

uri:String

The uri attribute.

Method Detail

getSystemIdSuffixback to summary
public String getSystemIdSuffix()

Get the systemIdSuffix attribute.

Returns:String

The systemIdSuffix

getURIback to summary
public URL getURI()

Get the uri attribute.

Returns:URL

The uri attribute value.

matchback to summary
public String match(String systemId, int currentMatch)

Overrides javax.xml.catalog.BaseEntry.match.

Try to match the specified systemId with the entry. Return the match if it is successful and the length of the systemIdSuffix is longer than the longest of any previous match.

Parameters
systemId:String

The systemId to be matched.

currentMatch:int

The length of systemIdSuffix of previous match if any.

Returns:String

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

Annotations
@Override
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 replacement URI if the match is successful, null if not.

Annotations
@Override
setSystemIdSuffixback to summary
public void setSystemIdSuffix(String systemIdSuffix)

Set the systemIdSuffix attribute.

Parameters
systemIdSuffix:String

The systemIdSuffix attribute value.

setURIback to summary
public void setURI(String uri)

Set the uri attribute. If the value of the uri attribute is relative, it must be made absolute with respect to the base URI currently in effect. The URI reference should not include a fragment identifier.

Parameters
uri:String

The uri attribute value.