com.wutka.dtd

Class DTDNotation

Implemented Interfaces:
DTDOutput

public class DTDNotation
extends Object
implements DTDOutput

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

Field Summary

DTDExternalID
externalID
String
name

Constructor Summary

DTDNotation()
DTDNotation(String aName)

Method Summary

boolean
equals(Object ob)
DTDExternalID
getExternalID()
Retrieves the external ID
String
getName()
Retrieves the notation name
void
setExternalID(DTDExternalID theExternalID)
Sets the external ID
void
setName(String aName)
Sets the notation name
void
write(PrintWriter out)
Writes out a declaration for this notation

Field Details

externalID

public DTDExternalID externalID

name

public String name

Constructor Details

DTDNotation

public DTDNotation()

DTDNotation

public DTDNotation(String aName)

Method Details

equals

public boolean equals(Object ob)

getExternalID

public DTDExternalID getExternalID()
Retrieves the external ID

getName

public String getName()
Retrieves the notation name

setExternalID

public void setExternalID(DTDExternalID theExternalID)
Sets the external ID

setName

public void setName(String aName)
Sets the notation name

write

public void write(PrintWriter out)
            throws IOException
Writes out a declaration for this notation
Specified by:
write in interface DTDOutput

Copyright (c) 2001 Mark Wutka.