com.wutka.dtd
Class DTDEntity
- DTDOutput
Represents an Entity defined in a DTD
$Revision: 1.18 $ $Date: 2002/07/31 00:19:10 $ by $Author: wutka $
defaultLocation
public Object defaultLocation
isParsed
public boolean isParsed
DTDEntity
public DTDEntity()
DTDEntity
public DTDEntity(String aName)
DTDEntity
public DTDEntity(String aName,
Object aDefaultLocation)
equals
public boolean equals(Object ob)
getExternalID
public DTDExternalID getExternalID()
Returns the external ID for the entity
getExternalId
public String getExternalId()
getName
public String getName()
Returns the name of this entity
getNdata
public String getNdata()
Returns the entity ndata
getReader
public Reader getReader()
throws IOException
getReader
public Reader getReader(String entityName)
getValue
public String getValue()
Returns the entity value
isParsed
public boolean isParsed()
Returns the isParsed flag
setExternalID
public void setExternalID(DTDExternalID anExternalID)
Sets the external ID for the entity
setIsParsed
public void setIsParsed(boolean flag)
Sets the isParsed flag
setName
public void setName(String aName)
Sets the name of this entity
setNdata
public void setNdata(String anNdata)
Sets the entity ndata
setValue
public void setValue(String aValue)
Sets the entity value
write
public void write(PrintWriter out)
throws IOException
Writes out an entity declaration for this entity
- write in interface DTDOutput
Copyright (c) 2001 Mark Wutka.