Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.util

public Class XMLResourceIdentifierImpl

extends Object
implements XMLResourceIdentifier
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier
Known Direct Subclasses
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDDescription, com.sun.org.apache.xerces.internal.impl.xs.XSDDescription, com.sun.org.apache.xerces.internal.util.XMLEntityDescriptionImpl
Imports
com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier

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

Field Summary

Modifier and TypeField and Description
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.

Constructor Summary

AccessConstructor and Description
public
XMLResourceIdentifierImpl()

Constructs an empty resource identifier.

public
XMLResourceIdentifierImpl(String
The public identifier.
publicId
,
String
The literal system identifier.
literalSystemId
,
String
The base system identifier.
baseSystemId
,
String
The expanded system identifier.
expandedSystemId
)

Constructs a resource identifier.

public
XMLResourceIdentifierImpl(String
The public identifier.
publicId
,
String
The literal system identifier.
literalSystemId
,
String
The base system identifier.
baseSystemId
,
String
The expanded system identifier.
expandedSystemId
,
String
The namespace.
namespace
)

Constructs a resource identifier.

Method Summary

Modifier and TypeMethod and Description
public void
clear()

Clears the values.

public String
getBaseSystemId()

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.getBaseSystemId.

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

public String
public String
public String
public String
public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code for this object.

public void
public void
public void
public void
setNamespace(String namespace)

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.setNamespace.

Sets the namespace of the resource.

public void
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()

Overrides java.lang.Object.toString.

Returns a string representation of this object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClassnotifynotifyAllwaitwaitwait

Field Detail

fBaseSystemIdback to summary
protected String fBaseSystemId

The base system identifier.

fExpandedSystemIdback to summary
protected String fExpandedSystemId

The expanded system identifier.

fLiteralSystemIdback to summary
protected String fLiteralSystemId

The literal system identifier.

fNamespaceback to summary
protected String fNamespace

The namespace of the resource.

fPublicIdback to summary
protected String fPublicId

The public identifier.

Constructor Detail

XMLResourceIdentifierImplback to summary
public XMLResourceIdentifierImpl()

Constructs an empty resource identifier.

XMLResourceIdentifierImplback to summary
public XMLResourceIdentifierImpl(String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)

Constructs a resource identifier.

Parameters
publicId:String

The public identifier.

literalSystemId:String

The literal system identifier.

baseSystemId:String

The base system identifier.

expandedSystemId:String

The expanded system identifier.

XMLResourceIdentifierImplback to summary
public XMLResourceIdentifierImpl(String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, String namespace)

Constructs a resource identifier.

Parameters
publicId:String

The public identifier.

literalSystemId:String

The literal system identifier.

baseSystemId:String

The base system identifier.

expandedSystemId:String

The expanded system identifier.

namespace:String

The namespace.

Method Detail

clearback to summary
public void clear()

Clears the values.

getBaseSystemIdback to summary
public String getBaseSystemId()

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.getBaseSystemId.

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

getExpandedSystemIdback to summary
public String getExpandedSystemId()

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.getExpandedSystemId.

Returns the expanded system identifier.

getLiteralSystemIdback to summary
public String getLiteralSystemId()

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.getLiteralSystemId.

Returns the literal system identifier.

getNamespaceback to summary
public String getNamespace()

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.getNamespace.

Returns the namespace of the resource.

getPublicIdback to summary
public String getPublicId()

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.getPublicId.

Returns the public identifier.

hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code for this object.

Returns:int

Doc from java.lang.Object.hashCode.

a hash code value for this object

setBaseSystemIdback to summary
public void setBaseSystemId(String baseSystemId)

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.setBaseSystemId.

Sets the base system identifier.

setExpandedSystemIdback to summary
public void setExpandedSystemId(String expandedSystemId)

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.setExpandedSystemId.

Sets the expanded system identifier.

setLiteralSystemIdback to summary
public void setLiteralSystemId(String literalSystemId)

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.setLiteralSystemId.

Sets the literal system identifier.

setNamespaceback to summary
public void setNamespace(String namespace)

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.setNamespace.

Sets the namespace of the resource.

setPublicIdback to summary
public void setPublicId(String publicId)

Implements com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier.setPublicId.

Sets the public identifier.

setValuesback to summary
public void setValues(String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)

Sets the values of the resource identifier.

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

Sets the values of the resource identifier.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns a string representation of this object.

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object