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 String |
fEntityName
The name of the entity.
|
fBaseSystemId, fExpandedSystemId, fLiteralSystemId, fNamespace, fPublicId
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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)
Sets the values of this entity description.
|
void |
setDescription(String entityName,
String publicId,
String literalSystemId,
String baseSystemId,
String expandedSystemId,
String namespace)
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.
|
getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getNamespace, getPublicId, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setNamespace, setPublicId, setValues, setValues
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getNamespace, getPublicId, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setNamespace, setPublicId
protected String fEntityName
public XMLEntityDescriptionImpl()
public XMLEntityDescriptionImpl(String entityName, String publicId, String literalSystemId, String baseSystemId, 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(String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, 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(String name)
setEntityName
in interface XMLEntityDescription
name
- the name of the entitypublic String getEntityName()
getEntityName
in interface XMLEntityDescription
public void setDescription(String entityName, String publicId, String literalSystemId, String baseSystemId, 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(String entityName, String publicId, String literalSystemId, String baseSystemId, String expandedSystemId, 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 String toString()
toString
in class XMLResourceIdentifierImpl
Copyright © 2018 JBoss by Red Hat. All rights reserved.