Matra DTD Parser 0.8b

com.conradroche.matra.decl
Class Notation

java.lang.Object
  |
  +--com.conradroche.matra.decl.ExternalID
        |
        +--com.conradroche.matra.decl.Notation
All Implemented Interfaces:
ExternalID, Notation

public class Notation
extends com.conradroche.matra.decl.ExternalID
implements Notation

Class to hold the Notation declaration.

Author:
Conrad Roche

Constructor Summary
Notation()
          Notation Constructor.
 
Method Summary
 String getNotationName()
          Returns the Notation name.
 String getPublicIdentifier()
          Returns the Public Identifier.
 String getSystemIdentifier()
          Returns the System Identifier.
 boolean hasPublicIdentifier()
          Returns true if the Public Identifier is specified.
 boolean hasSystemIdentifier()
          Returns true if the System Identifier is specified.
 void setNotationName(String notationName)
          Sets the Notation name.
 void setPublicIdentifier(String publicId)
          Sets the Public Identifier.
 void setSystemIdentifier(String systemId)
          Sets the System Identifier.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.conradroche.dtd.decl.ExternalID
getPublicIdentifier, getSystemIdentifier, hasPublicIdentifier, hasSystemIdentifier, setPublicIdentifier, setSystemIdentifier
 

Constructor Detail

Notation

public Notation()
Notation Constructor.
Method Detail

getNotationName

public String getNotationName()
Returns the Notation name.
Specified by:
getNotationName in interface Notation
Returns:
The Notation name.
See Also:
setNotationName(java.lang.String)

setNotationName

public void setNotationName(String notationName)
Sets the Notation name.
Specified by:
setNotationName in interface Notation
Parameters:
notationName - The Notation name.
See Also:
getNotationName()

getSystemIdentifier

public String getSystemIdentifier()
Returns the System Identifier.
Specified by:
getSystemIdentifier in interface ExternalID
Returns:
The System Identifier
See Also:
ExternalID.setSystemIdentifier(java.lang.String)

setSystemIdentifier

public void setSystemIdentifier(String systemId)
Sets the System Identifier.
Specified by:
setSystemIdentifier in interface ExternalID
Parameters:
systemId - The System Identifier
See Also:
ExternalID.getSystemIdentifier()

getPublicIdentifier

public String getPublicIdentifier()
Returns the Public Identifier.
Specified by:
getPublicIdentifier in interface ExternalID
Returns:
The Public Identifier
See Also:
ExternalID.setPublicIdentifier(java.lang.String)

setPublicIdentifier

public void setPublicIdentifier(String publicId)
Sets the Public Identifier.
Specified by:
setPublicIdentifier in interface ExternalID
Parameters:
publicId - The Public Identifier
See Also:
ExternalID.getPublicIdentifier()

hasSystemIdentifier

public boolean hasSystemIdentifier()
Returns true if the System Identifier is specified.
Specified by:
hasSystemIdentifier in interface ExternalID
Returns:
true if the System Identifier is specified false otherwise.

hasPublicIdentifier

public boolean hasPublicIdentifier()
Returns true if the Public Identifier is specified.
Specified by:
hasPublicIdentifier in interface ExternalID
Returns:
true if the Public Identifier is specified false otherwise.

Matra DTD Parser 0.8b