org.apache.xerces.util
Class XMLResourceIdentifierImpl
java.lang.Object
org.apache.xerces.util.XMLResourceIdentifierImpl
- org.apache.xerces.xni.XMLResourceIdentifier
public class XMLResourceIdentifierImpl
extends java.lang.Object
implements org.apache.xerces.xni.XMLResourceIdentifier
The XMLResourceIdentifierImpl class is an implementation of the
XMLResourceIdentifier interface which defines the location identity
of a resource.
$Id: XMLResourceIdentifierImpl.java,v 1.3 2004/02/24 23:15:53 mrglavas Exp $
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.
|
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.
|
fBaseSystemId
protected String fBaseSystemId
The base system identifier.
fExpandedSystemId
protected String fExpandedSystemId
The expanded system identifier.
fLiteralSystemId
protected String fLiteralSystemId
The literal system identifier.
fNamespace
protected String fNamespace
The namespace of the resource.
fPublicId
protected String fPublicId
The public identifier.
XMLResourceIdentifierImpl
public XMLResourceIdentifierImpl()
Constructs an empty resource identifier.
XMLResourceIdentifierImpl
public XMLResourceIdentifierImpl(String publicId,
String literalSystemId,
String baseSystemId,
String expandedSystemId)
Constructs a resource identifier.
publicId
- The public identifier.literalSystemId
- The literal system identifier.baseSystemId
- The base system identifier.expandedSystemId
- The expanded system identifier.
XMLResourceIdentifierImpl
public XMLResourceIdentifierImpl(String publicId,
String literalSystemId,
String baseSystemId,
String expandedSystemId,
String namespace)
Constructs a resource identifier.
publicId
- The public identifier.literalSystemId
- The literal system identifier.baseSystemId
- The base system identifier.expandedSystemId
- The expanded system identifier.namespace
- The namespace.
clear
public void clear()
Clears the values.
getBaseSystemId
public String getBaseSystemId()
Returns the base URI against which the literal SystemId is to be resolved.
- getBaseSystemId in interface org.apache.xerces.xni.XMLResourceIdentifier
getExpandedSystemId
public String getExpandedSystemId()
Returns the expanded system identifier.
- getExpandedSystemId in interface org.apache.xerces.xni.XMLResourceIdentifier
getLiteralSystemId
public String getLiteralSystemId()
Returns the literal system identifier.
- getLiteralSystemId in interface org.apache.xerces.xni.XMLResourceIdentifier
getNamespace
public String getNamespace()
Returns the namespace of the resource.
- getNamespace in interface org.apache.xerces.xni.XMLResourceIdentifier
getPublicId
public String getPublicId()
Returns the public identifier.
- getPublicId in interface org.apache.xerces.xni.XMLResourceIdentifier
hashCode
public int hashCode()
Returns a hash code for this object.
setBaseSystemId
public void setBaseSystemId(String baseSystemId)
Sets the base system identifier.
- setBaseSystemId in interface org.apache.xerces.xni.XMLResourceIdentifier
setExpandedSystemId
public void setExpandedSystemId(String expandedSystemId)
Sets the expanded system identifier.
- setExpandedSystemId in interface org.apache.xerces.xni.XMLResourceIdentifier
setLiteralSystemId
public void setLiteralSystemId(String literalSystemId)
Sets the literal system identifier.
- setLiteralSystemId in interface org.apache.xerces.xni.XMLResourceIdentifier
setNamespace
public void setNamespace(String namespace)
Sets the namespace of the resource.
- setNamespace in interface org.apache.xerces.xni.XMLResourceIdentifier
setPublicId
public void setPublicId(String publicId)
Sets the public identifier.
- setPublicId in interface org.apache.xerces.xni.XMLResourceIdentifier
setValues
public void setValues(String publicId,
String literalSystemId,
String baseSystemId,
String expandedSystemId)
Sets the values of the resource identifier.
setValues
public void setValues(String publicId,
String literalSystemId,
String baseSystemId,
String expandedSystemId,
String namespace)
Sets the values of the resource identifier.
toString
public String toString()
Returns a string representation of this object.
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.