Package org.asciidoctor.jruby.ast.impl
Class ContentNodeImpl
java.lang.Object
org.asciidoctor.jruby.internal.RubyObjectWrapper
org.asciidoctor.jruby.ast.impl.ContentNodeImpl
- All Implemented Interfaces:
ContentNode
- Direct Known Subclasses:
CellImpl,ColumnImpl,PhraseNodeImpl,StructuralNodeImpl
-
Field Summary
Fields inherited from class org.asciidoctor.jruby.internal.RubyObjectWrapper
rubyNode, runtime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontext()Deprecated.document()Deprecated.Deprecated.Deprecated.Deprecated.getAttribute(Object name) getAttribute(Object name, Object defaultValue) getAttribute(Object name, Object defaultValue, boolean inherit) getId()getRole()getRoles()booleanDeprecated.booleanDeprecated.booleanhasAttribute(Object name) booleanhasAttribute(Object name, boolean inherited) booleanid()Deprecated.booleanDeprecated.booleanDeprecated.booleanisAttribute(Object name, Object expected) booleanisAttribute(Object name, Object expected, boolean inherit) booleanisBlock()booleanisInline()booleanbooleanbooleanisRole()normalizeWebPath(String path, String start, boolean preserveUriTarget) parent()Deprecated.voidremoveRole(String role) role()Deprecated.booleanDeprecated.booleansetAttribute(Object name, Object value, boolean overwrite) voidMethods inherited from class org.asciidoctor.jruby.internal.RubyObjectWrapper
getBoolean, getInt, getList, getProperty, getRubyObject, getRubyProperty, getRuntime, getString, getSymbol, setBoolean, setInt, setRubyProperty, setString, setSymbol, toJava, toJava
-
Constructor Details
-
ContentNodeImpl
public ContentNodeImpl(org.jruby.runtime.builtin.IRubyObject rubyNode)
-
-
Method Details
-
id
Deprecated.- Specified by:
idin interfaceContentNode- Returns:
- A unique ID for this node
-
getId
- Specified by:
getIdin interfaceContentNode- Returns:
- A unique ID for this node
-
setId
- Specified by:
setIdin interfaceContentNode
-
context
Deprecated.- Specified by:
contextin interfaceContentNode
-
getContext
- Specified by:
getContextin interfaceContentNode
-
parent
Deprecated.- Specified by:
parentin interfaceContentNode
-
getParent
- Specified by:
getParentin interfaceContentNode
-
document
Deprecated.- Specified by:
documentin interfaceContentNode
-
getDocument
- Specified by:
getDocumentin interfaceContentNode
-
getNodeName
- Specified by:
getNodeNamein interfaceContentNode
-
isInline
public boolean isInline()- Specified by:
isInlinein interfaceContentNode
-
isBlock
public boolean isBlock()- Specified by:
isBlockin interfaceContentNode
-
getAttributes
- Specified by:
getAttributesin interfaceContentNode
-
getAttr
Deprecated.- Specified by:
getAttrin interfaceContentNode- Returns:
-
getAttr
Deprecated.- Specified by:
getAttrin interfaceContentNode- Returns:
-
getAttr
Deprecated.- Specified by:
getAttrin interfaceContentNode- Returns:
-
getAttribute
- Specified by:
getAttributein interfaceContentNode
-
getAttribute
- Specified by:
getAttributein interfaceContentNode
-
getAttribute
- Specified by:
getAttributein interfaceContentNode
-
isAttr
Deprecated.- Specified by:
isAttrin interfaceContentNode- Returns:
-
isAttr
Deprecated.- Specified by:
isAttrin interfaceContentNode- Returns:
-
isAttribute
- Specified by:
isAttributein interfaceContentNode- Returns:
-
isAttribute
- Specified by:
isAttributein interfaceContentNode- Returns:
-
hasAttr
Deprecated.- Specified by:
hasAttrin interfaceContentNode- Returns:
trueif this node or the document has an attribute with the given name
-
hasAttr
Deprecated.- Specified by:
hasAttrin interfaceContentNode- Returns:
trueif the current node or depending on the inherited parameter the document has an attribute with the given name.
-
hasAttribute
- Specified by:
hasAttributein interfaceContentNode- Returns:
trueif this node or the document has an attribute with the given name
-
hasAttribute
- Specified by:
hasAttributein interfaceContentNode- Returns:
trueif the current node or depending on the inherited parameter the document has an attribute with the given name.
-
setAttr
Deprecated.- Specified by:
setAttrin interfaceContentNode- Returns:
-
setAttribute
- Specified by:
setAttributein interfaceContentNode
-
isOption
- Specified by:
isOptionin interfaceContentNode
-
isRole
public boolean isRole()- Specified by:
isRolein interfaceContentNode
-
getRole
- Specified by:
getRolein interfaceContentNode
-
role
Deprecated.- Specified by:
rolein interfaceContentNode
-
getRoles
- Specified by:
getRolesin interfaceContentNode
-
hasRole
- Specified by:
hasRolein interfaceContentNode
-
addRole
- Specified by:
addRolein interfaceContentNode
-
removeRole
- Specified by:
removeRolein interfaceContentNode
-
isReftext
public boolean isReftext()- Specified by:
isReftextin interfaceContentNode
-
getReftext
- Specified by:
getReftextin interfaceContentNode
-
iconUri
- Specified by:
iconUriin interfaceContentNode
-
mediaUri
- Specified by:
mediaUriin interfaceContentNode
-
imageUri
- Specified by:
imageUriin interfaceContentNode
-
imageUri
- Specified by:
imageUriin interfaceContentNode
-
readAsset
- Specified by:
readAssetin interfaceContentNode
-
normalizeWebPath
- Specified by:
normalizeWebPathin interfaceContentNode
-