Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.util

public Class XMLEntityDescriptionImpl

extends XMLResourceIdentifierImpl
implements XMLEntityDescription
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.xerces.internal.impl.XMLEntityDescription, com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier
Imports
com.sun.org.apache.xerces.internal.impl.XMLEntityDescription

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

Author
Michael Glavassevich, IBM

Field Summary

Modifier and TypeField and Description
protected String
fEntityName

The name of the entity.

Inherited from com.sun.org.apache.xerces.internal.util.XMLResourceIdentifierImpl:
fBaseSystemIdfExpandedSystemIdfLiteralSystemIdfNamespacefPublicId

Constructor Summary

AccessConstructor and Description
public
XMLEntityDescriptionImpl()

Constructs an empty entity description.

public
XMLEntityDescriptionImpl(String
The name of the entity.
entityName
,
String
The public identifier.
publicId
,
String
The literal system identifier.
literalSystemId
,
String
The base system identifier.
baseSystemId
,
String
The expanded system identifier.
expandedSystemId
)

Constructs an entity description.

public
XMLEntityDescriptionImpl(String
The name of the entity.
entityName
,
String
The public identifier.
publicId
,
String
The literal system identifier.
literalSystemId
,
String
The base system identifier.
baseSystemId
,
String
The expanded system identifier.
expandedSystemId
,
String
The namespace.
namespace
)

Constructs a resource identifier.

Method Summary

Modifier and TypeMethod and Description
public void
public String

Returns:

the name of the entity
getEntityName
()

Implements com.sun.org.apache.xerces.internal.impl.XMLEntityDescription.getEntityName.

Returns the name of the entity.

public int
public void
setDescription(String
The name of the entity.
entityName
,
String
The public identifier.
publicId
,
String
The literal system identifier.
literalSystemId
,
String
The base system identifier.
baseSystemId
,
String
The expanded system identifier.
expandedSystemId
)

Sets the values of this entity description.

public void
setDescription(String
The name of the entity.
entityName
,
String
The public identifier.
publicId
,
String
The literal system identifier.
literalSystemId
,
String
The base system identifier.
baseSystemId
,
String
The expanded system identifier.
expandedSystemId
,
String
The namespace.
namespace
)

Sets the values of this entity description.

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

Implements com.sun.org.apache.xerces.internal.impl.XMLEntityDescription.setEntityName.

Sets the name of the entity.

public String
toString()

Overrides com.sun.org.apache.xerces.internal.util.XMLResourceIdentifierImpl.toString.

Returns a string representation of this object.

Inherited from com.sun.org.apache.xerces.internal.util.XMLResourceIdentifierImpl:
getBaseSystemIdgetExpandedSystemIdgetLiteralSystemIdgetNamespacegetPublicIdsetBaseSystemIdsetExpandedSystemIdsetLiteralSystemIdsetNamespacesetPublicIdsetValuessetValues

Field Detail

fEntityNameback to summary
protected String fEntityName

The name of the entity.

Constructor Detail

XMLEntityDescriptionImplback to summary
public XMLEntityDescriptionImpl()

Constructs an empty entity description.

XMLEntityDescriptionImplback to summary
public XMLEntityDescriptionImpl(String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId)

Constructs an entity description.

Parameters
entityName:String

The name of the entity.

publicId:String

The public identifier.

literalSystemId:String

The literal system identifier.

baseSystemId:String

The base system identifier.

expandedSystemId:String

The expanded system identifier.

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

Constructs a resource identifier.

Parameters
entityName:String

The name of the entity.

publicId:String

The public identifier.

literalSystemId:String

The literal system identifier.

baseSystemId:String

The base system identifier.

expandedSystemId:String

The expanded system identifier.

namespace:String

The namespace.

Method Detail

clearback to summary
public void clear()

Overrides com.sun.org.apache.xerces.internal.util.XMLResourceIdentifierImpl.clear.

Clears the values.

getEntityNameback to summary
public String getEntityName()

Implements com.sun.org.apache.xerces.internal.impl.XMLEntityDescription.getEntityName.

Returns the name of the entity.

Returns:String

the name of the entity

hashCodeback to summary
public int hashCode()

Overrides com.sun.org.apache.xerces.internal.util.XMLResourceIdentifierImpl.hashCode.

Returns a hash code for this object.

Returns:int

Doc from java.lang.Object.hashCode.

a hash code value for this object

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

Sets the values of this entity description.

Parameters
entityName:String

The name of the entity.

publicId:String

The public identifier.

literalSystemId:String

The literal system identifier.

baseSystemId:String

The base system identifier.

expandedSystemId:String

The expanded system identifier.

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

Sets the values of this entity description.

Parameters
entityName:String

The name of the entity.

publicId:String

The public identifier.

literalSystemId:String

The literal system identifier.

baseSystemId:String

The base system identifier.

expandedSystemId:String

The expanded system identifier.

namespace:String

The namespace.

setEntityNameback to summary
public void setEntityName(String name)

Implements com.sun.org.apache.xerces.internal.impl.XMLEntityDescription.setEntityName.

Sets the name of the entity.

Parameters
name:String

the name of the entity

toStringback to summary
public String toString()

Overrides com.sun.org.apache.xerces.internal.util.XMLResourceIdentifierImpl.toString.

Returns a string representation of this object.

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object