BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.apache.xerces.util
Class XMLResourceIdentifierImpl

java.lang.Object
  |
  +--weblogic.apache.xerces.util.XMLResourceIdentifierImpl
Direct Known Subclasses:
XMLDTDDescription, XSDDescription

public class XMLResourceIdentifierImpl
extends java.lang.Object
implements XMLResourceIdentifier

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


Field Summary
protected  java.lang.String fBaseSystemId
          The base system identifier.
protected  java.lang.String fExpandedSystemId
          The expanded system identifier.
protected  java.lang.String fLiteralSystemId
          The literal system identifier.
protected  java.lang.String fPublicId
          The public identifier.
 
Constructor Summary
XMLResourceIdentifierImpl()
          Constructs an empty resource identifier.
XMLResourceIdentifierImpl(java.lang.String publicId, java.lang.String literalSystemId, java.lang.String baseSystemId, java.lang.String expandedSystemId)
          Constructs a resource identifier.
 
Method Summary
 void clear()
          Clears the values.
 java.lang.String getBaseSystemId()
          Returns the base URI against which the literal SystemId is to be resolved.
 java.lang.String getExpandedSystemId()
          Returns the expanded system identifier.
 java.lang.String getLiteralSystemId()
          Returns the literal system identifier.
 java.lang.String getPublicId()
          Returns the public identifier.
 int hashCode()
          Returns a hash code for this object.
 void setBaseSystemId(java.lang.String baseSystemId)
          Sets the base system identifier.
 void setExpandedSystemId(java.lang.String expandedSystemId)
          Sets the expanded system identifier.
 void setLiteralSystemId(java.lang.String literalSystemId)
          Sets the literal system identifier.
 void setPublicId(java.lang.String publicId)
          Sets the public identifier.
 void setValues(java.lang.String publicId, java.lang.String literalSystemId, java.lang.String baseSystemId, java.lang.String expandedSystemId)
          Sets the values of the resource identifier.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

fPublicId

protected java.lang.String fPublicId
The public identifier.

fLiteralSystemId

protected java.lang.String fLiteralSystemId
The literal system identifier.

fBaseSystemId

protected java.lang.String fBaseSystemId
The base system identifier.

fExpandedSystemId

protected java.lang.String fExpandedSystemId
The expanded system identifier.
Constructor Detail

XMLResourceIdentifierImpl

public XMLResourceIdentifierImpl()
Constructs an empty resource identifier.

XMLResourceIdentifierImpl

public XMLResourceIdentifierImpl(java.lang.String publicId,
                                 java.lang.String literalSystemId,
                                 java.lang.String baseSystemId,
                                 java.lang.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.
Method Detail

setValues

public void setValues(java.lang.String publicId,
                      java.lang.String literalSystemId,
                      java.lang.String baseSystemId,
                      java.lang.String expandedSystemId)
Sets the values of the resource identifier.


clear

public void clear()
Clears the values.


setPublicId

public void setPublicId(java.lang.String publicId)
Sets the public identifier.


setLiteralSystemId

public void setLiteralSystemId(java.lang.String literalSystemId)
Sets the literal system identifier.


setBaseSystemId

public void setBaseSystemId(java.lang.String baseSystemId)
Sets the base system identifier.


setExpandedSystemId

public void setExpandedSystemId(java.lang.String expandedSystemId)
Sets the expanded system identifier.


getPublicId

public java.lang.String getPublicId()
Returns the public identifier.
Specified by:
getPublicId in interface XMLResourceIdentifier


getLiteralSystemId

public java.lang.String getLiteralSystemId()
Returns the literal system identifier.
Specified by:
getLiteralSystemId in interface XMLResourceIdentifier


getBaseSystemId

public java.lang.String getBaseSystemId()
Returns the base URI against which the literal SystemId is to be resolved.
Specified by:
getBaseSystemId in interface XMLResourceIdentifier


getExpandedSystemId

public java.lang.String getExpandedSystemId()
Returns the expanded system identifier.
Specified by:
getExpandedSystemId in interface XMLResourceIdentifier


hashCode

public int hashCode()
Returns a hash code for this object.

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b