Class XMLEntityDescriptionImpl
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.util.XMLResourceIdentifierImpl
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.util.XMLEntityDescriptionImpl
-
- All Implemented Interfaces:
XMLEntityDescription,XMLResourceIdentifier
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$
- Author:
- Michael Glavassevich, IBM
-
-
Field Summary
Fields Modifier and Type Field Description protected StringfEntityNameThe name of the entity.-
Fields inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.util.XMLResourceIdentifierImpl
fBaseSystemId, fExpandedSystemId, fLiteralSystemId, fNamespace, fPublicId
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.util.XMLResourceIdentifierImpl
getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getNamespace, getPublicId, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setNamespace, setPublicId, setValues, setValues
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.smooks.engine.delivery.sax.ng.org.apache.xerces.xni.XMLResourceIdentifier
getBaseSystemId, getExpandedSystemId, getLiteralSystemId, getNamespace, getPublicId, setBaseSystemId, setExpandedSystemId, setLiteralSystemId, setNamespace, setPublicId
-
-
-
-
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
-
setEntityName
public void setEntityName(String name)
Sets the name of the entity.- Specified by:
setEntityNamein interfaceXMLEntityDescription- Parameters:
name- the name of the entity
-
getEntityName
public String getEntityName()
Returns the name of the entity.- Specified by:
getEntityNamein interfaceXMLEntityDescription- Returns:
- the name of the entity
-
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.
-
clear
public void clear()
Clears the values.
- Overrides:
clearin classXMLResourceIdentifierImpl
-
hashCode
public int hashCode()
Returns a hash code for this object.- Overrides:
hashCodein classXMLResourceIdentifierImpl
-
toString
public String toString()
Returns a string representation of this object.- Overrides:
toStringin classXMLResourceIdentifierImpl
-
-