D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
REXML
/
Document
/
Filename :
cdesc-Document.yaml
back
Copy
--- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: entity_expansion_count rw: R class_methods: - !ruby/object:RI::MethodSummary name: entity_expansion_limit - !ruby/object:RI::MethodSummary name: entity_expansion_limit= - !ruby/object:RI::MethodSummary name: entity_expansion_text_limit - !ruby/object:RI::MethodSummary name: entity_expansion_text_limit= - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: parse_stream comment: - !ruby/struct:SM::Flow::P body: Represents a full XML document, including PIs, a doctype, etc. A Document has a single child that can be accessed by root(). Note that if you want to have an XML declaration written for a document you create, you must add one; REXML documents do not write a default declaration for you. See |DECLARATION| and |write|. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "A convenient default XML declaration. If you want an XML declaration, the easiest way to add one is mydoc << Document::DECLARATION <tt>DEPRECATED</tt> Use: mydoc << XMLDecl.default" name: DECLARATION value: XMLDecl.default full_name: REXML::Document includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: add_element - !ruby/object:RI::MethodSummary name: build - !ruby/object:RI::MethodSummary name: clone - !ruby/object:RI::MethodSummary name: doctype - !ruby/object:RI::MethodSummary name: encoding - !ruby/object:RI::MethodSummary name: expanded_name - !ruby/object:RI::MethodSummary name: name - !ruby/object:RI::MethodSummary name: node_type - !ruby/object:RI::MethodSummary name: record_entity_expansion - !ruby/object:RI::MethodSummary name: root - !ruby/object:RI::MethodSummary name: stand_alone? - !ruby/object:RI::MethodSummary name: version - !ruby/object:RI::MethodSummary name: write - !ruby/object:RI::MethodSummary name: xml_decl name: Document superclass: Element