Package org.ctan.markup.gfm.ext
Class NamedEntityNode
java.lang.Object
org.commonmark.node.Node
org.commonmark.node.CustomNode
org.ctan.markup.gfm.ext.NamedEntityNode
public final class NamedEntityNode
extends org.commonmark.node.CustomNode
AST node produced by
NamedEntityExtension for a named HTML entity
such as &TeX; or &.
The name field holds the bare entity name without the surrounding
& and ; delimiters.
-
Constructor Summary
ConstructorsConstructorDescriptionNamedEntityNode(String name) This is the constructor for the classNamedEntityNode. -
Method Summary
Methods inherited from class org.commonmark.node.CustomNode
acceptMethods inherited from class org.commonmark.node.Node
addSourceSpan, appendChild, getFirstChild, getLastChild, getNext, getParent, getPrevious, getSourceSpans, insertAfter, insertBefore, prependChild, setParent, setSourceSpans, toString, toStringAttributes, unlink
-
Constructor Details
-
NamedEntityNode
This is the constructor for the classNamedEntityNode.- Parameters:
name- the name of the entity
-
-
Method Details
-
getName
Returns the entity name without&/;(e.g."TeX").
-