def __init__(self, ownerDoc, tagName): BaseContainerNode.__init__(self, ownerDoc, tagName) #add the groups self._allowedSvgChildNodes.update(self.SVG_GROUP_ANIMATION_ELEMENTS, self.SVG_GROUP_DESCRIPTIVE_ELEMENTS, self.SVG_GROUP_SHAPE_ELEMENTS, self.SVG_GROUP_STRUCTURAL_ELEMENTS, self.SVG_GROUP_GRADIENT_ELEMENTS) #add the individual nodes self._allowedSvgChildNodes.update({self.SVG_A_NODE, self.SVG_ALT_GLYPH_DEF_NODE, self.SVG_CLIP_PATH_NODE, self.SVG_COLOR_PROFILE_NODE, self.SVG_CURSOR_NODE, self.SVG_FILTER_NODE, self.SVG_FONT_NODE, self.SVG_FONT_FACE_NODE, self.SVG_FOREIGN_OBJECT_NODE, self.SVG_IMAGE_NODE, self.SVG_MARKER_NODE, self.SVG_MASK_NODE, self.SVG_PATTERN_NODE, self.SVG_SCRIPT_NODE, self.SVG_STYLE_NODE, self.SVG_SWITCH_NODE, self.SVG_TEXT_NODE, self.SVG_VIEW_NODE})
def __init__(self, ownerDoc): BaseContainerNode.__init__(self, ownerDoc, 'switch') ConditionalProcessingAttributes.__init__(self) GraphicalEventAttributes.__init__(self) #add groups self._allowedSvgChildNodes.update(self.SVG_GROUP_ANIMATION_ELEMENTS, self.SVG_GROUP_DESCRIPTIVE_ELEMENTS, self.SVG_GROUP_SHAPE_ELEMENTS) #add indivudual elements self._allowedSvgChildNodes.update({self.SVG_A_NODE, self.SVG_FOREIGN_OBJECT_NODE, self.SVG_G_NODE, self.SVG_IMAGE_NODE, self.SVG_SVG_NODE, self.SVG_SWITCH_NODE, self.SVG_TEXT_NODE, self.SVG_USE_NODE})
def __init__(self, ownerDoc): BaseContainerNode.__init__(self, ownerDoc, 'a') ConditionalProcessingAttributes.__init__(self) GraphicalEventAttributes.__init__(self) XlinkAttributes.__init__(self) #add groups self._allowedSvgChildNodes.update(self.SVG_GROUP_ANIMATION_ELEMENTS, self.SVG_GROUP_DESCRIPTIVE_ELEMENTS, self.SVG_GROUP_SHAPE_ELEMENTS, self.SVG_GROUP_STRUCTURAL_ELEMENTS, self.SVG_GROUP_GRADIENT_ELEMENTS) #add individual nodes self._allowedSvgChildNodes.update({self.SVG_A_NODE, self.SVG_ALT_GLYPH_DEF_NODE, self.SVG_CLIP_PATH_NODE, self.SVG_COLOR_PROFILE_NODE, self.SVG_CURSOR_NODE, self.SVG_FILTER_NODE, self.SVG_FONT_NODE, self.SVG_FONT_FACE_NODE, self.SVG_FOREIGN_OBJECT_NODE, self.SVG_IMAGE_NODE, self.SVG_MARKER_NODE, self.SVG_MASK_NODE, self.SVG_PATTERN_NODE, self.SVG_SCRIPT_NODE, self.SVG_STYLE_NODE, self.SVG_SWITCH_NODE, self.SVG_TEXT_NODE, self.SVG_VIEW_NODE})
def __init__(self, ownerDoc): BaseContainerNode.__init__(self, ownerDoc, 'switch') ConditionalProcessingAttributes.__init__(self) GraphicalEventAttributes.__init__(self) #add groups self._allowedSvgChildNodes.update(self.SVG_GROUP_ANIMATION_ELEMENTS, self.SVG_GROUP_DESCRIPTIVE_ELEMENTS, self.SVG_GROUP_SHAPE_ELEMENTS) #add indivudual elements self._allowedSvgChildNodes.update({ self.SVG_A_NODE, self.SVG_FOREIGN_OBJECT_NODE, self.SVG_G_NODE, self.SVG_IMAGE_NODE, self.SVG_SVG_NODE, self.SVG_SWITCH_NODE, self.SVG_TEXT_NODE, self.SVG_USE_NODE })
def __init__(self, ownderDoc): BaseContainerNode.__init__(self, ownderDoc, 'marker') #add the groups self._allowedSvgChildNodes.update(self.SVG_GROUP_ANIMATION_ELEMENTS, self.SVG_GROUP_DESCRIPTIVE_ELEMENTS, self.SVG_GROUP_SHAPE_ELEMENTS, self.SVG_GROUP_STRUCTURAL_ELEMENTS, self.SVG_GROUP_GRADIENT_ELEMENTS) #add the individual nodes self._allowedSvgChildNodes.update({ self.SVG_A_NODE, self.SVG_ALT_GLYPH_DEF_NODE, self.SVG_CLIP_PATH_NODE, self.SVG_COLOR_PROFILE_NODE, self.SVG_CURSOR_NODE, self.SVG_FILTER_NODE, self.SVG_FONT_NODE, self.SVG_FONT_FACE_NODE, self.SVG_FOREIGN_OBJECT_NODE, self.SVG_IMAGE_NODE, self.SVG_MARKER_NODE, self.SVG_MASK_NODE, self.SVG_PATTERN_NODE, self.SVG_SCRIPT_NODE, self.SVG_STYLE_NODE, self.SVG_SWITCH_NODE, self.SVG_TEXT_NODE, self.SVG_VIEW_NODE })
def __init__(self, ownerDoc): BaseContainerNode.__init__(self, ownerDoc, 'a') ConditionalProcessingAttributes.__init__(self) GraphicalEventAttributes.__init__(self) XlinkAttributes.__init__(self) #add groups self._allowedSvgChildNodes.update(self.SVG_GROUP_ANIMATION_ELEMENTS, self.SVG_GROUP_DESCRIPTIVE_ELEMENTS, self.SVG_GROUP_SHAPE_ELEMENTS, self.SVG_GROUP_STRUCTURAL_ELEMENTS, self.SVG_GROUP_GRADIENT_ELEMENTS) #add individual nodes self._allowedSvgChildNodes.update({ self.SVG_A_NODE, self.SVG_ALT_GLYPH_DEF_NODE, self.SVG_CLIP_PATH_NODE, self.SVG_COLOR_PROFILE_NODE, self.SVG_CURSOR_NODE, self.SVG_FILTER_NODE, self.SVG_FONT_NODE, self.SVG_FONT_FACE_NODE, self.SVG_FOREIGN_OBJECT_NODE, self.SVG_IMAGE_NODE, self.SVG_MARKER_NODE, self.SVG_MASK_NODE, self.SVG_PATTERN_NODE, self.SVG_SCRIPT_NODE, self.SVG_STYLE_NODE, self.SVG_SWITCH_NODE, self.SVG_TEXT_NODE, self.SVG_VIEW_NODE })