Package org.asciidoctor.jruby.ast.impl
Class SectionImpl
java.lang.Object
org.asciidoctor.jruby.internal.RubyObjectWrapper
org.asciidoctor.jruby.ast.impl.ContentNodeImpl
org.asciidoctor.jruby.ast.impl.StructuralNodeImpl
org.asciidoctor.jruby.ast.impl.SectionImpl
- All Implemented Interfaces:
ContentNode,Section,StructuralNode
-
Field Summary
Fields inherited from class org.asciidoctor.jruby.internal.RubyObjectWrapper
rubyNode, runtimeFields inherited from interface org.asciidoctor.ast.StructuralNode
SUBSTITUTION_ATTRIBUTES, SUBSTITUTION_MACROS, SUBSTITUTION_POST_REPLACEMENTS, SUBSTITUTION_QUOTES, SUBSTITUTION_REPLACEMENTS, SUBSTITUTION_SPECIAL_CHARACTERS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.asciidoctor.jruby.ast.impl.StructuralNodeImpl
addSubstitution, append, blocks, content, convert, findBy, getBlocks, getCaption, getContent, getContentModel, getLevel, getSourceLocation, getStyle, getSubstitutions, getTitle, isSubstitutionEnabled, prependSubstitution, removeSubstitution, setCaption, setLevel, setStyle, setSubstitutions, setTitle, style, titleMethods inherited from class org.asciidoctor.jruby.ast.impl.ContentNodeImpl
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, setIdMethods inherited from class org.asciidoctor.jruby.internal.RubyObjectWrapper
getBoolean, getInt, getList, getProperty, getRubyObject, getRubyProperty, getRuntime, getString, getSymbol, setBoolean, setInt, setRubyProperty, setString, setSymbol, toJava, toJavaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, setIdMethods 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
-
Constructor Details
-
SectionImpl
public SectionImpl(org.jruby.runtime.builtin.IRubyObject blockDelegate)
-
-
Method Details
-
index
Deprecated. -
getIndex
public int getIndex() -
number
Deprecated. -
getNumber
Deprecated. -
getNumeral
Description copied from interface:SectionSection numeral. This is a roman numeral for book parts, arabic numeral for regular sections, and a letter for special sections.- Specified by:
getNumeralin interfaceSection- Returns:
- the section numeral
-
sectname
Deprecated. -
getSectionName
- Specified by:
getSectionNamein interfaceSection- Returns:
- the section name of this section
-
special
Deprecated. -
isSpecial
public boolean isSpecial() -
numbered
Deprecated. -
isNumbered
public boolean isNumbered()- Specified by:
isNumberedin interfaceSection- Returns:
- the state of the numbered attribute at this section (need to preserve for creating TOC)
-