Constructor and Description |
---|
Comment(String text) |
Comment(Token token) |
Modifier and Type | Method and 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–2021. All rights reserved.