GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
XML_DTD_PARSER
+
Point of view
XML_PARSER
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
XML_PARSER
All features
class XML_DTD_PARSER
Summary
top
Parses a validation instruction in an XML file:
<!DOCTYPE . . .>
Direct parents
Insert list:
SINGLETON
,
URL_VALIDITY
,
XML_DTD_MEMORY
,
XML_PARSER_TOOLS
Overview
top
Creation features
make
Exported features
Error reporting
has_error
:
BOOLEAN
error_message
:
STRING
parse
(a_buffer:
UNICODE_PARSER_BUFFER
):
XML_DTD_VALIDATOR
line
:
INTEGER_32
column
:
INTEGER_32
is_separator
(unicode:
INTEGER_32
):
BOOLEAN
is_base_char
(unicode:
INTEGER_32
):
BOOLEAN
is_ideographic
(unicode:
INTEGER_32
):
BOOLEAN
is_combining_char
(unicode:
INTEGER_32
):
BOOLEAN
is_extender
(unicode:
INTEGER_32
):
BOOLEAN
is_letter
(unicode:
INTEGER_32
):
BOOLEAN
is_digit
(unicode:
INTEGER_32
):
BOOLEAN
is_equal
(other: XML_DTD_PARSER):
BOOLEAN
Is
other
attached to an object considered equal to current object?
valid_url
(a_url:
ABSTRACT_STRING
):
BOOLEAN
True if the
STRING
represents a real
URL
(i.e. with a known protocol and a valid URI for that protocol)
has_error
:
BOOLEAN
effective function
top
error_message
:
STRING
effective function
top
require
has_error
parse
(a_buffer:
UNICODE_PARSER_BUFFER
):
XML_DTD_VALIDATOR
effective function
top
require
a_buffer /= Void
line
:
INTEGER_32
effective function
top
column
:
INTEGER_32
effective function
top
is_separator
(unicode:
INTEGER_32
):
BOOLEAN
effective function
top
is_base_char
(unicode:
INTEGER_32
):
BOOLEAN
effective function
top
is_ideographic
(unicode:
INTEGER_32
):
BOOLEAN
effective function
top
is_combining_char
(unicode:
INTEGER_32
):
BOOLEAN
effective function
top
is_extender
(unicode:
INTEGER_32
):
BOOLEAN
effective function
top
is_letter
(unicode:
INTEGER_32
):
BOOLEAN
effective function
top
is_digit
(unicode:
INTEGER_32
):
BOOLEAN
effective function
top
is_equal
(other: XML_DTD_PARSER):
BOOLEAN
effective function
top
Is
other
attached to an object considered equal to current object?
require
other /= Void
ensure
commutative:
generating_type = other.generating_type implies Result = other.is_equal(Current)
valid_url
(a_url:
ABSTRACT_STRING
):
BOOLEAN
effective function
top
True if the
STRING
represents a real
URL
(i.e. with a known protocol and a valid URI for that protocol)
require
a_url /= Void