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

    Constructors
    Constructor
    Description
    This is the constructor for the class NamedEntityNode.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the entity name without & / ; (e.g.

    Methods inherited from class org.commonmark.node.CustomNode

    accept

    Methods inherited from class org.commonmark.node.Node

    addSourceSpan, appendChild, getFirstChild, getLastChild, getNext, getParent, getPrevious, getSourceSpans, insertAfter, insertBefore, prependChild, setParent, setSourceSpans, toString, toStringAttributes, unlink

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NamedEntityNode

      public NamedEntityNode(String name)
      This is the constructor for the class NamedEntityNode.
      Parameters:
      name - the name of the entity
  • Method Details

    • getName

      public String getName()
      Returns the entity name without & / ; (e.g. "TeX").