|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.wutka.dtd.DTDEntity
Represents an Entity defined in a DTD
| Field Summary | |
Object |
defaultLocation
|
DTDExternalID |
externalID
|
boolean |
isParsed
|
String |
name
|
String |
ndata
|
String |
value
|
| Constructor Summary | |
DTDEntity()
|
|
DTDEntity(String aName)
|
|
DTDEntity(String aName,
Object aDefaultLocation)
|
|
| Method Summary | |
boolean |
equals(Object ob)
|
String |
getExternalId()
|
DTDExternalID |
getExternalID()
Returns the external ID for the entity |
String |
getName()
Returns the name of this entity |
String |
getNdata()
Returns the entity ndata |
Reader |
getReader()
|
Reader |
getReader(String entityName)
|
String |
getValue()
Returns the entity value |
boolean |
isParsed()
Returns the isParsed flag |
void |
setExternalID(DTDExternalID anExternalID)
Sets the external ID for the entity |
void |
setIsParsed(boolean flag)
Sets the isParsed flag |
void |
setName(String aName)
Sets the name of this entity |
void |
setNdata(String anNdata)
Sets the entity ndata |
void |
setValue(String aValue)
Sets the entity value |
void |
write(PrintWriter out)
Writes out an entity declaration for this entity |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public String name
public boolean isParsed
public String value
public DTDExternalID externalID
public String ndata
public Object defaultLocation
| Constructor Detail |
public DTDEntity()
public DTDEntity(String aName)
public DTDEntity(String aName,
Object aDefaultLocation)
| Method Detail |
public void write(PrintWriter out)
throws IOException
write in interface DTDOutputpublic String getExternalId()
public Reader getReader()
throws IOException
public Reader getReader(String entityName)
public boolean equals(Object ob)
equals in class Objectpublic void setName(String aName)
public String getName()
public void setIsParsed(boolean flag)
public boolean isParsed()
public void setValue(String aValue)
public String getValue()
public void setExternalID(DTDExternalID anExternalID)
public DTDExternalID getExternalID()
public void setNdata(String anNdata)
public String getNdata()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||