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.16 $ $Date: 2002/07/19 01:20:11 $ by $Author: wutka $
- Author:
- Mark Wutka
Field Summary |
java.lang.String |
pub
|
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 java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pub
public java.lang.String pub
DTDPublic
public DTDPublic()
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.