Package snap.util
Class MDNode
java.lang.Object
snap.util.MDNode
This class represents a Markdown node.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addChildNode
(MDNode aNode) Adds a child node.MDNode[]
Returns the child nodes.protected static MDNode
getMixedNodeForNode
(MDNode aNode) Returns a mixable node for given node.Returns the node type.Returns the other text.getText()
Returns the text.protected void
setChildNodes
(MDNode[] nodesArray) Sets the child nodes.void
setOtherText
(String otherText) Sets the other text.toString()
Standard toString implementation.
-
Field Details
-
_nodeType
-
_text
-
_childNodes
-
-
Constructor Details
-
MDNode
Constructor.
-
-
Method Details
-
getNodeType
Returns the node type. -
getText
Returns the text. -
getOtherText
Returns the other text. -
setOtherText
Sets the other text. -
getChildNodes
Returns the child nodes. -
setChildNodes
Sets the child nodes. -
addChildNode
Adds a child node. -
getMixedNodeForNode
Returns a mixable node for given node. -
toString
Standard toString implementation.
-