U:RDoc::AnyMethod[iI"new:ETI"REXML::Entity::new;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"KCreate a new entity. Simple entities can be constructed by passing a ;TI"Jname, value to the constructor; this creates a generic, plain entity ;TI"Lreference. For anything more complicated, you have to pass a Source to ;TI"Nthe constructor with the entity definition, or use the accessor methods. ;TI"N+WARNING+: There is no validation of entity state except when the entity ;TI"Lis read from a stream. If you start poking around with the accessors, ;TI"Myou can easily create a non-conformant Entity. The best thing to do is ;TI"4dump the stupid DTDs and use XMLSchema instead.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"!e = Entity.new( 'amp', '&' );T: @format0: @fileI"lib/rexml/entity.rb;T:0@omit_headings_from_table_of_contents_below000[I"5(stream, value=nil, parent=nil, reference=false);T@TI" Entity;TcRDoc::NormalClass00