Type:
Class
Constants:
PUBIDCHAR : "\x20\x0D\x0Aa-zA-Z0-9\\-()+,./:=?;!*@$_%#"
SYSTEMLITERAL : %Q{((?:"[^"]*")|(?:'[^']*'))}
PUBIDLITERAL : %Q{("[#{PUBIDCHAR}']*"|'[#{PUBIDCHAR}]*')}
EXTERNALID : "(?:(?:(SYSTEM)\\s+#{SYSTEMLITERAL})|(?:(PUBLIC)\\s+#{PUBIDLITERAL}\\s+#{SYSTEMLITERAL}))"
NDATADECL : "\\s+NDATA\\s+#{NAME}"
PEREFERENCE : "%#{NAME};"
ENTITYVALUE : %Q{((?:"(?:[^%&"]|#{PEREFERENCE}|#{REFERENCE})*")|(?:'([^%&']|#{PEREFERENCE}|#{REFERENCE})*'))}
PEDEF : "(?:#{ENTITYVALUE}|#{EXTERNALID})"
ENTITYDEF : "(?:#{ENTITYVALUE}|(?:#{EXTERNALID}(#{NDATADECL})?))"
PEDECL : "<!ENTITY\\s+(%)\\s+#{NAME}\\s+#{PEDEF}\\s*>"
GEDECL : "<!ENTITY\\s+#{NAME}\\s+#{ENTITYDEF}\\s*>"
ENTITYDECL : /\s*(?:#{GEDECL})|(?:#{PEDECL})/um
PEREFERENCE_RE : /#{PEREFERENCE}/um

God, I hate DTDs. I really do. Why this idiot standard still plagues us is beyond me.

new
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Entity

new(stream, value=nil, parent=nil, reference=false) Class Public methods Create

2025-01-10 15:47:30
value
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Entity

value() Instance Public methods Returns the value of this entity. At the moment

2025-01-10 15:47:30
write
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Entity

write(out, indent=-1) Instance Public methods Write out a fully formed, correct

2025-01-10 15:47:30
normalized
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Entity

normalized() Instance Public methods Returns the value of this entity unprocessed

2025-01-10 15:47:30
unnormalized
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Entity

unnormalized() Instance Public methods Evaluates to the unnormalized value of

2025-01-10 15:47:30
matches?
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Entity

matches?(string) Class Public methods Evaluates whether the given string matchs

2025-01-10 15:47:30
to_s
  • References/Ruby on Rails/Ruby/Classes/REXML/REXML::Entity

to_s() Instance Public methods Returns this entity as a string. See write()

2025-01-10 15:47:30