GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
XMLNS_PARSER
+
Point of view
XML_NAMESPACES
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
XML_PARSER
XML_NAMESPACES
All features
class XMLNS_PARSER
Summary
top
A namespace-aware XML parser
Direct parents
Inherit list:
XML_CALLBACKS
Insert list:
XML_NAMESPACES
Overview
top
Creation features
connect_to
(a_url:
URL
)
Connect to the given XML document
make
Create a not connected parser
Exported features
parse
(a_callbacks:
XMLNS_CALLBACKS
)
Parse an XML documents by sending parsing events to the given
callbacks
connect_to
(a_url:
URL
)
Connect to the given XML document
disconnect
is_connected
:
BOOLEAN
line
:
INTEGER_32
column
:
INTEGER_32
set_validator
(a_validator:
XMLNS_VALIDATOR
)
validator
:
XMLNS_VALIDATOR
register_namespace_action
(a_namespace:
UNICODE_STRING
, a_action:
PROCEDURE
[
TUPLE 2
[XMLNS_PARSER,
UNICODE_STRING
]])
parse
(a_callbacks:
XMLNS_CALLBACKS
)
effective procedure
top
Parse an XML documents by sending parsing events to the given
callbacks
require
is_connected
connect_to
(a_url:
URL
)
effective procedure
top
Connect to the given XML document
require
not
is_connected
a_url.is_connected implies a_url.read
disconnect
effective procedure
top
require
is_connected
ensure
not
is_connected
is_connected
:
BOOLEAN
effective function
top
line
:
INTEGER_32
effective function
top
column
:
INTEGER_32
effective function
top
set_validator
(a_validator:
XMLNS_VALIDATOR
)
effective procedure
top
validator
:
XMLNS_VALIDATOR
effective function
top
register_namespace_action
(a_namespace:
UNICODE_STRING
, a_action:
PROCEDURE
[
TUPLE 2
[XMLNS_PARSER,
UNICODE_STRING
]])
effective procedure
top