org.exolab.castor.xml.dtd
Class Notation
java.lang.Object
org.exolab.castor.xml.dtd.Notation
public class Notation
extends java.lang.Object
Implementation of DTD Notation declaration specification.
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:20 $Notation(DTDdocument document, String name) - Constructor, setting name and owning DTD document of the notation.
|
Notation
public Notation(DTDdocument document,
String name)
Constructor, setting name and owning DTD document of the notation.
document
- must not be null.name
- must not be null or equal to empty String.
getDocument
public DTDdocument getDocument()
Returns DTD document owning this notation.
getName
public String getName()
Returns the name of the notation.
getPubIdentifier
public String getPubIdentifier()
Returns public identifier.
getSysIdentifier
public String getSysIdentifier()
Returns system identifier.
isPublic
public boolean isPublic()
True if PUBLIC notation, false otherwise.
isSystem
public boolean isSystem()
True if SYSTEM notation, false otherwise.
setPublic
public void setPublic(String pubId,
String sysId)
Sets the notation to PUBLIC.
pubId
- public identifier - must not be null.sysId
- system identifier - must not be null.
setSystem
public void setSystem(String sysId)
Sets the notation to SYSTEM.
sysId
- system identifier - must not be null.
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com