com.wutka.dtd
Class DTDElement
- DTDOutput
Represents an element defined with the ELEMENT DTD tag
$Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $
boolean | equals(Object ob)
|
DTDAttribute | getAttribute(String attrName) - Gets an attribute for this element
|
DTDItem | getContent() - Returns the content type of this element
|
String | getName() - Returns the name of this element
|
void | setAttribute(String attrName, DTDAttribute attr) - Stores an attribute in this element
|
void | setContent(DTDItem theContent) - Sets the content type of this element
|
void | setName(String aName) - Sets the name of this element
|
void | write(PrintWriter out) - Writes out an element declaration and an attlist declaration (if necessary)
for this element
|
attributes
public Hashtable attributes
The element's attributes
content
public DTDItem content
The element's content
name
public String name
The name of the element
DTDElement
public DTDElement()
DTDElement
public DTDElement(String aName)
equals
public boolean equals(Object ob)
getAttribute
public DTDAttribute getAttribute(String attrName)
Gets an attribute for this element
getContent
public DTDItem getContent()
Returns the content type of this element
getName
public String getName()
Returns the name of this element
setAttribute
public void setAttribute(String attrName,
DTDAttribute attr)
Stores an attribute in this element
setContent
public void setContent(DTDItem theContent)
Sets the content type of this element
setName
public void setName(String aName)
Sets the name of this element
write
public void write(PrintWriter out)
throws IOException
Writes out an element declaration and an attlist declaration (if necessary)
for this element
- write in interface DTDOutput
Copyright (c) 2001 Mark Wutka.