public class Document extends AbstractBlockImpl implements DocumentRuby
delegate
abstractNode, runtime
Constructor and Description |
---|
Document(DocumentRuby documentRuby,
org.jruby.Ruby runtime) |
Modifier and Type | Method and Description |
---|---|
boolean |
basebackend(java.lang.String backend) |
java.lang.String |
doctitle()
Get doc title
|
java.lang.Object |
doctitle(java.util.Map<java.lang.Object,java.lang.Object> opts)
Get doc title
|
DocumentRuby |
getDocumentRuby() |
java.util.Map<java.lang.Object,java.lang.Object> |
getOptions() |
blocks, content, convert, delegate, findBy, getBlocks, getCaption, getContent, getLevel, getNodeName, getSections, getStyle, getTitle, isBlocks, isSections, isTitle, style, title
context, document, getAttr, getAttr, getAttr, getAttributes, getContext, getDocument, getParent, getReftext, getRole, getRoles, hasRole, iconUri, id, imageUri, imageUri, isAttr, isAttr, isBlock, isInline, isOption, isReftext, isRole, listMarkerKeyword, listMarkerKeyword, mediaUri, normalizeWebPath, parent, readAsset, role, setAttr
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
blocks, getAttributes, title
content, convert, delegate, findBy, getBlocks, getContent, getLevel, getStyle, getTitle, style
context, document, getAttr, getAttr, getAttr, getContext, getDocument, getNodeName, getParent, getReftext, getRole, getRoles, hasRole, iconUri, id, imageUri, imageUri, isAttr, isAttr, isBlock, isInline, isOption, isReftext, isRole, listMarkerKeyword, listMarkerKeyword, mediaUri, normalizeWebPath, parent, readAsset, role, setAttr
public Document(DocumentRuby documentRuby, org.jruby.Ruby runtime)
public DocumentRuby getDocumentRuby()
public boolean basebackend(java.lang.String backend)
basebackend
in interface DocumentRuby
public java.util.Map<java.lang.Object,java.lang.Object> getOptions()
getOptions
in interface DocumentRuby
public java.lang.Object doctitle(java.util.Map<java.lang.Object,java.lang.Object> opts)
DocumentRuby
doctitle
in interface DocumentRuby
opts
- to get the doc title. Key should be Ruby symbols.Title
public java.lang.String doctitle()
DocumentRuby
doctitle
in interface DocumentRuby
Title