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

pack-priv final Class UriEntry

extends BaseEntry
Class Inheritance
Imports
java.net.URL

Represents a uri 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
UriEntry(String base, String
The name attribute.
name
,
String
The uri attribute.
uri
)

Construct a uri entry.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The name
getName
()

Get the name attribute.

public URL

Returns:

The uri attribute value.
getURI
()

Get the uri attribute.

public String
match(String name)

Overrides javax.xml.catalog.BaseEntry.match.

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

public void
setName(String
The name attribute value.
name
)

Set the name attribute.

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

Set the uri attribute.

Inherited from javax.xml.catalog.BaseEntry:
getBaseURIgetIdgetMatchIdgetTypematchsetBaseURIsetIdsetMatchIdsetTypeverifyURI

Field Detail

nameback to summary
pack-priv String name
uriback to summary
pack-priv URL uri

Constructor Detail

UriEntryback to summary
public UriEntry(String base, String name, String uri)

Construct a uri entry.

Parameters
name:String

The name attribute.

uri:String

The uri attribute.

Method Detail

getNameback to summary
public String getName()

Get the name attribute.

Returns:String

The name

getURIback to summary
public URL getURI()

Get the uri attribute.

Returns:URL

The uri attribute value.

matchback to summary
public String match(String name)

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
setNameback to summary
public void setName(String name)

Set the name attribute.

Parameters
name:String

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

Parameters
uri:String

The uri attribute value.