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

pack-priv final Class PublicEntry

extends BaseEntry
Class Inheritance
Imports
java.net.URL

Represents a public 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
PublicEntry(String base, String
The publicId attribute.
publicId
,
String
The uri attribute.
uri
)

Construct a public entry.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The publicId
getPublicId
()

Get the publicId attribute.

public URL

Returns:

The uri attribute value.
getURI
()

Get the uri attribute.

public String
match(String publicId)

Overrides javax.xml.catalog.BaseEntry.match.

Matches the specified string with the identifier attribute of the entry.

public void
setPublicId(String
The publicId attribute value.
publicId
)

Set the publicId attribute.

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

Set the uri attribute.

Inherited from javax.xml.catalog.BaseEntry:
getBaseURIgetIdgetMatchIdgetTypematchsetBaseURIsetIdsetMatchIdsetTypeverifyURI

Field Detail

publicIdback to summary
pack-priv String publicId
uriback to summary
pack-priv URL uri

Constructor Detail

PublicEntryback to summary
public PublicEntry(String base, String publicId, String uri)

Construct a public entry.

Parameters
publicId:String

The publicId attribute.

uri:String

The uri attribute.

Method Detail

getPublicIdback to summary
public String getPublicId()

Get the publicId attribute.

Returns:String

The publicId

getURIback to summary
public URL getURI()

Get the uri attribute.

Returns:URL

The uri attribute value.

matchback to summary
public String match(String publicId)

Overrides javax.xml.catalog.BaseEntry.match.

Doc from javax.xml.catalog.BaseEntry.match.

Matches the specified string with the identifier attribute of the entry.

Annotations
@Override
setPublicIdback to summary
public void setPublicId(String publicId)

Set the publicId attribute.

Parameters
publicId:String

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