public class

XMLResourceIdentifierImpl

extends Object
implements XMLResourceIdentifier
java.lang.Object
   ↳ org.apache.xerces.util.XMLResourceIdentifierImpl
Known Direct Subclasses

Class Overview

The XMLResourceIdentifierImpl class is an implementation of the XMLResourceIdentifier interface which defines the location identity of a resource.

Summary

Fields
protected String fBaseSystemId The base system identifier.
protected String fExpandedSystemId The expanded system identifier.
protected String fLiteralSystemId The literal system identifier.
protected String fNamespace The namespace of the resource.
protected String fPublicId The public identifier.
Public Constructors
XMLResourceIdentifierImpl()
Constructs an empty resource identifier.
XMLResourceIdentifierImpl(String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)
Constructs a resource identifier.
XMLResourceIdentifierImpl(String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, String namespace)
Constructs a resource identifier.
Public Methods
void clear()
Clears the values.
String getBaseSystemId()
Returns the base URI against which the literal SystemId is to be resolved.
String getExpandedSystemId()
Returns the expanded system identifier.
String getLiteralSystemId()
Returns the literal system identifier.
String getNamespace()
Returns the namespace of the resource.
String getPublicId()
Returns the public identifier.
int hashCode()
Returns a hash code for this object.
void setBaseSystemId(String baseSystemId)
Sets the base system identifier.
void setExpandedSystemId(String expandedSystemId)
Sets the expanded system identifier.
void setLiteralSystemId(String literalSystemId)
Sets the literal system identifier.
void setNamespace(String namespace)
Sets the namespace of the resource.
void setPublicId(String publicId)
Sets the public identifier.
void setValues(String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)
Sets the values of the resource identifier.
void setValues(String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, String namespace)
Sets the values of the resource identifier.
String toString()
Returns a string representation of this object.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.xerces.xni.XMLResourceIdentifier

Fields

protected String fBaseSystemId

The base system identifier.

protected String fExpandedSystemId

The expanded system identifier.

protected String fLiteralSystemId

The literal system identifier.

protected String fNamespace

The namespace of the resource.

protected String fPublicId

The public identifier.

Public Constructors

public XMLResourceIdentifierImpl ()

Constructs an empty resource identifier.

public XMLResourceIdentifierImpl (String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)

Constructs a resource identifier.

Parameters
publicId The public identifier.
literalSystemId The literal system identifier.
baseSystemId The base system identifier.
expandedSystemId The expanded system identifier.

public XMLResourceIdentifierImpl (String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, String namespace)

Constructs a resource identifier.

Parameters
publicId The public identifier.
literalSystemId The literal system identifier.
baseSystemId The base system identifier.
expandedSystemId The expanded system identifier.
namespace The namespace.

Public Methods

public void clear ()

Clears the values.

public String getBaseSystemId ()

Returns the base URI against which the literal SystemId is to be resolved.

public String getExpandedSystemId ()

Returns the expanded system identifier.

public String getLiteralSystemId ()

Returns the literal system identifier.

public String getNamespace ()

Returns the namespace of the resource.

public String getPublicId ()

Returns the public identifier.

public int hashCode ()

Returns a hash code for this object.

public void setBaseSystemId (String baseSystemId)

Sets the base system identifier.

public void setExpandedSystemId (String expandedSystemId)

Sets the expanded system identifier.

public void setLiteralSystemId (String literalSystemId)

Sets the literal system identifier.

public void setNamespace (String namespace)

Sets the namespace of the resource.

public void setPublicId (String publicId)

Sets the public identifier.

public void setValues (String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)

Sets the values of the resource identifier.

public void setValues (String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, String namespace)

Sets the values of the resource identifier.

public String toString ()

Returns a string representation of this object.