#
# $Id: notationdecl.icn,v 1.2 2006-07-10 12:55:14 rparlett Exp $
#
# This file is in the public domain.
#
# Author: Robert Parlett (parlett@dial.pipex.com)
#

package xml

#
# Represent the attribute constraints for one element type.
#
class NotationDecl(public_id, external_id)
   #
   # Get a string representation of this object.
   #
   method to_string()
      local s
      s := "Notation " || " "
      if \public_id then
         s ||:= "PUBLIC " || public_id
      else
         s ||:= external_id.to_string()
      return s
   end
end
