com.wutka.dtd
Class DTDPublic

java.lang.Object
  extended by com.wutka.dtd.DTDExternalID
      extended by 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.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $
Author:
Mark Wutka

Field Summary
 java.lang.String pub
           
 
Fields inherited from class com.wutka.dtd.DTDExternalID
system
 
Constructor Summary
DTDPublic()
           
 
Method Summary
 boolean equals(java.lang.Object ob)
           
 java.lang.String getPub()
          Retrieves the public identifier
 void setPub(java.lang.String aPub)
          Sets the public identifier
 void write(java.io.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 java.lang.String pub
Constructor Detail

DTDPublic

public DTDPublic()
Method Detail

write

public void write(java.io.PrintWriter out)
           throws java.io.IOException
Writes out a public external ID declaration

Specified by:
write in interface DTDOutput
Specified by:
write in class DTDExternalID
Throws:
java.io.IOException

equals

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

setPub

public void setPub(java.lang.String aPub)
Sets the public identifier


getPub

public java.lang.String getPub()
Retrieves the public identifier



Copyright (c) 2001 Mark Wutka.