class XSD::XMLParser::REXMLParser

Public Instance Methods

cdata(content) click to toggle source
# File lib/xsd/xmlparser/rexmlparser.rb, line 41
def cdata(content)
  characters(content)
end
do_parse(string_or_readable) click to toggle source
# File lib/xsd/xmlparser/rexmlparser.rb, line 21
def do_parse(string_or_readable)
  $stderr.puts "XSD::XMLParser::REXMLParser.do_parse" if $DEBUG    
  REXML::Document.parse_stream(string_or_readable, self)
end
epilogue() click to toggle source
# File lib/xsd/xmlparser/rexmlparser.rb, line 26
def epilogue
end
tag_end(name) click to toggle source
# File lib/xsd/xmlparser/rexmlparser.rb, line 33
def tag_end(name)
  end_element(name)
end
tag_start(name, attrs) click to toggle source
# File lib/xsd/xmlparser/rexmlparser.rb, line 29
def tag_start(name, attrs)
  start_element(name, attrs)
end
text(text) click to toggle source
# File lib/xsd/xmlparser/rexmlparser.rb, line 37
def text(text)
  characters(text)
end
xmldecl(version, encoding, standalone) click to toggle source
# File lib/xsd/xmlparser/rexmlparser.rb, line 45
def xmldecl(version, encoding, standalone)
  send :xmldecl_encoding=, encoding
end