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) |
java.lang.String |
doctitle() |
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) |
addSubstitution, append, blocks, content, convert, findBy, getBlocks, getContent, getContentModel, getLevel, getSourceLocation, getStyle, getSubstitutions, getTitle, isSubstitutionEnabled, prependSubstitution, removeSubstitution, 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, setRubyProperty, setString, setSymbol, toJava, toJavaclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitblocks, getAttributes, titleaddSubstitution, append, content, convert, findBy, getBlocks, getContent, getContentModel, getLevel, getSourceLocation, getStyle, getSubstitutions, getTitle, isSubstitutionEnabled, prependSubstitution, removeSubstitution, setStyle, setSubstitutions, setTitle, styleaddRole, context, document, getAttr, getAttr, getAttr, getAttribute, getAttribute, getAttribute, 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 Documentpublic 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 DocumentTitlepublic 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 Document