Class: RSS::REXMLListener
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
           BaseListener,Utils | |
| Instance Chain: 
          self,
           ListenerMixin,
          REXML::StreamListener,BaseListener | |
| Inherits: | RSS::BaseListener 
 | 
| Defined in: | lib/rss/rexmlparser.rb | 
Constant Summary
ListenerMixin - Included
  
Class Attribute Summary
BaseListener - Inherited
Class Method Summary
BaseListener - Inherited
| .available_tags | return the tag_names for setters associated with uri. | 
| .class_name | retrieve class_name for the supplied uri and tag_name If it doesn’t exist, capitalize the tag_name. | 
| .getter, | |
| .install_class_name | record class_name for the supplied uri and tag_name. | 
| .install_get_text_element, | |
| .register_uri | register uri against this name. | 
| .setter | return the setter for the uri, tag_name pair, or nil. | 
| .uri_registered? | test if this uri is registered against this name. | 
| .def_get_text_element, | |
| .install_accessor_base | set the accessor for the uri, tag_name pair. | 
Utils - Extended
| element_initialize_arguments? | This method is used inside of several different objects to determine if special behavior is needed in the constructor. | 
| get_file_and_line_from_caller | Returns an array of two elements: the filename where the calling method is located, and the line number where it is defined. | 
| new_with_value_if_need | If  | 
| to_class_name | Given a  | 
Instance Attribute Summary
ListenerMixin - Included
Instance Method Summary
ListenerMixin - Included
| #initialize, #instruction, #tag_end, #tag_start, #text, | |
| #xmldecl | set instance vars for version, encoding, standalone. | 
| #_ns, #check_ns, #collect_attributes, #initial_start_entry, #initial_start_feed, #initial_start_RDF, #initial_start_rss, | |
| #known_class? | See additional method definition at line 426. | 
| #parse_pi_content | Extract the first name=“value” pair from content. | 
| #setup_next_element, #setup_next_element_in_unknown_element, #split_name, #start_else_element, #start_get_text_element, #start_have_something_element | |
Class Attribute Details
    .raise_for_undefined_entity?  ⇒ Boolean  (readonly)
  
  [ GitHub ]
# File 'lib/rss/rexmlparser.rb', line 36
def raise_for_undefined_entity? false end
Instance Method Details
#cdata(data)
Alias for ListenerMixin#text.
# File 'lib/rss/rexmlparser.rb', line 47
alias_method(:cdata, :text)
#xmldecl(version, encoding, standalone)
[ GitHub ]# File 'lib/rss/rexmlparser.rb', line 41
def xmldecl(version, encoding, standalone) super(version, encoding, standalone == "yes") # Encoding is converted to UTF-8 when REXML parse XML. @encoding = 'UTF-8' end