Class ArchParseState

Table of contents Index

# class ArchParseState - Class representing parsing state with regard to XML architectures.

Declared in module xml.arch.xmlarch

## Synopsis

    class ArchParseState:
        def __init__(self, parent=None) # Initialize a new instance.
        def add_CONTENT_attribute(self, attr) # Add an attribute as a target of the mapping of the content.
        def add_CONTENT_value(self, CONTENT_value) # Add value to mapped #CONTENT content.
        def get_ARCCONT_value(self) # Get mapped #ARCCONT content.
        def get_CONTENT_value(self) # Get mapped #CONTENT content.
        def get_attributes(self) # Get the attributes.
        def get_elem_form(self) # Get the element form
        def get_ignore_data(self) # Get the ignore data state.
        def get_parent(self) # Get the parent state.
        def get_parent_suppression(self) # Get the suppression state of the parent.
        def get_renamer(self) # Get the renamer.
        def get_seen_id(self) # Get the seen id flag.
        def get_suppression(self) # Get the suppression state.
        def is_ARCCONT_active(self) # Returns true if an attribute value should be mapped to content.
        def is_CONTENT_active(self) # Returns true if content should be mapped to attribute(s).
        def set_ARCCONT_value(self, ARCCONT_value) # Set mapped #ARCCONT content.
        def set_CONTENT_attribute_value(self, attr, value)
        def set_attribute_value(self, attribute, value) # Set a attribute value.
        def set_attributes(self, attributes) # Set the attributes.
        def set_elem_form(self, elem_form) # Set the element form.
        def set_ignore_data(self, ignore_data) # Set the ignore data state.
        def set_parent(self, parent) # Set the parent state.
        def set_renamer(self, renamer) # Set the renamer.
        def set_seen_id(self, seen_id) # Set the seen id flag.
        def set_suppression(self, suppression) # Set a new suppression state.

| Author: Geir Ove Gr\370nmo Version: 0.20