public class StructuralNodeImpl extends ContentNodeImpl implements StructuralNode
rubyNode, runtime| Constructor and Description |
|---|
StructuralNodeImpl(org.jruby.runtime.builtin.IRubyObject blockDelegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(StructuralNode block)
Appends a new child block as the last block to this block.
|
java.util.List<StructuralNode> |
blocks() |
java.lang.Object |
content() |
java.lang.String |
convert() |
java.util.List<StructuralNode> |
findBy(java.util.Map<java.lang.Object,java.lang.Object> selector) |
java.util.List<StructuralNode> |
getBlocks() |
java.lang.Object |
getContent() |
int |
getLevel() |
Cursor |
getSourceLocation()
Returns the source location of this block.
|
java.lang.String |
getStyle() |
java.lang.String |
getTitle() |
void |
setTitle(java.lang.String title) |
java.lang.String |
style() |
java.lang.String |
title() |
addRole, context, document, getAttr, getAttr, getAttr, getAttributes, getContext, getDocument, getId, getNodeName, getParent, getReftext, getRole, getRoles, hasRole, iconUri, id, imageUri, imageUri, isAttr, isAttr, isBlock, isInline, isOption, isReftext, isRole, mediaUri, normalizeWebPath, parent, readAsset, removeRole, role, setAttr, setIdgetBoolean, getInt, getList, getProperty, getRubyObject, getRubyProperty, getRuntime, getString, getSymbol, setRubyProperty, setString, setSymbol, toJava, toJavaclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRole, context, document, getAttr, getAttr, getAttr, getAttributes, getContext, getDocument, getId, getNodeName, getParent, getReftext, getRole, getRoles, hasRole, iconUri, id, imageUri, imageUri, isAttr, isAttr, isBlock, isInline, isOption, isReftext, isRole, mediaUri, normalizeWebPath, parent, readAsset, removeRole, role, setAttr, setIdpublic StructuralNodeImpl(org.jruby.runtime.builtin.IRubyObject blockDelegate)
public java.lang.String title()
title in interface StructuralNodepublic java.lang.String getTitle()
getTitle in interface StructuralNodepublic void setTitle(java.lang.String title)
setTitle in interface StructuralNodepublic java.lang.String style()
style in interface StructuralNodepublic java.lang.String getStyle()
getStyle in interface StructuralNodepublic java.util.List<StructuralNode> blocks()
blocks in interface StructuralNodepublic java.util.List<StructuralNode> getBlocks()
getBlocks in interface StructuralNodepublic void append(StructuralNode block)
StructuralNodeappend in interface StructuralNodeblock - The new child block added as last child to this block.public java.lang.Object content()
content in interface StructuralNodepublic java.lang.Object getContent()
getContent in interface StructuralNodepublic java.lang.String convert()
convert in interface StructuralNodepublic int getLevel()
getLevel in interface StructuralNodepublic Cursor getSourceLocation()
StructuralNodesourcemap option is enabled when loading or rendering the document.getSourceLocation in interface StructuralNodenull if the sourcemap option is not enabled when loading the document.public java.util.List<StructuralNode> findBy(java.util.Map<java.lang.Object,java.lang.Object> selector)
findBy in interface StructuralNode