com.wutka.dtd
Class DTDDecl

java.lang.Object
  |
  +--com.wutka.dtd.DTDDecl
All Implemented Interfaces:
DTDOutput

public class DTDDecl
extends Object
implements DTDOutput

Represents the possible values for an attribute declaration

Version:
$Revision: 1.12 $ $Date: 2000/09/01 13:21:05 $ by $Author: wutka $
Author:
Mark Wutka

Field Summary
static DTDDecl FIXED
           
static DTDDecl IMPLIED
           
 String name
           
static DTDDecl REQUIRED
           
 int type
           
static DTDDecl VALUE
           
 
Constructor Summary
DTDDecl(int aType, String aName)
           
 
Method Summary
 boolean equals(Object ob)
           
 void write(PrintWriter out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIXED

public static final DTDDecl FIXED

REQUIRED

public static final DTDDecl REQUIRED

IMPLIED

public static final DTDDecl IMPLIED

VALUE

public static final DTDDecl VALUE

type

public int type

name

public String name
Constructor Detail

DTDDecl

public DTDDecl(int aType,
               String aName)
Method Detail

equals

public boolean equals(Object ob)
Overrides:
equals in class Object

write

public void write(PrintWriter out)
           throws IOException
Specified by:
write in interface DTDOutput