com.wutka.dtd

Class DTDDecl

Implemented Interfaces:
DTDOutput

public class DTDDecl
extends Object
implements DTDOutput

Represents the possible values for an attribute declaration
Version:
$Revision: 1.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $
Author:
Mark Wutka

Field Summary

static DTDDecl
FIXED
static DTDDecl
IMPLIED
static DTDDecl
REQUIRED
static DTDDecl
VALUE
String
name
int
type

Constructor Summary

DTDDecl(int aType, String aName)

Method Summary

boolean
equals(Object ob)
void
write(PrintWriter out)

Field Details

FIXED

public static final DTDDecl FIXED

IMPLIED

public static final DTDDecl IMPLIED

REQUIRED

public static final DTDDecl REQUIRED

VALUE

public static final DTDDecl VALUE

name

public String name

type

public int type

Constructor Details

DTDDecl

public DTDDecl(int aType,
               String aName)

Method Details

equals

public boolean equals(Object ob)

write

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

Copyright (c) 2001 Mark Wutka.