Methods
- N
- P
- T
- W
Constants
START | = | "<!NOTATION" |
START_RE | = | /^\s*#{START}/um |
PUBLIC | = | /^\s*#{START}\s+(\w[\w-]*)\s+(PUBLIC)\s+((["']).*?\4)\s*>/um |
SYSTEM | = | /^\s*#{START}\s+(\w[\w-]*)\s+(SYSTEM)\s+((["']).*?\4)\s*>/um |
Class Public methods
new(src)
Link
# File lib/rexml/dtd/notationdecl.rb, line 9 def initialize src super() if src.match( PUBLIC ) md = src.match( PUBLIC, true ) elsif src.match( SYSTEM ) md = src.match( SYSTEM, true ) else raise ParseException.new( "error parsing notation: no matching pattern", src ) end @name = md[1] @middle = md[2] @rest = md[3] end
parse_source(source, listener)
Link
Instance Public methods
to_s()
Link