|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.dtd.Notation
public class Notation
Implementation of DTD Notation declaration specification.
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Notation(DTDdocument document,
String name)
document - must not be null.name - must not be null or equal to empty String.| Method Detail |
|---|
public String getName()
public DTDdocument getDocument()
public void setPublic(String pubId,
String sysId)
pubId - public identifier - must not be null.sysId - system identifier - must not be null.public boolean isPublic()
public void setSystem(String sysId)
sysId - system identifier - must not be null.public boolean isSystem()
public String getPubIdentifier()
public String getSysIdentifier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||