public class XMLEntityDescriptionImpl extends XMLResourceIdentifierImpl implements XMLEntityDescription
This class is an implementation of the XMLEntityDescription interface which describes the properties of an entity.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
fEntityName
The name of the entity.
|
fBaseSystemId, fExpandedSystemId, fLiteralSystemId, fNamespace, fPublicId
Constructor and Description |
---|
XMLEntityDescriptionImpl()
Constructs an empty entity description.
|
XMLEntityDescriptionImpl(java.lang.String entityName,
java.lang.String publicId,
java.lang.String literalSystemId,
java.lang.String baseSystemId,
java.lang.String expandedSystemId)
Constructs an entity description.
|
XMLEntityDescriptionImpl(java.lang.String entityName,
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 |
getEntityName()
Returns the name of the entity.
|
int |
hashCode()
Returns a hash code for this object.
|
void |
setDescription(java.lang.String entityName,
java.lang.String publicId,
java.lang.String literalSystemId,
java.lang.String baseSystemId,
java.lang.String expandedSystemId)
Sets the values of this entity description.
|
void |
setDescription(java.lang.String entityName,
java.lang.String publicId,
java.lang.String literalSystemId,
java.lang.String baseSystemId,
java.lang.String expandedSystemId,
java.lang.String namespace)
Sets the values of this entity description.
|
void |
setEntityName(java.lang.String name)
Sets the name of the entity.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getNamespace, getPublicId, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setNamespace, setPublicId, setValues, setValues
public XMLEntityDescriptionImpl()
public XMLEntityDescriptionImpl(java.lang.String entityName, java.lang.String publicId, java.lang.String literalSystemId, java.lang.String baseSystemId, java.lang.String expandedSystemId)
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(java.lang.String entityName, java.lang.String publicId, java.lang.String literalSystemId, java.lang.String baseSystemId, java.lang.String expandedSystemId, java.lang.String namespace)
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 setEntityName(java.lang.String name)
setEntityName
in interface XMLEntityDescription
name
- the name of the entitypublic java.lang.String getEntityName()
getEntityName
in interface XMLEntityDescription
public void setDescription(java.lang.String entityName, java.lang.String publicId, java.lang.String literalSystemId, java.lang.String baseSystemId, java.lang.String expandedSystemId)
Sets the values of this entity description.
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 setDescription(java.lang.String entityName, java.lang.String publicId, java.lang.String literalSystemId, java.lang.String baseSystemId, java.lang.String expandedSystemId, java.lang.String namespace)
Sets the values of this entity description.
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 clear()
Clears the values.
clear
in class XMLResourceIdentifierImpl
public int hashCode()
hashCode
in class XMLResourceIdentifierImpl
public java.lang.String toString()
toString
in class XMLResourceIdentifierImpl
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.