class XML_DTD_ELEMENT
Summary
Class invariant
Overview
creation features
features
  • build
    Prepare to build the element's structure
Data validation
Tree validation
Tree structure validation
The element's structure
Building element's structure
Multiplicity helpers
Special nodes
Adding attributes
Constructor
  • recycle
    Do whatever needs to be done to free resources or recycle other objects when recycling this one
Memory management
name: STRING
writable attribute
out_in_tagged_out_memory
effective procedure
Append terse printable represention of current object in tagged_out_memory.
build
effective procedure
Prepare to build the element's structure
is_built: BOOLEAN
writable attribute
is_valid_attributes (xml_attributes: DICTIONARY[STRING, STRING]): BOOLEAN
effective function
is_valid_child (explorer: XML_DTD_VALIDATOR, node_name: STRING, children: FAST_ARRAY[XML_DTD_NODE]): BOOLEAN
effective function
is_valid_data (explorer: XML_DTD_VALIDATOR, data: STRING, children: FAST_ARRAY[XML_DTD_NODE]): BOOLEAN
effective function
explore (explorer: XML_DTD_VALIDATOR)
effective procedure
That feature must update the state of 'explorer'.
structure: BACKTRACKING_NODE
writable attribute
the element's structure
once function
used during construction a once array is enough since we build one element at a time
current_list_root_memory: REFERENCE[BACKTRACKING_NODE_AND_LIST]
once function
current_list_root: BACKTRACKING_NODE_AND_LIST
effective function
the last link of the current list
set_current_list_root (a_current_list_root: BACKTRACKING_NODE_AND_LIST)
effective procedure
current_list_memory: REFERENCE[BACKTRACKING_NODE_AND_LIST]
once function
effective function
the last link of the current list
set_current_list (a_current_list: BACKTRACKING_NODE_AND_LIST)
effective procedure
current_alt_memory: REFERENCE[BACKTRACKING_NODE_OR_LIST]
once function
effective function
set_current_alt (a_current_alt: BACKTRACKING_NODE_OR_LIST)
effective procedure
alt_is_last_of (node: BACKTRACKING_NODE, alt: BACKTRACKING_NODE_OR_LIST): BOOLEAN
effective function
node_in_current_list_or_alt: BACKTRACKING_NODE
effective function
set_node_in_current_list_or_alt (new_node: BACKTRACKING_NODE)
effective procedure
list_depth: INTEGER_32
effective function
open_list
effective procedure
close_list
effective procedure
child (element: XML_DTD_ELEMENT)
effective procedure
alternative_child (element: XML_DTD_ELEMENT)
effective procedure
one_or_more
effective procedure
zero_or_more
effective procedure
zero_or_one
effective procedure
exactly_one
effective procedure
pcdata (alternative: BOOLEAN)
effective procedure
any
effective procedure
empty
effective procedure
commit
effective procedure
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
writable attribute
current_attribute: XML_DTD_ATTRIBUTE
writable attribute
building_attlist: BOOLEAN
effective function
adding_attlist (attribute_name: STRING): BOOLEAN
effective function
has_attlist (attribute_name: STRING): BOOLEAN
effective function
add_attlist (attribute_name: STRING)
effective procedure
commit_attlist (attribute_name: STRING)
effective procedure
attlist_list_value (value: 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_fixed (value: STRING)
effective procedure
attlist_default_value (value: STRING)
effective procedure
make (a_name: STRING)
effective procedure
recycle
effective procedure
Do whatever needs to be done to free resources or recycle other objects when recycling this one
once function
recycle_attributes
effective procedure