Package org.asciidoctor.ast
Interface Block
- All Superinterfaces:
ContentNode
,StructuralNode
- All Known Implementing Classes:
BlockImpl
-
Field Summary
Fields inherited from interface org.asciidoctor.ast.StructuralNode
SUBSTITUTION_ATTRIBUTES, SUBSTITUTION_MACROS, SUBSTITUTION_POST_REPLACEMENTS, SUBSTITUTION_QUOTES, SUBSTITUTION_REPLACEMENTS, SUBSTITUTION_SPECIAL_CHARACTERS
-
Method Summary
Methods inherited from interface org.asciidoctor.ast.ContentNode
addRole, context, document, getAttr, getAttr, getAttr, getAttribute, getAttribute, getAttribute, getAttributes, getContext, getDocument, getId, getNodeName, getParent, getReftext, getRole, getRoles, hasAttr, hasAttr, hasAttribute, hasAttribute, hasRole, iconUri, id, imageUri, imageUri, isAttr, isAttr, isAttribute, isAttribute, isBlock, isInline, isOption, isReftext, isRole, mediaUri, normalizeWebPath, parent, readAsset, removeRole, role, setAttr, setAttribute, setId
Methods inherited from interface org.asciidoctor.ast.StructuralNode
addSubstitution, append, blocks, content, convert, findBy, getBlocks, getCaption, getContent, getContentModel, getLevel, getSourceLocation, getStyle, getSubstitutions, getTitle, isSubstitutionEnabled, prependSubstitution, removeSubstitution, setCaption, setLevel, setStyle, setSubstitutions, setTitle, style, title
-
Method Details
-
lines
Deprecated.Please usegetLines()
- Returns:
- The original content of this block
-
getLines
- Returns:
- The original content of this block
-
setLines
Sets the source lines of the Block.- Parameters:
lines
- The source of this Block, substitutions will still be applied.
-
source
Deprecated.Please usegetSource()
- Returns:
- the String containing the lines joined together or null if there are no lines
-
getSource
String getSource()- Returns:
- the String containing the lines joined together or null if there are no lines
-
setSource
Sets the source of the Block.- Parameters:
source
- The source of this Block, substitutions will still be applied.
-
getLines()