Top Description Fields Constructors Methods
org.apache.xerces.util

public Class XMLResourceIdentifierImpl

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

The XMLResourceIdentifierImpl class is an implementation of the XMLResourceIdentifier interface which defines the location identity of a resource.
Author
Andy Clark
Version
$Id: XMLResourceIdentifierImpl.java 447241 2006-09-18 05:12:57Z mrglavas $

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 org.apache.xerces.xni.XMLResourceIdentifier.getBaseSystemId.

Returns the base URI against which the literal SystemId is to be resolved.
public String
getExpandedSystemId()

Implements org.apache.xerces.xni.XMLResourceIdentifier.getExpandedSystemId.

Returns the expanded system identifier.
public String
getLiteralSystemId()

Implements org.apache.xerces.xni.XMLResourceIdentifier.getLiteralSystemId.

Returns the literal system identifier.
public String
getNamespace()

Implements org.apache.xerces.xni.XMLResourceIdentifier.getNamespace.

Returns the namespace of the resource.
public String
getPublicId()

Implements org.apache.xerces.xni.XMLResourceIdentifier.getPublicId.

Returns the public identifier.
public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code for this object.
public void
setBaseSystemId(String baseSystemId)

Implements org.apache.xerces.xni.XMLResourceIdentifier.setBaseSystemId.

Sets the base system identifier.
public void
setExpandedSystemId(String expandedSystemId)

Implements org.apache.xerces.xni.XMLResourceIdentifier.setExpandedSystemId.

Sets the expanded system identifier.
public void
setLiteralSystemId(String literalSystemId)

Implements org.apache.xerces.xni.XMLResourceIdentifier.setLiteralSystemId.

Sets the literal system identifier.
public void
setNamespace(String namespace)

Implements org.apache.xerces.xni.XMLResourceIdentifier.setNamespace.

Sets the namespace of the resource.
public void
setPublicId(String publicId)

Implements org.apache.xerces.xni.XMLResourceIdentifier.setPublicId.

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

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 org.apache.xerces.xni.XMLResourceIdentifier.getBaseSystemId.

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

getExpandedSystemIdback to summary
public String getExpandedSystemId()

Implements org.apache.xerces.xni.XMLResourceIdentifier.getExpandedSystemId.

Returns the expanded system identifier.

getLiteralSystemIdback to summary
public String getLiteralSystemId()

Implements org.apache.xerces.xni.XMLResourceIdentifier.getLiteralSystemId.

Returns the literal system identifier.

getNamespaceback to summary
public String getNamespace()

Implements org.apache.xerces.xni.XMLResourceIdentifier.getNamespace.

Returns the namespace of the resource.

getPublicIdback to summary
public String getPublicId()

Implements org.apache.xerces.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 org.apache.xerces.xni.XMLResourceIdentifier.setBaseSystemId.

Sets the base system identifier.

setExpandedSystemIdback to summary
public void setExpandedSystemId(String expandedSystemId)

Implements org.apache.xerces.xni.XMLResourceIdentifier.setExpandedSystemId.

Sets the expanded system identifier.

setLiteralSystemIdback to summary
public void setLiteralSystemId(String literalSystemId)

Implements org.apache.xerces.xni.XMLResourceIdentifier.setLiteralSystemId.

Sets the literal system identifier.

setNamespaceback to summary
public void setNamespace(String namespace)

Implements org.apache.xerces.xni.XMLResourceIdentifier.setNamespace.

Sets the namespace of the resource.

setPublicIdback to summary
public void setPublicId(String publicId)

Implements org.apache.xerces.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.