class REXML::NotationDecl
def initialize name, middle, pub, sys
def initialize name, middle, pub, sys super(nil) @name = name @middle = middle @public = pub @system = sys end
def name
This method retrieves the name of the notation.
def name @name end
def to_s
def to_s context = nil context = parent.context if parent notation = "<!NOTATION #{@name}" reference_writer = ReferenceWriter.new(@middle, @public, @system, context) reference_writer.write(notation) notation << ">" notation end
def write( output, indent=-1 )
def write( output, indent=-1 ) output << to_s end