new (REXML::XMLDecl)

    # File rexml/xmldecl.rb, line 22
      def initialize(version=DEFAULT_VERSION, encoding=nil, standalone=nil)
    			@encoding_set = !encoding.nil?
    			if version.kind_of? Source
    				super encoding
    				XMLDecl.parse_stream version, self
    				@parent = encoding if encoding.kind_of? Parent
    			elsif version.kind_of? XMLDecl
    				super()
    				@version = version.version
    				self.encoding = version.encoding
    				@standalone = version.standalone
    			else
    				super()
    				@version = version
    				self.encoding = encoding
    				@standalone = standalone
    			end
    			@version = DEFAULT_VERSION if @version.nil?
    		end