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 | fEntityNameThe 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, setValuespublic 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 XMLEntityDescriptionname - the name of the entitypublic java.lang.String getEntityName()
getEntityName in interface XMLEntityDescriptionpublic 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 XMLResourceIdentifierImplpublic int hashCode()
hashCode in class XMLResourceIdentifierImplpublic java.lang.String toString()
toString in class XMLResourceIdentifierImplCopyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.