public class DocumentImpl extends StructuralNodeImpl implements Document
rubyNode, runtimeSUBSTITUTION_ATTRIBUTES, SUBSTITUTION_MACROS, SUBSTITUTION_POST_REPLACEMENTS, SUBSTITUTION_QUOTES, SUBSTITUTION_REPLACEMENTS, SUBSTITUTION_SPECIAL_CHARACTERS| Constructor and Description |
|---|
DocumentImpl(org.jruby.runtime.builtin.IRubyObject document) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
basebackend(java.lang.String backend)
Deprecated.
|
java.lang.String |
doctitle()
Deprecated.
|
int |
getAndIncrementCounter(java.lang.String name)
Gets the current counter with the given name and increases its value.
|
int |
getAndIncrementCounter(java.lang.String name,
int initialValue)
Gets the current counter with the given name and increases its value.
|
java.lang.String |
getDoctitle() |
java.util.Map<java.lang.Object,java.lang.Object> |
getOptions() |
Title |
getStructuredDoctitle() |
boolean |
isBasebackend(java.lang.String backend) |
boolean |
isSourcemap() |
void |
setSourcemap(boolean state)
Toggles the sourcemap option.
|
addSubstitution, append, blocks, content, convert, findBy, getBlocks, getCaption, getContent, getContentModel, getLevel, getSourceLocation, getStyle, getSubstitutions, getTitle, isSubstitutionEnabled, prependSubstitution, removeSubstitution, setCaption, setStyle, setSubstitutions, setTitle, style, titleaddRole, 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, setIdgetBoolean, getInt, getList, getProperty, getRubyObject, getRubyProperty, getRuntime, getString, getSymbol, setBoolean, setRubyProperty, setString, setSymbol, toJava, toJavaclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSubstitution, append, blocks, content, convert, findBy, getBlocks, getCaption, getContent, getContentModel, getLevel, getSourceLocation, getStyle, getSubstitutions, getTitle, isSubstitutionEnabled, prependSubstitution, removeSubstitution, setCaption, setStyle, setSubstitutions, setTitle, style, titleaddRole, 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, setIdpublic boolean isBasebackend(java.lang.String backend)
isBasebackend in interface Document@Deprecated public boolean basebackend(java.lang.String backend)
basebackend in interface Documentpublic java.util.Map<java.lang.Object,java.lang.Object> getOptions()
getOptions in interface Documentpublic Title getStructuredDoctitle()
getStructuredDoctitle in interface DocumentTitlepublic java.lang.String getDoctitle()
getDoctitle in interface DocumentTitle@Deprecated public java.lang.String doctitle()
public int getAndIncrementCounter(java.lang.String name)
DocumentgetAndIncrementCounter in interface Documentpublic int getAndIncrementCounter(java.lang.String name,
int initialValue)
DocumentgetAndIncrementCounter in interface Documentpublic boolean isSourcemap()
isSourcemap in interface Documentpublic void setSourcemap(boolean state)
DocumentsetSourcemap in interface Documentstate - The state in which to put the sourcemap (true = on, false = off).