Package snap.util

Class MDNode

java.lang.Object
snap.util.MDNode

public class MDNode extends Object
This class represents a Markdown node.
  • Field Details

  • Constructor Details

  • Method Details

    • getNodeType

      public MDNode.NodeType getNodeType()
      Returns the node type.
    • getText

      public String getText()
      Returns the text.
    • getOtherText

      public String getOtherText()
      Returns the other text.
    • setOtherText

      public void setOtherText(String otherText)
      Sets the other text.
    • getChildNodes

      public MDNode[] getChildNodes()
      Returns the child nodes.
    • setChildNodes

      protected void setChildNodes(MDNode[] nodesArray)
      Sets the child nodes.
    • addChildNode

      protected void addChildNode(MDNode aNode)
      Adds a child node.
    • getMixedNodeForNode

      protected static MDNode getMixedNodeForNode(MDNode aNode)
      Returns a mixable node for given node.
    • toString

      public String toString()
      Standard toString implementation.
      Overrides:
      toString in class Object