Class: XMLScan::XMLParserNS

Inherits:
XMLParser show all
Defined in:
lib/xmlscan/namespace.rb

Constant Summary

Constants included from XMLScan::XMLScanner::OptRegexp

XMLScan::XMLScanner::OptRegexp::RE_ENCODINGS, XMLScan::XMLScanner::OptRegexp::RE_ENCODING_OPTIONS, XMLScan::XMLScanner::OptRegexp::UTFSTR

Instance Attribute Summary

Attributes inherited from XMLScanner

#optkey

Instance Method Summary collapse

Methods inherited from XMLParser

#parse, #scan_content

Methods inherited from XMLScanner

apply_option, apply_options, #lineno, new, #opt_encoding, #parse_document, #path, provided_options, #source

Constructor Details

#initializeXMLParserNS

Returns a new instance of XMLParserNS.



313
314
315
316
# File 'lib/xmlscan/namespace.rb', line 313

def initialize(*)
  super
  @visitor = @decoration = XMLNamespaceDecoration.new(@visitor)
end