APIdia Launch Partner
Top Description Fields Constructors Methods
javax.xml.catalog

pack-priv final Class SystemEntry

extends BaseEntry
Class Inheritance
Imports
java.net.URL

Represents a system 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
SystemEntry(String base, String
The systemId attribute.
systemId
,
String
The uri attribute.
uri
)

Construct a system entry.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The systemId
getSystemId
()

Get the systemId 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
)

Overrides javax.xml.catalog.BaseEntry.match.

Try to match the specified string with the entry

public void
setSystemId(String
The systemId attribute value.
systemId
)

Set the systemId attribute.

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

Set the uri attribute.

Inherited from javax.xml.catalog.BaseEntry:
getBaseURIgetIdgetMatchIdgetTypematchsetBaseURIsetIdsetMatchIdsetTypeverifyURI

Field Detail

systemIdback to summary
pack-priv String systemId
uriback to summary
pack-priv URL uri

Constructor Detail

SystemEntryback to summary
public SystemEntry(String base, String systemId, String uri)

Construct a system entry.

Parameters
systemId:String

The systemId attribute.

uri:String

The uri attribute.

Method Detail

getSystemIdback to summary
public String getSystemId()

Get the systemId attribute.

Returns:String

The systemId

getURIback to summary
public URL getURI()

Get the uri attribute.

Returns:URL

The uri attribute value.

matchback to summary
public String match(String systemId)

Overrides javax.xml.catalog.BaseEntry.match.

Try to match the specified string 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
setSystemIdback to summary
public void setSystemId(String systemId)

Set the systemId attribute.

Parameters
systemId:String

The systemId 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.