Class: XMLScan::Decoration

Inherits:
Object
  • Object
show all
Includes:
Visitor
Defined in:
lib/xmlscan/visitor.rb

Direct Known Subclasses

XMLNamespaceDecoration

Instance Method Summary collapse

Methods included from Visitor

#on_attr_charref, #on_attr_charref_hex, #on_attr_entityref, #on_attr_value, #on_attribute, #on_attribute_end, #on_cdata, #on_chardata, #on_charref, #on_charref_hex, #on_comment, #on_doctype, #on_end_document, #on_entityref, #on_etag, #on_pi, #on_prolog_space, #on_stag, #on_stag_end, #on_stag_end_empty, #on_start_document, #on_xmldecl, #on_xmldecl_encoding, #on_xmldecl_end, #on_xmldecl_key, #on_xmldecl_other, #on_xmldecl_standalone, #on_xmldecl_version, #parse_error, #valid_error, #warning, #wellformed_error

Constructor Details

#initialize(visitor) ⇒ Decoration

Returns a new instance of Decoration.



148
149
150
151
# File 'lib/xmlscan/visitor.rb', line 148

def initialize(visitor)
  #STDERR << "new Decoration #{visitor}\n"
  @visitor = visitor
end