public class Notation
extends java.lang.Object
Constructor | Description |
---|---|
Notation(DTDdocument document,
java.lang.String name) |
Constructor, setting name and owning DTD document of the notation.
|
Modifier and Type | Method | Description |
---|---|---|
DTDdocument |
getDocument() |
Returns DTD document owning this notation.
|
java.lang.String |
getName() |
Returns the name of the notation.
|
java.lang.String |
getPubIdentifier() |
Returns public identifier.
|
java.lang.String |
getSysIdentifier() |
Returns system identifier.
|
boolean |
isPublic() |
True if PUBLIC notation, false otherwise.
|
boolean |
isSystem() |
True if SYSTEM notation, false otherwise.
|
void |
setPublic(java.lang.String pubId,
java.lang.String sysId) |
Sets the notation to PUBLIC.
|
void |
setSystem(java.lang.String sysId) |
Sets the notation to SYSTEM.
|
public Notation(DTDdocument document, java.lang.String name)
document
- must not be null.name
- must not be null or equal to empty String.public java.lang.String getName()
public DTDdocument getDocument()
public void setPublic(java.lang.String pubId, java.lang.String sysId)
pubId
- public identifier - must not be null.sysId
- system identifier - must not be null.public boolean isPublic()
public void setSystem(java.lang.String sysId)
sysId
- system identifier - must not be null.public boolean isSystem()
public java.lang.String getPubIdentifier()
public java.lang.String getSysIdentifier()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com