org.exolab.castor.xml.dtd
public class Notation extends Object
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:20 $
| 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.