Included Modules

Files

Class Index [+]

Quicksearch

XSD::XMLParser::REXMLParser

Public Instance Methods

cdata(content) click to toggle source
    # File lib/xsd/xmlparser/rexmlparser.rb, line 45
45:   def cdata(content)
46:     characters(content)
47:   end
do_parse(string_or_readable) click to toggle source
    # File lib/xsd/xmlparser/rexmlparser.rb, line 21
21:   def do_parse(string_or_readable)
22:     source = nil
23:     source = REXML::SourceFactory.create_from(string_or_readable)
24:     source.encoding = charset if charset
25:     # Listener passes a String in utf-8.
26:     @charset = 'utf-8'
27:     REXML::Document.parse_stream(source, self)
28:   end
epilogue() click to toggle source
    # File lib/xsd/xmlparser/rexmlparser.rb, line 30
30:   def epilogue
31:   end
tag_end(name) click to toggle source
    # File lib/xsd/xmlparser/rexmlparser.rb, line 37
37:   def tag_end(name)
38:     end_element(name)
39:   end
tag_start(name, attrs) click to toggle source
    # File lib/xsd/xmlparser/rexmlparser.rb, line 33
33:   def tag_start(name, attrs)
34:     start_element(name, attrs)
35:   end
text(text) click to toggle source
    # File lib/xsd/xmlparser/rexmlparser.rb, line 41
41:   def text(text)
42:     characters(text)
43:   end
xmldecl(version, encoding, standalone) click to toggle source
    # File lib/xsd/xmlparser/rexmlparser.rb, line 49
49:   def xmldecl(version, encoding, standalone)
50:     # Version should be checked.
51:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.