java.lang.Object
net.kyori.adventure.text.minimessage.internal.parser.node.ElementNode
net.kyori.adventure.text.minimessage.internal.parser.node.RootNode
All Implemented Interfaces:
Node, Node.Root

public final class RootNode extends ElementNode implements Node.Root
Represents the root node of a tree.
Since:
4.10.0
  • Constructor Details

    • RootNode

      public RootNode(String sourceMessage, String beforePreprocessing)
      Creates a new root node.
      Parameters:
      sourceMessage - the source message
      beforePreprocessing - the source message before handling preProcess tags
      Since:
      4.10.0
  • Method Details

    • input

      public String input()
      Description copied from interface: Node.Root
      Get the original provided message which produced this node.
      Specified by:
      input in interface Node.Root
      Returns:
      the input message