Package org.asciidoctor.jruby.ast.impl
Class NodeConverter
- java.lang.Object
-
- org.asciidoctor.jruby.ast.impl.NodeConverter
-
public final class NodeConverter extends java.lang.Object
A library class that allows to convert nodes from Asciidoctor Ruby to its AsciidoctorJRuby counterparts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeConverter.NodeType
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.jruby.runtime.builtin.IRubyObject
asRubyObject(java.lang.Object o)
static ContentNode
createASTNode(java.lang.Object object)
static ContentNode
createASTNode(org.jruby.Ruby runtime, NodeConverter.NodeType nodeType, org.jruby.runtime.builtin.IRubyObject... args)
-
-
-
Method Detail
-
createASTNode
public static ContentNode createASTNode(org.jruby.Ruby runtime, NodeConverter.NodeType nodeType, org.jruby.runtime.builtin.IRubyObject... args)
-
createASTNode
public static ContentNode createASTNode(java.lang.Object object)
-
asRubyObject
public static org.jruby.runtime.builtin.IRubyObject asRubyObject(java.lang.Object o)
-
-