Searched refs:XMLDecl (Results 1 - 8 of 8) sorted by relevance

/macosx-10.10/ruby-106/ruby/test/rexml/
H A Dtest_xml_declaration.rb23 assert_kind_of(REXML::XMLDecl, @xml_declaration)
31 assert_kind_of(REXML::XMLDecl, @root.previous_sibling.previous_sibling)
H A Dtest_namespace.rb13 <!-- The first line tests the XMLDecl, the second tests PI.
H A Dtest_encoding.rb92 assert( utf16[0].kind_of?(REXML::XMLDecl))
H A Dtest_core.rb21 <!-- The first line tests the XMLDecl, the second tests PI.
246 assert_instance_of XMLDecl, doc.xml_decl
413 decl2 = XMLDecl.new
415 # test XMLDecl
416 decl2 = XMLDecl.new "1.0"
422 XMLDecl.new("1.0", "UTF-16").to_s)
987 xmldecl = REXML::XMLDecl.new("1.0", "UTF-8")
1219 doc << REXML::XMLDecl.default
1228 doc << REXML::XMLDecl.new("1.0", "UTF-8")
1295 xmldoc << XMLDecl
[all...]
/macosx-10.10/ruby-106/ruby/lib/rexml/
H A Dxmldecl.rb6 class XMLDecl < Child class in class:REXML
21 if version.kind_of? XMLDecl
37 XMLDecl.new(self)
54 other.kind_of?(XMLDecl) and
86 # own XMLDecl and add it to the document.
89 def XMLDecl.default
90 rv = XMLDecl.new( "1.0" )
H A Ddocument.rb24 # Use: mydoc << XMLDecl.default
25 DECLARATION = XMLDecl.default
68 if child.kind_of? XMLDecl
69 if @children[0].kind_of? XMLDecl
120 # @return the XMLDecl of this document; if no XMLDecl has been
124 return rv if rv.kind_of? XMLDecl
125 rv = @children.unshift(XMLDecl.default)[0]
128 # @return the XMLDecl version of this document as a String.
129 # If no XMLDecl ha
[all...]
/macosx-10.10/ruby-106/ruby/lib/rexml/formatters/
H A Ddefault.rb40 when DocType, XMLDecl
/macosx-10.10/ruby-106/ruby/lib/rexml/parsers/
H A Dtreeparser.rb86 x = XMLDecl.new( event[1], event[2], event[3] )

Completed in 127 milliseconds