org.exolab.castor.xml.dtd
public class Notation extends Object
Version: $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
Constructor Summary | |
---|---|
Notation(DTDdocument document, String name)
Constructor, setting name and owning DTD document of the notation. |
Method Summary | |
---|---|
DTDdocument | getDocument()
Returns DTD document owning this notation. |
String | getName()
Returns the name of the notation. |
String | getPubIdentifier()
Returns public identifier. |
String | getSysIdentifier()
Returns system identifier. |
boolean | isPublic()
True if PUBLIC notation, false otherwise. |
boolean | isSystem()
True if SYSTEM notation, false otherwise. |
void | setPublic(String pubId, String sysId)
Sets the notation to PUBLIC. |
void | setSystem(String sysId)
Sets the notation to SYSTEM. |
Parameters: document must not be null. name must not be null or equal to empty String.
Parameters: pubId public identifier - must not be null. sysId system identifier - must not be null.
Parameters: sysId system identifier - must not be null.