public class

XMLEntityDescriptionImpl

extends XMLResourceIdentifierImpl
implements XMLEntityDescription
java.lang.Object
   ↳ org.apache.xerces.util.XMLResourceIdentifierImpl
     ↳ org.apache.xerces.util.XMLEntityDescriptionImpl

Class Overview

This class is an implementation of the XMLEntityDescription interface which describes the properties of an entity.

Summary

Fields
protected String fEntityName The name of the entity.
[Expand]
Inherited Fields
From class org.apache.xerces.util.XMLResourceIdentifierImpl
Public Constructors
XMLEntityDescriptionImpl()
Constructs an empty entity description.
XMLEntityDescriptionImpl(String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)
Constructs an entity description.
XMLEntityDescriptionImpl(String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, String namespace)
Constructs a resource identifier.
Public Methods
void clear()

Clears the values.

String getEntityName()
Returns the name of the entity.
int hashCode()
Returns a hash code for this object.
void setDescription(String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, String namespace)

Sets the values of this entity description.

void setDescription(String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)

Sets the values of this entity description.

void setEntityName(String name)
Sets the name of the entity.
String toString()
Returns a string representation of this object.
[Expand]
Inherited Methods
From class org.apache.xerces.util.XMLResourceIdentifierImpl
From class java.lang.Object
From interface org.apache.xerces.impl.XMLEntityDescription
From interface org.apache.xerces.xni.XMLResourceIdentifier

Fields

protected String fEntityName

The name of the entity.

Public Constructors

public XMLEntityDescriptionImpl ()

Constructs an empty entity description.

public XMLEntityDescriptionImpl (String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)

Constructs an entity description.

Parameters
entityName The name of the entity.
publicId The public identifier.
literalSystemId The literal system identifier.
baseSystemId The base system identifier.
expandedSystemId The expanded system identifier.

public XMLEntityDescriptionImpl (String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, String namespace)

Constructs a resource identifier.

Parameters
entityName The name of the entity.
publicId The public identifier.
literalSystemId The literal system identifier.
baseSystemId The base system identifier.
expandedSystemId The expanded system identifier.
namespace The namespace.

Public Methods

public void clear ()

Clears the values.

public String getEntityName ()

Returns the name of the entity.

Returns
  • the name of the entity

public int hashCode ()

Returns a hash code for this object.

public void setDescription (String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, String namespace)

Sets the values of this entity description.

Parameters
entityName The name of the entity.
publicId The public identifier.
literalSystemId The literal system identifier.
baseSystemId The base system identifier.
expandedSystemId The expanded system identifier.
namespace The namespace.

public void setDescription (String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)

Sets the values of this entity description.

Parameters
entityName The name of the entity.
publicId The public identifier.
literalSystemId The literal system identifier.
baseSystemId The base system identifier.
expandedSystemId The expanded system identifier.

public void setEntityName (String name)

Sets the name of the entity.

Parameters
name the name of the entity

public String toString ()

Returns a string representation of this object.