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
From the XML 1.0 Specifications -
[Definition: General entities are entities for
use within the document content.]
- Author:
- Conrad Roche
Constructor Summary |
GeneralEntity()
GeneralEntity Constructor. |
GeneralEntity(java.lang.String content)
GeneralEntity Constructor. |
GeneralEntity(java.lang.String content,
java.util.Hashtable EntityList)
GeneralEntity Constructor. |
GeneralEntity(java.lang.String name,
java.lang.String value,
int type)
GeneralEntity Constructor. |
Method Summary |
java.lang.String |
getNotationName()
Returns the Notation name of this
General Entity, if present. |
void |
setNotationName(java.lang.String name)
Sets the Notation name, is any, associated
with this Entity. |
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 class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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(java.lang.String name,
java.lang.String value,
int type)
- GeneralEntity Constructor.
- Parameters:
name
- value
- type
-
GeneralEntity
public GeneralEntity(java.lang.String content)
throws DTDException
- GeneralEntity Constructor.
- Parameters:
content
- - Throws:
DTDException
-
GeneralEntity
public GeneralEntity(java.lang.String content,
java.util.Hashtable EntityList)
throws DTDException
- GeneralEntity Constructor.
- Parameters:
content
- EntityList
- - Throws:
DTDException
-
getNotationName
public java.lang.String getNotationName()
- Returns the Notation name of this
General Entity, if present.
- Specified by:
getNotationName
in interface GeneralEntity
- Returns:
-
setNotationName
public void setNotationName(java.lang.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)