InlineGraphic#

class pyconverter.xml2py.ast_tree.InlineGraphic(element, parse_children=True)#

Provides the inline graphic element.

Methods

InlineGraphic.fileref()

File reference.

InlineGraphic.find(_type[, terms])

Find the first type matching a given type string.

InlineGraphic.find_all(_type[, recursive, terms])

Find all types matching a given type string.

InlineGraphic.get(entry)

Get an item from an element.

InlineGraphic.has_children()

Return wether the element has children.

InlineGraphic.print_tree()

Print the tree.

InlineGraphic.rec_find(_type[, terms])

Find the first type matching a given type string recursively.

InlineGraphic.to_rst([prefix, links, ...])

Return a string to enable converting the element to an RST format.

InlineGraphic.types_repr()

Return the string types.

Attributes

InlineGraphic.added

Has the revision flag added.

InlineGraphic.any_isalnum

Returns True if any characters are alphanumeric.

InlineGraphic.children

Children of the tree.

InlineGraphic.content

Text content.

InlineGraphic.id

ID of the element.

InlineGraphic.next_elem

Next element.

InlineGraphic.prev_elem

Previous element.

InlineGraphic.raw

Raw string of the element.

InlineGraphic.tag

Element tag.

InlineGraphic.tail

Tail of the element as a string.

InlineGraphic.text_content

Text content.

InlineGraphic.title

Element title.

InlineGraphic.tostring

Attributes of the element as a dictionary.