class XML_DTD_ELEMENT
Summary
Static description of a DTD element: structure (nested elements), attributes, data
Direct parents
Inherit list: BACKTRACKING_NODE
Insert list: BACKTRACKING_NODE_FILL, RECYCLABLE
Class invariant
Overview
Creation features
{XML_DTD_VALIDATOR}
Features
{ANY}
{XML_DTD_VALIDATOR}
  • build
    Prepare to build the element's structure
{XML_DTD_VALIDATOR, XML_DTD_NODE}
Data validation
{XML_DTD_VALIDATOR}
Tree validation
{XML_DTD_NODE}
Tree structure validation
{ANY}
The element's structure
{}
Building element's structure
{XML_DTD_VALIDATOR}
Multiplicity helpers
{}
Special nodes
{}
Adding attributes
{XML_DTD_VALIDATOR}
Constructor
{XML_DTD_VALIDATOR}
{RECYCLING_POOL}
  • recycle
    Do whatever needs to be done to free resources or recycle other objects when recycling this one
Memory management
{}
fill_tagged_out_memory
{}
{ANY}
{}
writable attribute
{ANY}
build
effective procedure
Prepare to build the element's structure
is_built: BOOLEAN
writable attribute
is_valid_attributes (xml_attributes: DICTIONARY[UNICODE_STRING, UNICODE_STRING]): BOOLEAN
effective function
is_valid_child (explorer: XML_DTD_VALIDATOR, node_name: UNICODE_STRING, children: FAST_ARRAY[XML_DTD_NODE]): BOOLEAN
effective function
require
  • explorer /= Void
  • children /= Void
  • is_built
is_valid_data (explorer: XML_DTD_VALIDATOR, data: UNICODE_STRING, children: FAST_ARRAY[XML_DTD_NODE]): BOOLEAN
effective function
require
  • explorer /= Void
  • children /= Void
  • is_built
explore (explorer: XML_DTD_VALIDATOR)
effective procedure
{ANY}
That feature must update the state of 'explorer'.
structure: BACKTRACKING_NODE
writable attribute
{}
the element's structure
building_stack: FAST_ARRAY[BACKTRACKING_NODE]
once function
{}
Used when building the element.
A once object is enough since we only build one element at a time.
build_pop
effective procedure
{}
build_add (a_node: BACKTRACKING_NODE)
effective procedure
{}
build_set_top (a_node: BACKTRACKING_NODE)
effective procedure
{}
ensure
build_top: BACKTRACKING_NODE
effective function
{}
close_fix
effective procedure
ensure
close_exactly_one
effective procedure
close_zero_or_one
effective procedure
close_zero_or_more
effective procedure
close_one_or_more
effective procedure
add_list
effective procedure
require ensure
add_alt
effective procedure
require ensure
child_pcdata
effective procedure
child_any
effective procedure
child_empty
effective procedure
child_one_or_more (elt: XML_DTD_ELEMENT)
effective procedure
child_zero_or_more (elt: XML_DTD_ELEMENT)
effective procedure
child_zero_or_one (elt: XML_DTD_ELEMENT)
effective procedure
child_exactly_one (elt: XML_DTD_ELEMENT)
effective procedure
commit
effective procedure
require ensure
one_or_more_node (a_node: BACKTRACKING_NODE): BACKTRACKING_NODE
effective function
{}
zero_or_more_node (a_node: BACKTRACKING_NODE): BACKTRACKING_NODE
effective function
{}
zero_or_one_node (a_node: BACKTRACKING_NODE): BACKTRACKING_NODE
effective function
{}
node_and_end (a_node: BACKTRACKING_NODE): BACKTRACKING_NODE
effective function
{}
any_node: XML_DTD_ANY_NODE
once function
{}
empty_node: XML_DTD_EMPTY_NODE
once function
{}
end_node: XML_DTD_END_NODE
once function
{}
pcdata_node: XML_DTD_PCDATA_NODE
once function
{}
current_attribute: XML_DTD_ATTRIBUTE
writable attribute
building_attlist: BOOLEAN
effective function
adding_attlist (attribute_name: UNICODE_STRING): BOOLEAN
effective function
ensure
has_attlist (attribute_name: UNICODE_STRING): BOOLEAN
effective function
add_attlist (attribute_name: UNICODE_STRING)
effective procedure
require ensure
commit_attlist (attribute_name: UNICODE_STRING)
effective procedure
require ensure
attlist_list_value (value: UNICODE_STRING)
effective procedure
attlist_cdata
effective procedure
attlist_id
effective procedure
attlist_idref
effective procedure
attlist_idrefs
effective procedure
attlist_nmtoken
effective procedure
attlist_nmtokens
effective procedure
attlist_entity
effective procedure
attlist_entities
effective procedure
attlist_notation
effective procedure
attlist_required
effective procedure
attlist_implied
effective procedure
attlist_valid_fixed (value: UNICODE_STRING): BOOLEAN
effective function
attlist_fixed (value: UNICODE_STRING)
effective procedure
attlist_default_value (value: UNICODE_STRING)
effective procedure
make (a_name: UNICODE_STRING)
effective procedure
require
  • not a_name.is_empty
ensure
recycle
effective procedure
Do whatever needs to be done to free resources or recycle other objects when recycling this one
ensure
once function
{}
recycle_attributes
effective procedure
{}
ensure
do_fill_tagged_out_memory
effective procedure
{}
fill_tagged_out_memory
effective procedure
{ANY}
Append a viewable information in tagged_out_memory in order to affect the behavior of out, tagged_out, etc.
require
  • locked: tagged_out_locked
ensure
  • still_locked: tagged_out_locked
fill_tagged_out_memory_flag: BOOLEAN
writable attribute
{}