Constructor | Description |
---|---|
Comment(Token token) |
|
Comment(String text) |
Modifier and Type | Method | Description |
---|---|---|
Comment |
copy() |
Simulate clone()
|
Comment |
createClone() |
Simulate clone()
|
String |
getText() |
Get the text from the node
|
Comment |
setText(String text) |
Change the text of the node.
|
public Comment setText(String text)
TextNode
public String getText()
TextNode
public Comment createClone()
Node
createClone
in interface Node
createClone
in class BasicNode
Copyright © 2008–2019. All rights reserved.