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.

value

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

2015-05-06 14:40:09
new

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

2015-05-06 14:27:09
write

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

2015-05-06 14:42:30
normalized

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

2015-05-06 14:28:42
unnormalized

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

2015-05-06 14:37:08
matches?

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

2015-05-06 14:24:07
to_s

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

2015-05-06 14:35:09