com.wutka.dtd
Class DTDPublic

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

public class DTDPublic
extends DTDExternalID

Represents an external Public ID in an entity declaration

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

Field Summary
 String pub
           
 
Fields inherited from class com.wutka.dtd.DTDExternalID
system
 
Constructor Summary
DTDPublic()
           
 
Method Summary
 boolean equals(Object ob)
           
 String getPub()
          Retrieves the public identifier
 void setPub(String aPub)
          Sets the public identifier
 void write(PrintWriter out)
          Writes out a public external ID declaration
 
Methods inherited from class com.wutka.dtd.DTDExternalID
getSystem, setSystem
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pub

public String pub
Constructor Detail

DTDPublic

public DTDPublic()
Method Detail

write

public void write(PrintWriter out)
           throws IOException
Writes out a public external ID declaration
Overrides:
write in class DTDExternalID

equals

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

setPub

public void setPub(String aPub)
Sets the public identifier

getPub

public String getPub()
Retrieves the public identifier