Asciidoctor::AbstractNode
Inherits Asciidoctor::Logging < Reference < Object
An abstract base class that provides state and methods for managing a node of AsciiDoc content. The state and methods on this class are common to all content segments in an AsciiDoc document.
Constructors
Instance methods
Get the value of the specified attribute. If the attribute is not found on this node, fallback_name is set, and this node is not the Document node, get the value from the Document node.
Check if the specified attribute is defined, optionally performing a comparison with the expected value.
Checks if the specified role is present in the list of roles for this node.
Construct a URI reference to the target image.
Check if the specified string is a URI by checking for a URI scheme.
Construct a URI reference to the target media.
Resolve and normalize a system path from the target and start paths.
Resolve and normalize a web path from the target and start paths.
Check if the specified option attribute is enabled on the current node.
Checks if the role attribute is set on this node and, if an expected value is given, whether the space-separated role matches that value.
Assign the value to the attribute name for the current node.