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
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
- Overrides:
write
in class DTDExternalID
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