Package org.exolab.castor.xml.dtd
Class Notation
java.lang.Object
org.exolab.castor.xml.dtd.Notation
Implementation of DTD Notation declaration specification.
- Version:
- $Revision$ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Alexander Totok
-
Constructor Summary
ConstructorsConstructorDescriptionNotation
(DTDdocument document, String name) Constructor, setting name and owning DTD document of the notation. -
Method Summary
Modifier and TypeMethodDescriptionReturns DTD document owning this notation.getName()
Returns the name of the notation.Returns public identifier.Returns system identifier.boolean
isPublic()
True if PUBLIC notation, false otherwise.boolean
isSystem()
True if SYSTEM notation, false otherwise.void
Sets the notation to PUBLIC.void
Sets the notation to SYSTEM.
-
Constructor Details
-
Notation
Constructor, setting name and owning DTD document of the notation.- Parameters:
document
- must not be null.name
- must not be null or equal to empty String.
-
-
Method Details
-
getName
Returns the name of the notation. -
getDocument
Returns DTD document owning this notation. -
setPublic
-
isPublic
public boolean isPublic()True if PUBLIC notation, false otherwise. -
setSystem
Sets the notation to SYSTEM.- Parameters:
sysId
- system identifier - must not be null.
-
isSystem
public boolean isSystem()True if SYSTEM notation, false otherwise. -
getPubIdentifier
Returns public identifier. -
getSysIdentifier
Returns system identifier.
-