public class XMLResourceIdentifierImpl
extends java.lang.Object
implements org.apache.xerces.xni.XMLResourceIdentifier
| Modifier and Type | Field and Description |
|---|---|
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 |
fNamespace
The namespace of the resource.
|
protected java.lang.String |
fPublicId
The public identifier.
|
| Constructor and Description |
|---|
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.
|
XMLResourceIdentifierImpl(java.lang.String publicId,
java.lang.String literalSystemId,
java.lang.String baseSystemId,
java.lang.String expandedSystemId,
java.lang.String namespace)
Constructs a resource identifier.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
getNamespace()
Returns the namespace of the resource.
|
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 |
setNamespace(java.lang.String namespace)
Sets the namespace of the resource.
|
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.
|
void |
setValues(java.lang.String publicId,
java.lang.String literalSystemId,
java.lang.String baseSystemId,
java.lang.String expandedSystemId,
java.lang.String namespace)
Sets the values of the resource identifier.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
protected java.lang.String fPublicId
protected java.lang.String fLiteralSystemId
protected java.lang.String fBaseSystemId
protected java.lang.String fExpandedSystemId
protected java.lang.String fNamespace
public XMLResourceIdentifierImpl()
public XMLResourceIdentifierImpl(java.lang.String publicId,
java.lang.String literalSystemId,
java.lang.String baseSystemId,
java.lang.String expandedSystemId)
publicId - The public identifier.literalSystemId - The literal system identifier.baseSystemId - The base system identifier.expandedSystemId - The expanded system identifier.public XMLResourceIdentifierImpl(java.lang.String publicId,
java.lang.String literalSystemId,
java.lang.String baseSystemId,
java.lang.String expandedSystemId,
java.lang.String namespace)
publicId - The public identifier.literalSystemId - The literal system identifier.baseSystemId - The base system identifier.expandedSystemId - The expanded system identifier.namespace - The namespace.public void setValues(java.lang.String publicId,
java.lang.String literalSystemId,
java.lang.String baseSystemId,
java.lang.String expandedSystemId)
public void setValues(java.lang.String publicId,
java.lang.String literalSystemId,
java.lang.String baseSystemId,
java.lang.String expandedSystemId,
java.lang.String namespace)
public void clear()
public void setPublicId(java.lang.String publicId)
setPublicId in interface org.apache.xerces.xni.XMLResourceIdentifierpublic void setLiteralSystemId(java.lang.String literalSystemId)
setLiteralSystemId in interface org.apache.xerces.xni.XMLResourceIdentifierpublic void setBaseSystemId(java.lang.String baseSystemId)
setBaseSystemId in interface org.apache.xerces.xni.XMLResourceIdentifierpublic void setExpandedSystemId(java.lang.String expandedSystemId)
setExpandedSystemId in interface org.apache.xerces.xni.XMLResourceIdentifierpublic void setNamespace(java.lang.String namespace)
setNamespace in interface org.apache.xerces.xni.XMLResourceIdentifierpublic java.lang.String getPublicId()
getPublicId in interface org.apache.xerces.xni.XMLResourceIdentifierpublic java.lang.String getLiteralSystemId()
getLiteralSystemId in interface org.apache.xerces.xni.XMLResourceIdentifierpublic java.lang.String getBaseSystemId()
getBaseSystemId in interface org.apache.xerces.xni.XMLResourceIdentifierpublic java.lang.String getExpandedSystemId()
getExpandedSystemId in interface org.apache.xerces.xni.XMLResourceIdentifierpublic java.lang.String getNamespace()
getNamespace in interface org.apache.xerces.xni.XMLResourceIdentifierpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.