org.apache.xerces.util

Class XMLEntityDescriptionImpl

public class XMLEntityDescriptionImpl extends XMLResourceIdentifierImpl implements XMLEntityDescription

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

Version: $Id: XMLEntityDescriptionImpl.java,v 1.1 2004/03/16 22:03:22 mrglavas Exp $

Author: Michael Glavassevich, IBM

Field Summary
protected StringfEntityName
The name of the entity.
Constructor Summary
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.
Method Summary
voidclear()

Clears the values.

StringgetEntityName()
Returns the name of the entity.
inthashCode()
Returns a hash code for this object.
voidsetDescription(String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)

Sets the values of this entity description.

voidsetDescription(String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, String namespace)

Sets the values of this entity description.

voidsetEntityName(String name)
Sets the name of the entity.
StringtoString()
Returns a string representation of this object.

Field Detail

fEntityName

protected String fEntityName
The name of the entity.

Constructor Detail

XMLEntityDescriptionImpl

public XMLEntityDescriptionImpl()
Constructs an empty entity description.

XMLEntityDescriptionImpl

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.

XMLEntityDescriptionImpl

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.

Method Detail

clear

public void clear()

Clears the values.

getEntityName

public String getEntityName()
Returns the name of the entity.

Returns: the name of the entity

hashCode

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

setDescription

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.

setDescription

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.

setEntityName

public void setEntityName(String name)
Sets the name of the entity.

Parameters: name the name of the entity

toString

public String toString()
Returns a string representation of this object.
Copyright © 1999-2005 Apache XML Project. All Rights Reserved.