com.wutka.dtd

Class DTDName

Implemented Interfaces:
DTDOutput

public class DTDName
extends DTDItem

Represents a named item in the DTD
Version:
$Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $
Author:
Mark Wutka

Field Summary

String
value

Fields inherited from class com.wutka.dtd.DTDItem

cardinal

Constructor Summary

DTDName()
DTDName(String aValue)

Method Summary

boolean
equals(Object ob)
String
getValue()
Retrieves the name value
void
setValue(String aValue)
Sets the name value
void
write(PrintWriter out)
Writes out the value of this name

Methods inherited from class com.wutka.dtd.DTDItem

equals, getCardinal, setCardinal, write

Field Details

value

public String value

Constructor Details

DTDName

public DTDName()

DTDName

public DTDName(String aValue)

Method Details

equals

public boolean equals(Object ob)
Overrides:
equals in interface DTDItem

getValue

public String getValue()
Retrieves the name value

setValue

public void setValue(String aValue)
Sets the name value

write

public void write(PrintWriter out)
            throws IOException
Writes out the value of this name
Specified by:
write in interface DTDOutput
Overrides:
write in interface DTDItem

Copyright (c) 2001 Mark Wutka.