com.conradroche.matra.decl
Class GeneralEntity
java.lang.Object
|
+--com.conradroche.matra.decl.Entity
|
+--com.conradroche.matra.decl.GeneralEntity
- All Implemented Interfaces:
- Entity, ExternalID, GeneralEntity
- public class GeneralEntity
- extends Entity
- implements GeneralEntity
Class to hold a General Entity declaration.
From the XML 1.0 Specifications -
[Definition: General entities are entities for
use within the document content.]
- Author:
- Conrad Roche
Methods inherited from class com.conradroche.matra.decl.Entity |
getEntityName, getExternalIDType, getLiteralValue, getPublicIdentifier, getReplacementText, getResolvedValue, getSystemIdentifier, getType, hasPublicIdentifier, hasSystemIdentifier, isExternalEntity, isGeneralEntity, isInternalEntity, isParameterEntity, isParsedEntity, isResolved, isUnparsedEntity, resolveValue, setEntityName, setLiteralValue, setPublicIdentifier, setSystemIdentifier, setType, toString |
Methods inherited from interface com.conradroche.dtd.decl.Entity |
getEntityName, getLiteralValue, getReplacementText, isExternalEntity, isGeneralEntity, isInternalEntity, isParameterEntity, isParsedEntity, isUnparsedEntity, setEntityName, setLiteralValue |
GeneralEntity
public GeneralEntity()
- GeneralEntity Constructor.
GeneralEntity
public GeneralEntity(String name,
String value,
int type)
- GeneralEntity Constructor.
- Parameters:
name
- The name of the entity.value
- The value of the enetity.type
- an int specifying the entity type.
GeneralEntity
public GeneralEntity(String content)
throws DTDException
- GeneralEntity Constructor.
- Parameters:
content
- The entity declaration.- Throws:
DTDException
- If any syntax error is encountered.
GeneralEntity
public GeneralEntity(String content,
Hashtable EntityList)
throws DTDException
- GeneralEntity Constructor.
- Parameters:
content
- The entity declaration.EntityList
- a Hashtable object- Throws:
DTDException
- If any syntax error is encountered.
getNotationName
public String getNotationName()
- Returns the Notation name of this
General Entity, if present.
- Specified by:
getNotationName
in interface GeneralEntity
- Returns:
- The Notation name.
- See Also:
setNotationName(java.lang.String)
setNotationName
public void setNotationName(String name)
- Sets the Notation name, is any, associated
with this Entity.
- Specified by:
setNotationName
in interface GeneralEntity
- Parameters:
name
- The Notation name.- See Also:
GeneralEntity.setNotationName(java.lang.String)
,
getNotationName()